Component guide · Beginner · 4 min read
TT and BO Gear Motors for Robot Cars

RPM, Wiring and Code
By Geekobot Learning Team · Updated 29 Oct 2026
On this page
TT (yellow gearbox) and BO (battery operated) motors are the plastic-gear DC motors used in most school robot cars. They run from 3 to 12 V, give about 60 to 300 RPM, and come with single or dual shafts that take a 65 mm wheel. Drive them through a motor driver such as an L298N or TB6612FNG, with one driver channel per side of the car.
Key specs at a glance
- Voltage
- 3 to 6 V (TT), 3 to 12 V (BO), 9 V (Vigor BO)
- Speed
- 60, 100, 150, 200 or 300 RPM versions (at rated voltage)
- Current
- About 0.1 to 0.2 A running, 0.8 to 1.5 A stall
- Shaft
- Double flat (D) shaft, single or dual sided; worm-gear BO has a right-angle shaft
- Gearbox
- Plastic gears (TT metal-gear version available)
- Mounting
- Two M3 holes through the gearbox
Models in this guide
These are alternatives. Pick the one that fits your project; you only need one.
Option 1TT Gear Motor (Yellow) 3–6V₹86
Option 2BO DC Gear Motor 3–12V₹49
Option 3BO Motor Straight Single Shaft (by RPM)₹49
Option 4BO Motor Dual Shaft (by RPM)₹65
Option 5Vigor 9V BO Motor₹55
Option 6BO Motor Worm Gear₹33
What the TT and BO gear motor is
TT motors have the yellow 48:1 gearbox and fit most robot chassis kits. BO motors are the straight or L-shaped versions used in Indian school kits, with the same wheel fit. Dual-shaft versions let you add an encoder disc on the second shaft.
For a two-wheel-drive car, 100 to 150 RPM is easy to control; 200 to 300 RPM is faster but harder to steer.
TT and BO gear motor pinout
The pins on the TT and BO gear motor and what each one does.
| Pin | Function |
|---|---|
| Terminal 1 | Motor lead (red) |
| Terminal 2 | Motor lead (black); swap the two to reverse |
- Terminal 1
- Motor lead (red)
- Terminal 2
- Motor lead (black); swap the two to reverse
Wiring the TT and BO gear motor
Solder the motor leads and a 100 nF capacitor across each motor's terminals. With an L298N, a 6 V motor on 7.4 V gets about 5.4 V after the driver loss, which is fine.
| TT and BO gear motor pin | Arduino Uno + L298N | ESP32 + TB6612FNG |
|---|---|---|
| Left motor | L298N OUT1 / OUT2 | TB6612 AO1 / AO2 |
| Right motor | L298N OUT3 / OUT4 | TB6612 BO1 / BO2 |
| Driver inputs | ENA D5, IN1 D7, IN2 D8, IN3 D9, IN4 D10, ENB D6 | PWMA 25, AIN1 26, AIN2 27, PWMB 14, BIN1 12, BIN2 13, STBY 3V3 |
| Battery | 2 x 18650 (7.4 V) into 12V and GND | 2 x 18650 into VM and GND |
- Left motor
- Arduino Uno + L298N:
- L298N OUT1 / OUT2
- ESP32 + TB6612FNG:
- TB6612 AO1 / AO2
- Right motor
- Arduino Uno + L298N:
- L298N OUT3 / OUT4
- ESP32 + TB6612FNG:
- TB6612 BO1 / BO2
- Driver inputs
- Arduino Uno + L298N:
- ENA D5, IN1 D7, IN2 D8, IN3 D9, IN4 D10, ENB D6
- ESP32 + TB6612FNG:
- PWMA 25, AIN1 26, AIN2 27, PWMB 14, BIN1 12, BIN2 13, STBY 3V3
- Battery
- Arduino Uno + L298N:
- 2 x 18650 (7.4 V) into 12V and GND
- ESP32 + TB6612FNG:
- 2 x 18650 into VM and GND
Example code
If the car curves when it should go straight, lower the PWM on the faster side a little; cheap motors vary.
const int ENA = 5, IN1 = 7, IN2 = 8, ENB = 6, IN3 = 9, IN4 = 10;
void side(int en, int a, int b, int speed) { // -255 to 255
digitalWrite(a, speed > 0);
digitalWrite(b, speed < 0);
analogWrite(en, abs(speed));
}
void drive(int l, int r) { side(ENA, IN1, IN2, l); side(ENB, IN3, IN4, r); }
void setup() {
for (int p : {ENA, IN1, IN2, ENB, IN3, IN4}) pinMode(p, OUTPUT);
}
void loop() {
drive(200, 200); delay(1500);
drive(200, -200); delay(500);
drive(-200, -200); delay(1500);
drive(0, 0); delay(1000);
}Setup and tuning
use the long M3 bolts through the gearbox holes; do not over-tighten the plastic.
push 65 mm wheels fully onto the D-shaft and add the small screw if supplied.
2 x 18650 cells or a 2S pack; AA cells sag quickly with four motors.
if one wheel spins backwards, swap its two wires at the driver.
What you need
Shop this list12 of 13 found in our store · ₹4,48,068
TT Gear Motor (Yellow) 3–6V: the part this guide coversTT Gear Motor (Yellow) 3–6V₹86
BO DC Gear Motor 3–12V: another version this guide coversBO DC Gear Motor 3–12V₹49
BO Motor Straight Single Shaft (by RPM): another version this guide coversBO Motor Straight Single Shaft (by RPM)₹49
BO Motor Dual Shaft (by RPM): another version this guide coversBO Motor Dual Shaft (by RPM)₹65
Vigor 9V BO Motor: another version this guide coversVigor 9V BO Motor₹55
BO Motor Worm Gear: another version this guide coversBO Motor Worm Gear₹33
BO Motor with Wheel Set: another version this guide coversBO Motor with Wheel Set₹116- 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
L298N motor driver module: a simple driver for two motorsL298N Dual H-Bridge Motor Driver Module₹128Closest match, check the specs
TB6612FNG motor driver module: an efficient driver for two small motorsTB6612FNG Dual Motor Driver Module₹130Closest match, check the specs
65mm rubber robot wheel: fits TT and BO motor shafts65mm Rubber Robot Wheel for BO / TT Motors₹12
18650 battery holder: for a 2-cell robot batteryBattery Holder₹45
Alternatives and when to choose them
- N20 gear motor: smaller metal-gear motor with encoder option.
- L298N motor driver: the usual driver for these motors.
- Choose a motor: DC, servo or stepper.
Common mistakes to avoid
- Driving the motor straight from Arduino pins.
- Using a 9 V PP3 battery that cannot supply four motors.
- Not soldering the leads, so they break off the motor tabs.
- Picking 300 RPM for a first robot and losing control.
Frequently asked questions
What is the difference between TT and BO motors?
Both are plastic gear motors with the same wheel fit; TT is the yellow gearbox, BO is the straight or L-shaped body. Specs are similar.
Which RPM should I buy?
100 to 150 RPM for a first robot car, 200 to 300 for a faster car.
Can I run them on 12 V?
BO motors rated to 12 V, yes; 3 to 6 V TT motors will overheat.
Why does my car not go straight?
Motors differ slightly. Trim the PWM per side or add encoders.
What is a dual-shaft motor for?
The second shaft carries an encoder disc or a second wheel.
Parts for this guide
Projects that use it
Put this into practice: 8 step-by-step builds in our project library use parts from 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.


