Component guide · Intermediate · 3 min read
Sabertooth 2x5 Dual Motor Driver

DIP Switch Modes, Wiring and Code
By Geekobot Learning Team · Updated 29 Oct 2026
On this page
The Sabertooth 2x5 drives two brushed DC motors at up to 5 A each (10 A peak) from 6 to 18 V. DIP switches select analog voltage, RC servo pulse or serial control, and it can mix steering for differential drive robots. It uses regenerative braking and has thermal and over-current protection, so it is a forgiving choice for robot bases.
Key specs at a glance
- Channels
- 2 x 5 A continuous, 10 A peak
- Supply
- 6 to 18 V (lead acid, NiMH or 2S to 4S Li)
- Modes
- Analog, RC, simplified serial, packetized serial
- Mixing
- Optional differential drive mix
- Braking
- Regenerative
- BEC
- 5 V output, about 100 mA
This part can carry many amps. Use wire thick enough for the current, put a fuse close to the battery, check that connectors are rated for the load and give drivers and motors room to cool. A short at these currents melts wires in seconds.
What the Sabertooth 2x5 motor driver is
The Sabertooth 2x5 from Dimension Engineering is a dual brushed DC motor controller in one small board. It takes analog, RC or serial commands and drives two motors at up to 5 A each, which makes it a common choice for two-wheel robot bases.
In simplified serial, one byte sets one motor: 1 to 127 for motor 1 (64 stop) and 128 to 255 for motor 2 (192 stop). That makes Arduino control just one TX pin.
Regenerative braking returns energy to the battery; with a plain power supply that cannot absorb current, add a large capacitor or use a battery.
Sabertooth 2x5 motor driver pinout
The pins on the Sabertooth 2x5 motor driver and what each one does.
| Pin | Function |
|---|---|
| B+ / B- | Battery |
| M1A / M1B, M2A / M2B | Motors |
| S1 | Signal input (serial RX, RC or analog) |
| S2 | Second input / emergency stop |
| 5V / 0V | BEC output and ground |
| DIP 1 to 6 | Mode and options |
- B+ / B-
- Battery
- M1A / M1B, M2A / M2B
- Motors
- S1
- Signal input (serial RX, RC or analog)
- S2
- Second input / emergency stop
- 5V / 0V
- BEC output and ground
- DIP 1 to 6
- Mode and options
Wiring the Sabertooth 2x5 motor driver
Set the DIP switches for simplified serial at 9600 baud using the Dimension Engineering DIP wizard.
| Sabertooth 2x5 motor driver pin | Arduino Uno | ESP32 |
|---|---|---|
| S1 | D11 (SoftwareSerial TX) | GPIO 17 (TX2) |
| 0V | GND | GND |
- S1
- Arduino Uno:
- D11 (SoftwareSerial TX)
- ESP32:
- GPIO 17 (TX2)
- 0V
- Arduino Uno:
- GND
- ESP32:
- GND
Example code
A minimal sketch to check the part works.
#include <SoftwareSerial.h>
SoftwareSerial st(NOT_A_PIN, 11);
void setup() { st.begin(9600); }
void loop() {
st.write(100); st.write(228); // both forward
delay(2000);
st.write(0); // 0 stops both motors
delay(1000);
st.write(30); st.write(160); // both reverse
delay(2000);
st.write(0);
delay(1000);
}Setup and tuning
set the mode (analog, RC, simplified or packetized serial), baud rate and options with the power off; the board reads them at start-up.
turn on the lithium switch when running from Li-ion or LiPo so it stops before the pack is over-discharged.
use a battery. Regenerative braking pushes current back into the supply, which a bench supply cannot absorb.
enable mixed mode for differential drive so one input is throttle and the other steering.
only the Arduino TX pin and GND are needed; the Sabertooth does not send data back.
What you need
Shop this list3 of 4 found in our store · ₹3,454
Dimension Engineering Sabertooth 2x5 Dual Motor Driver: the part this guide coversDimension Engineering Sabertooth 2x5 Dual Motor Driver₹3,049- Uno R3 development board: the controller used in the wiring tableFind this part
ESP32-WROOM-32 38-pin development board: for Wi-Fi logging and dashboardsESP32-WROOM-32 38-Pin Development Board₹389
Electrolytic capacitor: bulk capacitance across the supplyElectrolytic Capacitor₹16
Alternatives and when to choose them
- Cytron MDD10A: dual 10 A, PWM/DIR control.
- L298N: cheap, inefficient.
- Motor drivers overview.
Common mistakes to avoid
- Changing DIP switches with the power on; the new settings are not read until restart.
- Powering it from a bench supply with no large capacitor, so braking spikes trip or damage the supply.
- Setting a baud rate on the DIP switches that does not match Serial.begin() in the code.
- Running a lithium pack with the lithium cutoff switch off.
Frequently asked questions
Can the Sabertooth 2x5 take signals from an RC receiver?
Yes. In RC mode it reads standard servo pulses from two receiver channels, with optional mixing for tank-style steering.
What does mixed mode do?
It turns a throttle and a steering input into separate left and right motor speeds, so a robot drives like a car from two joystick axes.
What is the maximum battery voltage?
18 V. That covers 12 V lead-acid, NiMH packs and 2S to 4S lithium packs.
Does it brake the motors?
Yes. It uses regenerative braking, which returns energy to the battery when the robot slows down.
How does an Arduino control it?
In simplified serial mode one byte sets one motor: 1 to 127 for motor 1 (64 stops) and 128 to 255 for motor 2 (192 stops), sent from a single TX pin.
Parts for this guide
Keep learning
Sources
Written by the Geekobot team from manufacturer datasheets. Always check the datasheet for the exact part and variant you buy.

