11:07:51 AM NPT Arduino, Robotics & IoT tutorials for Nepal
Beginner

Robot Motors and Batteries: BO vs N20 vs Gear Motor, AA vs 18650

Choose the right motor and battery for your Arduino robot car: BO, N20 and metal gear motors compared, AA vs NiMH vs 18650 packs, voltage matching and safety.

On this page
Robot Motors and Batteries: BO vs N20 vs Gear Motor, AA vs 18650

Your robot's code can be perfect and it will still fail if the motors are wrong for the job or the battery cannot supply the current. Two of the most common beginner complaints, "my robot is too slow to climb the ramp" and "my robot dies after ten minutes", are motor and battery problems, not code problems.

This guide compares the three motor types you will see most in Nepal's robotics shops and college labs, explains how to match motor voltage to your battery and driver, and covers which batteries work for robot cars and how to use lithium cells safely.

The three common robot motors

BO motors (the yellow ones)

BO motors are the yellow plastic gear motors that come with most robot car kits. They have a small DC motor attached to a plastic gearbox, with a shaft on each side for a wheel.

  • Good for: first robot cars, line followers, obstacle avoiders, school and college exhibition projects.
  • Strengths: cheap, easy to find, wheels and mounts are widely available, forgiving voltage range.
  • Weaknesses: plastic gears wear and can strip, speed varies between two "identical" motors, some wobble on the shaft.
  • Voltage: usually sold for low voltages, commonly around 3 V to 6 V, and some listings quote higher. Check the listing or label for your exact motor.

N20 micro metal gear motors

N20 motors are tiny motors with a metal gearbox. They are much smaller than BO motors and come in many speed (RPM) versions, often in 6 V and 12 V variants. Some come with a magnetic encoder on the back.

  • Good for: small, fast line followers, competition robots, compact builds, projects that need encoder feedback.
  • Strengths: metal gears, compact, consistent, encoder versions allow speed control.
  • Weaknesses: need small wheels and special mounting brackets, the D-shaft wheels must match, easy to buy the wrong RPM.

Larger metal gear motors

Bigger gear motors with metal gearboxes (often 25 mm or 37 mm diameter types, frequently 12 V) are used for heavier robots: rovers, robots that carry loads, robo-war bases and outdoor builds.

  • Good for: heavy robots, rough floors, climbing, carrying a payload.
  • Strengths: strong torque, durable.
  • Weaknesses: heavier, need more current, need a stronger battery and often a stronger driver than the L298N.

Quick comparison

Scroll sideways to see all columns.

Feature BO motor N20 motor Larger metal gear motor
Gears Plastic Metal Metal
Size Medium Very small Large
Typical use First robot car Fast, light competition bots Heavy rovers
Mounting Easy, kit-friendly Needs brackets Needs brackets or clamps
Encoder option Rare Common Common
Current needs Low to moderate Low Moderate to high
Best for beginners Yes After your first robot When you need strength

Speed vs torque: the RPM trap

Every geared motor trades speed for torque. A high-RPM version is fast but weak; a low-RPM version is slow but strong. Beginners often pick the fastest motor, then find the robot cannot start on carpet or overshoots every turn on a line track.

Guidelines:

  • Line followers: moderate speed is easier to control. Very fast motors need better sensors and PID tuning.
  • Obstacle avoiders and Bluetooth cars: moderate speed, enough torque to turn on the spot.
  • Heavy or outdoor robots: lower RPM, more torque.

Match the motor voltage to your battery and driver

This is the step most people skip. Three numbers must agree:

  1. The motor's rated voltage, from the label or listing.
  2. The battery voltage, which changes as it discharges.
  3. The driver's voltage drop. The L298N loses roughly 1.5 V to 2 V internally, so the motors get less than the battery voltage. MOSFET-based drivers such as the TB6612FNG lose much less.

Example: a 2-cell lithium pack (about 7.4 V nominal) through an L298N gives the motors roughly 5.5 V to 6 V. That suits many BO motors. The same pack through a low-drop driver gives the motors close to the full pack voltage, which may be too much for a 6 V motor. You can then lower the PWM speed in code.

Also check the driver's current limit against the motor's stall current (the current when the shaft is blocked, which also happens briefly at every start). See our L298N motor driver guide for wiring and limits.

Batteries for robot cars

Scroll sideways to see all columns.

Battery Pack voltage example Strengths Weaknesses
9 V PP3 (rectangular) 9 V Easy to find Very small capacity, poor current. Avoid for motors
AA alkaline pack 4 cells = 6 V, 6 cells = 9 V Easy to find, safe Voltage sags under motor load, runs down quickly, not rechargeable
AA NiMH rechargeable pack 4 cells = about 4.8 V, 6 cells = about 7.2 V Rechargeable, handles motor current better than alkaline Lower voltage per cell, needs a proper NiMH charger
2 × 18650 lithium-ion About 7.4 V nominal, up to 8.4 V full High capacity and current, rechargeable Needs careful handling, protection and a proper charger

Why AA alkaline packs disappoint

Alkaline cells are designed for low-current devices such as remotes and clocks. Under the high current a motor draws, their voltage drops a lot, so the robot slows down and the Arduino may reset when the motors start. They work for a quick demo, but they are not a good long-term choice.

18650 cells: powerful, so respect them

18650 lithium-ion cells are the most common choice for student robots because they can deliver high current and are rechargeable. They also store a lot of energy, so follow these rules:

  • Use protected cells (with a built-in protection circuit) or a pack with a battery protection board (BMS).
  • Use a proper battery holder with a switch. Never tape cells together and never solder directly onto a cell.
  • Never short the terminals. Do not carry loose cells in a pocket with keys or coins.
  • Never charge or use a damaged cell. If the wrap is torn, the cell is dented, swollen, hot or leaking, stop using it and dispose of it safely.
  • Charge with the right charger. A 2-cell series pack needs a charger designed for 2-cell lithium packs with balancing, or remove the cells and charge each one in a proper single-cell charger. A single-cell TP4056 module is not suitable for charging a 2-cell series pack.
  • Do not leave cells charging unattended, and charge on a non-flammable surface.
  • Buy from a trustworthy source. Labels claiming unrealistically huge capacity are a warning sign of fake or recycled cells.

Power the Arduino separately

Motors create electrical noise and big current spikes. A common, reliable setup for beginners:

Scroll sideways to see all columns.

Part Powered from
Motors (through the driver) Motor battery pack
Arduino USB power bank, or a regulated 5 V supply
Sensors Arduino 5 V or 3.3 V pin (as their datasheet says)
Grounds All connected together

This is the setup used in our line follower robot build and obstacle avoiding robot car.

Troubleshooting

Scroll sideways to see all columns.

Symptom Likely cause Fix
Robot slows down after a few minutes Alkaline cells sagging Use NiMH or 18650 pack
Arduino resets when motors start Shared supply, voltage dip Separate Arduino supply, common GND
One wheel faster than the other Normal motor variation Adjust each side's PWM in code, or use encoders
Robot cannot start on carpet or a ramp High-RPM, low-torque motor Use a lower-RPM motor or raise voltage within rating
Motor hums but does not turn Too little voltage after driver drop Higher pack voltage or a low-drop driver
L298N gets very hot Motors drawing near its limit Lighter robot, smaller motors, or a stronger driver
Plastic gears click or slip Stripped BO gearbox Replace the motor; avoid stalling it

FAQ

Which motor should I buy for my first robot car?

BO motors with matching wheels. They are cheap, easy to mount and good enough for line followers, obstacle avoiders and Bluetooth cars.

Can I mix two different motors on one robot?

It is better to use a matched pair of the same type and RPM. Even then, expect small speed differences and correct them in code.

Is a 9 V battery okay for a robot?

Not for the motors. A 9 V PP3 cell has little capacity and cannot supply motor current for long.

How do I know a motor's stall current?

Check the seller's datasheet. If none is given, measure it carefully with a multimeter in series while briefly holding the shaft, and keep the test short to avoid overheating the motor.

Do I need encoders?

Not for a first robot. Encoders help when you need accurate distance, straight driving or speed control, which is useful for advanced competitions and final year projects.

Related tutorials

See all Robotics →