.
Welcome to the Lynxmotion Wiki

# Microcontroller

Last modified by Eric Nantel on 2022/04/29 09:10
Export
Office Formats
Export as PDF
Other Formats

Select the pages to export:

select all / none

Export as HTML

Setup
A4WD3 Tracked - Microcontroller
Return

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 the front and rear motors rotate in opposite directions however, the track which connects them will cause them to stall and burn very quickly! 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
| 1 | OFF (Enable RC Mode)
2 | ON (Enable RC Mode)
3 | OFF (Lithium Battery Mode)
4 | ON (Enable Mixing Mode)
5 | ON (Disable Exponential)
6 | OFF (Disable Timeout)
More Info: Sabertooth 2x12 - Dip Switch Wizard Sabertooth 2x12 - User Guide
2. Connect the Sabertooth to your Microcontroller
|  | Jumper on "VS" to use the Sabertooth as the power source for the BotBoarduino
| Ground or 0V
| To "S1" on Sabertooth #1
| To "S2" on Sabertooth #1
| Jumper on "Ext" to power the BotBoarduino from the Sabertooth 5V regulator
| Jumper 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. Upload your code Lynxmotion GitHub - Arduino A4WD3 Examples
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

Setup
A4WD3 Tracked - Microcontroller
Return
Tags:
Created by Eric Nantel on 2022/04/06 14:32
Copyright RobotShop 2018