Choose the battery by voltage first, current second and chemistry third. A robot that browns out during a motor start is not underpowered because the mAh number is small; it is usually because the pack cannot deliver the current the motors ask for, or because the electronics share a rail that sags under that load. This robot battery guide follows one order: voltage first, current second and chemistry third.
The chemistries, without the marketing
| Chemistry | Nominal cell voltage | Good for | Watch out for |
|---|---|---|---|
| NiMH AA | 1.2 V | First robots, low current, supervised use | Heavy; needs a NiMH charger; voltage sags under load |
| Li-ion 18650 | 3.6–3.7 V | Small robots with good runtime | Needs a BMS and a proper CC/CV charger; fake capacity ratings |
| LiPo | 3.7 V | High-current builds, drones, competition robots | Most dangerous if abused; balance charging and a LiPo bag |
| Sealed lead acid | 2 V per cell (6 V or 12 V packs) | Heavy robots, long runtimes, low cost per Ah | Very heavy; deep discharge damages it |
| USB power bank | 5 V output | Logic-only demos and phone charging | Limited current; may shut off at low loads; not for motors |
| 9 V alkaline | 9 V | Smoke alarms and multimeters | Very low current capacity; unsuitable for motors |
Robot battery guide: start with the motor voltage
Read the motor’s rated voltage, then add the driver’s voltage drop. An L298N loses 1.4–2 V, so a 6 V motor needs a pack that delivers at least 7.4–8 V under load if you want the motor to see its rating. A TB6612FNG loses far less, which is why it can run the same motor from a 6 V pack. Never exceed the motor’s rated voltage or the driver’s maximum just because the pack is charged to a higher value; a 3S Li-ion pack at 12.6 V is not a “12 V” pack for a 12 V-rated motor.
Logic needs its own path. If the motors run from 7.4–8.4 V, use a buck converter to make a stable 5 V rail for the Arduino, sensors and servos. Do not feed a servo from the Arduino’s 5 V pin. The 18650 pack guide covers the 2S wiring and protection in detail.
Capacity, current and runtime
Runtime is capacity divided by average current, adjusted for what you can safely use. A 2,000 mAh pack does not give you 2,000 mAh at the motor: converters lose some energy, the pack should not be run to zero, and cold or old cells deliver less. A practical estimate is:
runtime_hours = capacity_mAh × usable_fraction ÷ average_current_mAFor 2,000 mAh, 80% usable and a 600 mA average draw, that is 2,000 × 0.8 ÷ 600 = 2.67 hours, or about 2 hours 40 minutes. The battery runtime calculator does this and shows how runtime changes at other currents. Measure the real average current with a multimeter in series, or estimate from a bench supply’s current display; a datasheet’s “idle current” is not the number that drains the pack.
Current delivery matters more than capacity
A pack’s continuous current rating is often written as a C-rate. A 2,000 mAh cell rated at 2C can deliver about 4 A continuously in theory; cheap cells and thin wiring reduce that in practice. Two TT motors stalled can pull 2–3 A together, and a servo can add another 1 A briefly. If the pack, connector or wires cannot deliver that surge, the voltage collapses and the microcontroller resets. This is why a large mAh number on a weak cell does not fix a brown-out.
| Load | Typical current | What it means for the pack |
|---|---|---|
| Arduino Nano + sensors | 30–80 mA | Any small pack works; this is not the sizing case. |
| One SG90 moving | 100–250 mA | Add a capacitor; do not use the Arduino 5 V pin. |
| Two TT motors driving | 300–800 mA | Size the pack and wires for the stall current, not this figure. |
| Two TT motors stalled | 2–3 A | The real worst case. A weak pack or thin wires will sag here. |
| ESP32 with Wi-Fi transmitting | 240–500 mA bursts | Use a 1 A 5 V supply and a bulk capacitor. |
Wiring, fusing and connectors
- Fuse the main positive lead. Size it above the normal current and below the wire’s safe limit. A 3–5 A fuse is reasonable for a small robot with 20–22 AWG power wiring.
- Use a switch rated for the current. A tiny slide switch from a kit may be rated for 0.5 A, not the 2 A a stalled motor draws.
- Match the wire to the current. 22 AWG is fine for short runs under about 2 A; use 20 AWG for up to about 4 A and 18 AWG for higher currents. Voltage drop over long runs matters more than the wire’s melting point.
- Use a proper connector. XT60, JST or a rated barrel jack. Twisted wires and tape are not a connector.
- Strain-relieve the pack. The solder joint or cell tab should not carry the cable’s pull.
Charging and storage rules
Use a charger designed for the chemistry and the pack voltage. Li-ion and LiPo charge at constant current then constant voltage (CC/CV) and must not be charged above 4.2 V per cell. A 2S pack charges to 8.4 V, not 9 V. NiMH chargers are different; do not use a Li-ion charger on NiMH or the reverse. Charge on a non-flammable surface, attended, and never inside the robot. For storage, leave Li-ion cells around 3.7 V per cell; a full pack ages faster and an empty pack can be damaged by the protection cutoff. Treat the charging rules in this robot battery guide as fixed, because careless charging is one way cells get damaged.
Retire a cell or pack if it is swollen, dented, leaking, unusually hot, or if the wrap is damaged. Do not try to “revive” a pack that has been over-discharged below its cutoff; the internal damage is not visible. Take it to an e-waste collection point rather than household waste.
The mistakes that cost the most
- Using a 9 V battery for motors. It will run a buzzer, not a drivetrain.
- Powering servos from the Arduino 5 V pin. The regulator or USB port gives up, and the board resets mid-run.
- Forgetting the common ground. The motor driver and the microcontroller must share a ground reference.
- Ignoring voltage drop in the driver. A 6 V pack plus an L298N leaves the motor under 5 V.
- Running a Li-ion pack to cutoff every cycle. It shortens life and can leave the robot stranded.
- Mixing cells of different age or capacity in a pack. The weakest cell sets the limit, and the mismatch can be dangerous.
- Charging unattended or in the robot. The most common cause of a battery incident is a charger left alone.
Common questions
How do I choose between 2S and 3S?
Match the motor's rated voltage and the driver's limit. 2S (7.2–8.4 V) suits many 6–7.4 V hobby motors and is safer for a first build. 3S (9–12.6 V) gives more speed but stresses motors and drivers.
Can I run the Arduino and motors from the same pack?
Yes, with a buck converter for the 5 V rail and a common ground. The motors should not share the Arduino's regulator, and the wiring should be sized for the motor current.
How do I know the battery is low?
Measure the pack voltage under light load with a divider into an analog pin, and calibrate the reading with a multimeter. For 2S, treat about 6.0–6.6 V as empty under load. Do not rely only on the BMS cutoff.
Is a USB power bank safe for a robot?
It is safe for logic, but its 5 V output and current limit usually cannot drive motors, and some banks shut off at low current. Use a proper pack for the drivetrain.
Related: battery runtime calculator, 18650 pack guide, line follower build, where to buy parts.
Keep reading
- How to power a robot — Shared grounds, 5 V rails and brownout resets explained.
- L298N vs TB6612FNG — How much voltage your driver steals before the motors see it.
- Servo vs DC motor vs stepper — Which actuator draws what, and from which pack.
A 12 V pack feeding 5 V logic needs a converter, and the cheap modules are not rated for what they claim: the buck converter guide explains the heat maths.
Battery packs are a recurring operating cost, and the payback maths in our guide to drone spraying economics assumes realistic cycle life.
For the charging side of the same problem, see robot charging and docking.
Every lithium pack also needs a BMS sized for the load.
Once the chemistry and pack size are settled, follow the LiPo charging and storage rules before the first charge.
FPV packs are chosen by cell count and discharge rate, which the FPV guide covers alongside flight time.
Depot charging is a separate design problem from the vehicle: the robotic EV charging guide covers pantograph and depot automation, and what each needs from the site.
Sources and further reading
Documents used to check the numbers on this page:
- Battery University BU-205 — lithium-ion types, voltage and safety.
- TI L293D datasheet page — a comparable dual H-bridge for current and drop-out numbers.
Last reviewed: October 2026. Specifications are general guidance, not a substitute for the cell and charger datasheets. Lithium batteries require care; when in doubt, ask a supervisor.
Newer builds and guides
- LM2596 buck converter — Setting the output safely and powering a robot from 12 V.
When the same battery leaves a bench and goes into a vehicle pack, the line that builds it has its own joining and test problems: EV battery pack assembly automation.
