Project · Tracked robot
Tracked robot
A 3D-printed tracked robot that you drive from your phone. Two yellow gear motors turn the rear sprockets, and each track is 36 printed links that snap together. An Arduino Nano reads the commands from an HC-06 Bluetooth module and drives the motors through an L298N, so the robot can go forward, reverse and spin on the spot. Three 18650 cells give it 11.1 V, and a red 12 V LED strip behind the front wall glows through the plastic, switched by a MOSFET from one of the Arduino's 5 V pins.
- Size
- 214 × 184 × 63 mm
- Battery
- 3S Li-ion, 11.1 V
- Motors
- 2× TT gear motor
- Control
- Bluetooth, HC-06
- Brain
- Arduino Nano
- Lights
- Red 12 V LED strip
What's inside
Hover over a part or its number to see it on its own. The robot is upside down, the way you open it.
- 1BodyPrinted in white PLA, one piece
Flat top, rounded front and back, open bottom. Everything inside is taped to the inside of the top. About 194 × 132 × 46 mm.
- 2Side lids ×2Printed, glued to the body
Each carries a front axle pin and has a hole for the motor shaft.
- 3Sprockets ×4Printed, 12 teeth
44.8 mm across, 12.2 mm wide. The rear ones sit on the motor shafts, and the front ones turn freely on the axle pins.
- 4Track links ×72Printed, 36 per track
12.7 mm pitch, 21.6 mm wide. They snap together on their own pins and are a little loose, so the tracks don't bind.
- 5Gear motors ×2Yellow TT gear motors, 3–6 V, 1:48
Taped to the side lids, one per track.
- 6Motor driverL298N dual H-bridge
Sets the direction and PWM speed of each track. Its 5 V regulator also powers the Arduino.
- 7Arduino NanoATmega328P
Reads the Bluetooth commands and drives everything. It replaces the original Arduino Mega: same code, a fraction of the size.
- 8Bluetooth moduleHC-06
9600 baud. Pairs with the phone.
- 9Battery3× 18650 Li-ion in series, in a holder
11.1 V nominal, 12.6 V full.
- 10Battery plug5.5 × 2.1 mm DC plug and socket
Unplug it to switch the robot off.
- 11LED stripRed, 12 V, 6 LEDs (two 5 cm segments)
Stuck inside the front wall, so it glows through the plastic.
- 12LED switchIRLZ44N logic-level N-MOSFET
With a 220 Ω gate resistor and a 10 kΩ pull-down. It lets a 5 V pin switch the 12 V strip.
- 13Double-sided tapeFoam pads
Hold every board, the battery holder and the motors.
1
2
3
4
5
6
7
8
9
10
11
12
13
Inside, from above
The robot upside down with its bottom open, seen straight from above: where every part sits.

How it works
Control. The phone app sends one letter per button over Bluetooth to the HC-06, which passes it to the Nano at 9600 baud.
Driving. Each track has its own motor, so the robot steers like a tank. When both tracks turn forward it goes straight. When they turn in opposite directions it spins on the spot. The L298N switches each motor's direction, and PWM sets its speed. The TT motors are 6 V motors on an 11.1 V pack, so the PWM is kept moderate.
Lights. An Arduino pin gives only 5 V and a few milliamps, and the strip needs 12 V. A MOSFET does the switching: the pin drives its gate, and the MOSFET connects the strip's negative side to ground. The 12 V side never touches the Arduino.
Power. The 11.1 V pack goes through the DC plug to the L298N. Its built-in 5 V regulator feeds the Nano and the HC-06. Unplug the DC plug to switch the robot off.
Wiring
- Motor driver:
D5 → ENA,D6 → IN1,D7 → IN2,D8 → IN3,D9 → IN4,D10 → ENB - Bluetooth: HC-06
TXD → D2,RXD ← D3through a 1k/2k divider - Lights:
D12→ MOSFET gate through 220 Ω, with 10 kΩ to GND. LED+ to 12 V, LED− to the drain, source to GND. - Power: L298N 5 V → Nano 5 V, common GND
Example sketch (Arduino)
// Tracked robot: HC-06 Bluetooth + L298N + MOSFET-switched 12 V LED strip (Arduino Nano)
#include <SoftwareSerial.h>
SoftwareSerial bt(2, 3); // RX from HC-06 TXD, TX to HC-06 RXD (through a 1k/2k divider)
const byte ENA = 5, IN1 = 6, IN2 = 7, IN3 = 8, IN4 = 9, ENB = 10, LEDS = 12;
byte speed = 180; // PWM 0-255; the 6 V motors run from 11.1 V, so keep it moderate
void drive(int left, int right) { // -1 back, 0 stop, 1 forward
digitalWrite(IN1, left > 0); digitalWrite(IN2, left < 0);
digitalWrite(IN3, right > 0); digitalWrite(IN4, right < 0);
analogWrite(ENA, left ? speed : 0); analogWrite(ENB, right ? speed : 0);
}
void setup() {
for (byte p : {ENA, IN1, IN2, IN3, IN4, ENB, LEDS}) pinMode(p, OUTPUT);
bt.begin(9600); // HC-06 default speed
drive(0, 0);
}
void loop() {
if (!bt.available()) return;
char c = bt.read();
switch (c) {
case 'F': drive( 1, 1); break; // forward
case 'B': drive(-1, -1); break; // back
case 'L': drive(-1, 1); break; // spin left
case 'R': drive( 1, -1); break; // spin right
case 'S': drive( 0, 0); break; // stop
case 'W': digitalWrite(LEDS, HIGH); break; // lights on
case 'w': digitalWrite(LEDS, LOW); break; // lights off
default:
if (c >= '0' && c <= '9') speed = map(c - '0', 0, 9, 90, 230);
}
}
The real life one vs 3D model
Driving: the tracks turning, the front lights on, steered from the phone.
Full build guide coming soon
Printing the tracks, wiring and the phone app, step by step.