Microcontroller

Last modified by Eric Nantel on 2022/04/29 09:11

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. 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.

The following steps are described for the Lynxmotion BotBoarduino microcontroller and Dimension Engineering Sabertooth 2x12A DC motor controller. Note that the DIP switch setup for other Sabertooth motor controllers may not be the same. Should you have selected a different microcontroller, FPGA or single board computer, or a different motor controller, it is your responsibility to read the user guide and understand the electronic setup, connections and power requirements.
1. Set the Sabertooth DIP Switches
Sabertooth 2 x 12A Standard Typical Setup
Sabertooth-2x12-Switches.png1OFF (Enable RC Mode)
2ON (Enable RC Mode)
3OFF (Lithium Battery Mode)
4ON (Enable Mixing Mode)
5ON (Disable Exponential)
6OFF (Disable Timeout)
2. Connect the Sabertooth to your Microcontroller

SQUARE-Blue.pngJumper on "VS" to use the Sabertooth as the power source for the BotBoarduino
SQUARE-Blue.pngGround or 0V
SQUARE-Blue.pngTo "S1" on Sabertooth #1
SQUARE-Blue.pngTo "S2" on Sabertooth #1
SQUARE-Blue.pngJumper on "Ext" to power the BotBoarduino from the Sabertooth 5V regulator
SQUARE-Blue.pngJumper on "VL = VS" to link the two together
More Info: BotBoarduino User Manual
3. Lift the rover on something to avoid the wheels / tracks to touch the ground. Connecting the batterie will likely have it spin.
4. Connect the main battery (required to power the BotBoarduino)

5.1 Regarding the BotBoarduino

  • Please read through the BotBoarduino user guide HERE.
  • If you are new to Arduino, please visit their guides HERE.
  • You are free to create your own code, or try an example

Tags:
Created by Eric Nantel on 2022/04/28 13:44
Copyright RobotShop 2018