Wiki source code of 06 - Setup

Version 13.1 by Eric Nantel on 2022/04/29 06:56

Show last authors
1 {{stepNavigation nextStepName="Return" previousStepURL="https://wiki.lynxmotion.com/info/wiki/lynxmotion/view/rover-kits/a4wd3-mecanum/a4wd3-mecanum-quickstart/a4wd3-mecanum-wheels/" nextStepURL="https://wiki.lynxmotion.com/info/wiki/lynxmotion/view/rover-kits/a4wd3-mecanum/a4wd3-mecanum-quickstart/" pageTitle="A4WD3 Mecanum - Setup"/}}
2
3 {{warningBox warningText="CAUTION: Before powering the motors, ensure they rotate in the same direction on each side. If the wiring between the motors and the Sabertooth was done correctly, the motors on each side of the robot should rotate in the same direction.
4
5 If you are at all uncertain, it is safest to remove the sprockets and test the motors. If they rotate in opposite directions, the wiring to the Sabertooth needs to be corrected."/}}
6
7 (% style="width:710px" %)
8 |(% colspan="4" %)**1. Set the Sabertooth DIP Switches for your needs**
9 |(% style="width:35px" %) |(% style="text-align:center; width:350px" %)Sabertooth 2 x 12A Standard|(% style="width:35px" %) |(% style="text-align:center" %)Typical Setup
10 | |(% colspan="1" rowspan="6" style="text-align:center; vertical-align:middle" %)[[image:Sabertooth-2x12-DIP-Mecanum.png]]|(% style="text-align:center; vertical-align:middle" %)1|(% style="text-align:left; vertical-align:middle" %)OFF (Enable RC Mode)
11 | |(% style="text-align:center; vertical-align:middle" %)2|(% style="text-align:left; vertical-align:middle" %)ON (Enable RC Mode)
12 | |(% style="text-align:center; vertical-align:middle" %)3|(% style="text-align:left; vertical-align:middle" %)OFF (Lithium Battery Mode)
13 | |(% style="text-align:center; vertical-align:middle" %)4|(% style="text-align:left; vertical-align:middle" %)OFF ( Enable Independent Mode)
14 | |(% style="text-align:center; vertical-align:middle" %)5|(% style="text-align:left; vertical-align:middle" %)ON (Disable Exponential)
15 | |(% style="text-align:center; vertical-align:middle" %)6|(% style="text-align:left; vertical-align:middle" %)OFF (Disable Timeout)
16 | |(% colspan="3" rowspan="1" style="vertical-align:middle" %)[[Sabertooth 2x12 - Dip Switch Wizard>>https://www.dimensionengineering.com/datasheets/SabertoothDIPWizard/start.htm]]
17 | |(% colspan="3" rowspan="1" style="vertical-align:middle" %)[[Sabertooth 2x12 - User Guide>>https://www.dimensionengineering.com/datasheets/Sabertooth2x12.pdf]]
18 |(% colspan="4" %)**2. Connect the Sabertooth to your Microcontroller**
19 | |(% colspan="1" rowspan="9" style="text-align:center; vertical-align:middle" %){{lightbox image="https://wiki.lynxmotion.com/info/wiki/lynxmotion/download/rover-kits/a4wd3-wheeled/a4wd3-wheeled-quickstart/a4wd3-wheeled-setup/WebHome/BBU-01-to-Sabertooth.png"/}}|(% style="text-align:center; vertical-align:middle" %)[[image:[email protected]||alt="SQUARE-Blue.png" height="18" width="18"]]|(% style="text-align:left; vertical-align:middle" %)__Jumper on "VS"__ to use the Sabertooth as the power source for the BotBoarduino
20 | |(% style="text-align:center; vertical-align:middle" %)[[image:[email protected]||alt="SQUARE-Blue.png"]]|(% style="text-align:left; vertical-align:middle" %)__No Jumper__ to isolate the middle row and avoid conflicts
21 | |(% style="text-align:center; vertical-align:middle" %)[[image:[email protected]||alt="SQUARE-Blue.png"]]|(% style="text-align:left; vertical-align:middle" %)Ground or 0V
22 | |(% style="text-align:center; vertical-align:middle" %)[[image:[email protected]||alt="SQUARE-Blue.png"]]|(% style="text-align:left; vertical-align:middle" %)D3 To S1 on Sabertooth #1
23 | |(% style="text-align:center; vertical-align:middle" %)[[image:[email protected]||alt="SQUARE-Blue.png"]]|(% style="text-align:left; vertical-align:middle" %)D5 To S2 on Sabertooth #1
24 | |(% style="text-align:center; vertical-align:middle" %)[[image:[email protected]||alt="SQUARE-Blue.png"]]|(% style="text-align:left; vertical-align:middle" %)D6 To S1 on Sabertooth #2
25 | |(% style="text-align:center; vertical-align:middle" %)[[image:[email protected]]]|(% style="text-align:left; vertical-align:middle" %)D9 To S2 on Sabertooth #2
26 | |(% style="text-align:center; vertical-align:middle" %)[[image:[email protected]||alt="SQUARE-Blue.png"]]|(% style="text-align:left; vertical-align:middle" %)__Jumper on "Ext"__ to power the BotBoarduino from the Sabertooth 5V regulator
27 | |(% style="text-align:center; vertical-align:middle" %)[[image:[email protected]||alt="SQUARE-Blue.png"]]|(% style="text-align:left; vertical-align:middle" %)__Jumper on "VL = VS"__ to link the two together
28 |(% colspan="4" %)**3. Load the microcontroller with Code**
29 | |(% colspan="3" rowspan="1" style="vertical-align:middle" %)[[Lynxmotion GitHub - Arduino A4WD3 Examples>>https://github.com/Lynxmotion/Rovers/tree/master/A4WD3]]
30 |(% colspan="4" %)**4. Connect the battery**
31 |(% colspan="4" %)**5. Enjoy**
32
33 {{stepNavigation nextStepName="Return" previousStepURL="https://wiki.lynxmotion.com/info/wiki/lynxmotion/view/rover-kits/a4wd3-mecanum/a4wd3-mecanum-quickstart/a4wd3-mecanum-wheels/" nextStepURL="https://wiki.lynxmotion.com/info/wiki/lynxmotion/view/rover-kits/a4wd3-mecanum/a4wd3-mecanum-quickstart/" pageTitle="A4WD3 Mecanum - Setup"/}}
Copyright RobotShop 2018