06 - Setup

Last modified by Eric Nantel on 2022/09/12 14:08

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-DIP-Mecanum.png1OFF (Enable RC Mode)
2ON (Enable RC Mode)
3OFF (Lithium Battery Mode)
4OFF (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.pngNo Jumper to isolate the middle row and avoid conflicts
SQUARE-Blue.pngGround or 0V
SQUARE-Blue.pngTo "S1" on Sabertooth #1
SQUARE-Blue.pngTo "S2" on Sabertooth #1
SQUARE-Blue.pngD6 To S1 on Sabertooth #2
SQUARE-Blue.pngD9 To S2 on Sabertooth #2
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

6. Calibration

A4WD3-Setup-RC-Mecanum-Control.png

The throttle stick may need to be zeroed, or the mixing modified so the rover moves in a straight line rather than a gentle arc. To understand the changes needed and how to proceed, please refer to the user manual of your remote control.

  • Up/Down: Forward and Backward motion
  • Left/Right: Turn Left and Right

Tags:
Created by Eric Nantel on 2021/11/09 14:36
Copyright RobotShop 2018