Our rig is powered off 8 AA cells. We think this is the best choice: compact, lightweight, and the cells are fairly inexpensive (even adding a charger) and can be used in other projects and toys. But if you already have a 6 to 23 Volt battery pack from some other hobby (such as RC cars), this can be used just as well.
With NiMH rechargeables, the 8-cell pack provides about 9.6 Volts, while single-use alkalines give about 12V. Either way, the UBEC converts this to 5 Volts DC. The rechargeables are strongly recommended…not just for their reusability, but that they can deliver more current. With alkaline cells, the NeoPixels may go dim or pink on particularly bright images as the battery can’t push enough current.
Connect the battery holder (red+, black–) to the short, thick wires on the UBEC using alligator clips (if you don’t have clips, the wires can be soldered temporarily). Charge the cells and load up the battery holder. If you have a multimeter, test the output voltage (the long, thin wires from the UBEC). It should be around 5 Volts, give or take a little…possibly a little higher, since the circuit isn’t under load yet.
If you don’t have a multimeter, a basic pass/fail test can be done with an LED and resistor (150 to 500 Ohm) in series. You may need to get creative with whatever combination of jumper wires, breadboard and/or alligator clips you have on-hand. Remember that LEDs have a specific polarity — the longer leg should connect to the red (+) wire.
There’s a setting in the code for using a more powerful UBEC for extra brightness (RC hobby shops may have these). But really, the 3A UBEC is still plenty bright for most things, you're not missing out.
- Remove the cells immediately. Check for shorts on both the input and output wires.
- Are the alligator clips or bare wire ends touching?
- Confirm all cells are installed in the correct orientation.
- Confirm all cells are good using a multimeter or battery tester. Even a single bum cell can interfere with the circuit.