Robot battery guide: voltage, capacity and safety

How to choose between NiMH, Li-ion and LiPo packs, size the voltage, and avoid the mistakes that damage cells.

Reference
RE-42
Published
Updated
Read
7 min

About the author · Sources, testing and AI policy

Battery pack, buck converter and motor driver wired on a robot chassis

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

ChemistryNominal cell voltageGood forWatch out for
NiMH AA1.2 VFirst robots, low current, supervised useHeavy; needs a NiMH charger; voltage sags under load
Li-ion 186503.6–3.7 VSmall robots with good runtimeNeeds a BMS and a proper CC/CV charger; fake capacity ratings
LiPo3.7 VHigh-current builds, drones, competition robotsMost dangerous if abused; balance charging and a LiPo bag
Sealed lead acid2 V per cell (6 V or 12 V packs)Heavy robots, long runtimes, low cost per AhVery heavy; deep discharge damages it
USB power bank5 V outputLogic-only demos and phone chargingLimited current; may shut off at low loads; not for motors
9 V alkaline9 VSmoke alarms and multimetersVery 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_mA

For 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.

LoadTypical currentWhat it means for the pack
Arduino Nano + sensors30–80 mAAny small pack works; this is not the sizing case.
One SG90 moving100–250 mAAdd a capacitor; do not use the Arduino 5 V pin.
Two TT motors driving300–800 mASize the pack and wires for the stall current, not this figure.
Two TT motors stalled2–3 AThe real worst case. A weak pack or thin wires will sag here.
ESP32 with Wi-Fi transmitting240–500 mA burstsUse a 1 A 5 V supply and a bulk capacitor.
Typical ranges for small hobby parts. Measure your own build.

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

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:

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

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.

Pass it onWhatsAppLinkedIn

Keep reading

Continue learning

Free: the final-year project pack

A shortlist with BOMs, a report outline that matches the usual chapter scheme, a costing sheet and 40 viva questions. Built for the February–April submission season.

The Build Note

One short email when something is worth your bench time.

A new build sheet, a part price that moved, or a mistake worth avoiding. No daily drip, no recycled news.

One short email when a build or a price is worth your time. Unsubscribe in one click.