Shop by category
Shop all componentsMotors & mechanics
Motors usually use most of the energy. An L298N driver also loses about 2 V inside it, so 6 V motors on a 2S (7.4 V) pack are a good match. Use a separate regulator for the board so motor spikes do not reset it.
I_avg = motors × I_motor × run time + board + sensors + servosRuntime = capacity × usable ÷ I_avgI_peak = motors × I_stall + electronicsTwo TT motors at 300 mA running 60% of the time average 360 mA. With 80 mA for the board and 40 mA for sensors the total is 480 mA. A 2600 mAh 18650 pack with 80% usable lasts 2600 × 0.8 ÷ 480 = 4.3 h. With both motors stalled the peak is 2 × 1.5 + 0.12 = 3.1 A, under the cell’s 5 A.
Working out battery life before you build saves a lot of guesswork. Add up the current of every part, scale the motors by how much of the time they actually run, and divide the usable capacity by that average.
The peak matters as much as the average. When a robot starts or a wheel jams, the motors draw their stall current, several times their running current. If the battery cannot supply it the voltage dips, the microcontroller resets, and the robot behaves strangely. AA cells and small LiPos are the usual culprits.
A typical 2-motor car averages 400 to 600 mA, so a 2S pack of 2600 mAh cells runs about 3.5 to 5 hours of mixed driving, less on carpet or with heavy loads.
The motors’ start-up current pulls the battery voltage down below what the board needs. Use cells rated for higher current, add a 470 to 1000 µF capacitor across the motor supply, and power the board from its own regulator.
Alkaline AAs can only give about 1 A before their voltage drops, so cars stall and boards reset. Rechargeable Li-ion 18650 cells or NiMH are a much better choice.
I_avg = motors × I_motor × run time + board + sensors + servos; Runtime = capacity × usable ÷ I_avg; I_peak = motors × I_stall + electronics.
Two TT motors at 300 mA running 60% of the time average 360 mA. With 80 mA for the board and 40 mA for sensors the total is 480 mA. A 2600 mAh 18650 pack with 80% usable lasts 2600 × 0.8 ÷ 480 = 4.3 h. With both motors stalled the peak is 2 × 1.5 + 0.12 = 3.1 A, under the cell’s 5 A.
Geekobot builds that use it include Light-seeking robot, Clap-controlled robot, TV-remote controlled robot car and Follow-me robot car. Each has the full parts list, wiring and code.
Results are estimates for design and learning. Check critical designs against the component datasheet. Made by the Geekobot Learning Team. How we write our calculators