First of all we need power for our car. I assume you have a basic understanding about Volts, Amperes, short circuits and such things ;o)
There are different options how to power your learning car. What you need as battery is up to a couple of factors. The most important one is what kind of components you want to use.
- Different boards require different voltage to work.
Some Arduinos want 3,3 Volts while a Raspberry PI want's 5 or 5,1 Volts . Depending on the load you put on the board the power consumption may also vary. E.G if you drive some Neopixel LEDs over the GPIO pins this power is drawn from the boards power supply. Power consumption is measured in Watt.
Watt = Volt x Ampere. So Ampere is the 2nd common thing you have to take an eye on. To stay with a Raspi 5 Volts and 2-3 Amperes are what you need. - Motors draw quite some power
No matter if it is a servo or a DC motor both are quite power hungry. Consider not to drive them over your central board. Better supply them directly from your power source/DC converter.
Another factor is simply what do you have at hand.
- AA batteries are quite common so if you but enough of them in series to stack up the volts you can use them
- Maybe you are vapping so it is pretty likely you have some 18650s lying around
- Or you have a battery pack from a RC car with a LiPO powering it
All good as long as you pay attention to the specs - Volts and Amps are key
Last but not least endurance is a factor. Endurance is power used over time. So the common units for this it Watt/hours or Amp/hours. For 18650s it is usally given as mA/h e.g. 2000 mA/h. So what does it mean. Simpy said. If your setup draws 500 milli amps a 2000 mA/h battery can sustain the setup for approximately 4 hours.
The kit I bought required 2 18650 cells so I went with those.
Voltage is 3,7 Volts - 2 in series (2S) will provide 7,4 Volts which you can step down to e.g. 5 Volts for a Raspi. And they can provide a pretty high peak voltage. I mean really high. I short circuited 2 of them in my initial battery box and the wires immediately started to glow. There are some stories they will explode on short circuits but there are some test video in the net that show that they will not blow up immediately but the get really hot - really fast.
So I thought - well this is not soooo safe if you are not careful. So I learned you either can buy the 18650 as a protected variant. But they are more expensive and a bit longer so they will not fit in most battery boxes. Another option is to to build in a battery management system BMS in your setup. BMS are available on breakout boards. A BMS breakout for the 2 batteries costs around 2-3 bugs. So definitely worth it. Add an adjustable stepdown converter and you are all set.
A little story about my first BMS tests. I bought a pack of 5 wired the first up - not working. 2nd one - same not working. So I ended up with all 5 not working. I searched the net and found a guy that had the same experience with a pack of 20. So I thought that cannot be that they are all so bad. After searching a bit I learned that most of them use MOSFETs to protect I think for short circuits. MOSFETs need to be activated to work and when you disconnect them from the power source you need to reactivated them again. Common way to activate a BMS is to connect a charger. But there seems to be a little hack. I cannot explain how it exactly works but if you short the negative input and negative output of the BMS this will activate it as well. So I added a switch that will exactly do that after i switch batterys
You can find my setup in the instructions.

Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.