Every beginner robot build eventually runs into the same wall: you connect the battery, flick the switch, and nothing happens. Or worse, a sensor starts smoking. The culprit is almost always a mismatch between what your robot needs and what your power supply delivers. Before you buy a battery pack or a mains adapter, spend five minutes listing your loads. Motors are greedy, hungry beasts that want high current in short bursts. Sensors and microcontrollers are fussy, wanting a steady voltage with very little current. A single 9V battery might spin a small motor for a few minutes, but it will sag under load and confuse your 5V logic. So start by writing down the voltage and current each part expects — usually 3.3V or 5V for sensors, and 6V or 12V for motors. That list becomes your shopping list.
Batteries are the default for beginner robots because they are safe, cheap, and need no mains lead. But not all batteries are equal. AA alkaline cells give 1.5V each, so four in series give 6V — enough for many small brushed motors. NiMH rechargeables are 1.2V each, so five give 6V. Lithium polymer (LiPo) packs are powerful and light, often 7.4V or 11.1V, but they require a proper charger and a healthy respect for fire safety. For a first robot, I usually suggest a 4×AA holder or a 6V NiMH pack. They are forgiving and easy to swap.
When your robot stays on the bench, a mains adapter or bench power supply beats batteries for testing. A bench supply lets you dial in voltage and see current draw, which is invaluable for diagnosing a stalled motor. A fixed 5V or 12V adapter is cheaper and simpler, but you must check its current rating. A 5V 1A adapter will happily power a microcontroller board and a few sensors, but it will struggle with two 6V motors. If the adapter gets hot or the voltage drops, you are overloading it. Look for an adapter rated at least 1.5 times your expected peak current. For motors, that peak is the stall current — the current drawn when the shaft is held still. It can be five to ten times the running current. So a motor that runs at 200mA might stall at 1.5A. Your adapter must survive that briefly.
Voltage regulators take a higher, messy voltage and output a lower, steady one. They are the bridge between a 7.4V LiPo and your 5V sensors. Linear regulators, like the classic 7805, are simple and cheap, but they waste excess voltage as heat. If you feed 12V into a 7805 to get 5V at 1A, it must dissipate 7W — that is a lot of heat for a small component. Switching regulators, often called buck converters, are more efficient and run cooler. They are slightly more expensive and can introduce electrical noise, but for most robots they are the better choice. A small adjustable buck module can take 6–24V in and output 5V at 2A or more. Always check the regulator’s current rating and add a capacitor across its output if your sensors behave oddly.
You cannot match ratings if you do not measure. A cheap multimeter is your best friend. Set it to measure current in series with the load — never in parallel, or you will blow a fuse. Start with the highest current range and work down. For a motor, measure running current on a flat surface, then gently hold the shaft to see stall current for a split second. For sensors, the datasheet usually gives a maximum current, often 10–20mA. Add up all your loads. Then add 20–30% headroom. If your total is 1.2A, choose a supply rated for 1.5A or more. If you are using a voltage regulator, remember it also has a quiescent current and a dropout voltage — the minimum difference between input and output. A 5V regulator needs at least 6.5V input to stay stable.
Leave A Comment