The Raspberry Pi has two options for giving it power: either using the the Micro-USB B port or the GPIO header pins. However, the header pins don't have any protection on them, so if you aren't careful then you could do damage to the Raspberry Pi (which I don't want to do), so I'd rather use the USB B port to power it. The issue is that I will be using a battery pack, so I have to come up with a way to connect the + and - cables from the battery pack to the Micro-USB B port. I only really have two options:
- Cut a Micro-USB B cable in half, and solder the leads from the battery pack in to the cable, and plug the cable in to the Raspberry Pi
- Get a USB-A port to hook up to my breadboard, and just use a standard USB-A to Micro-USB B cable to connect the breadboard to the Raspberry Pi
The first option is difficult because each of the individual wires in a USB cable are tiny, and I'm still not that great at soldering. Also, it wouldn't look that nice, and could possibly break if the cable is bent. Therefore, I think the second option would be the better choice, but I don't have a part to do that, so I need to find and order one.
Until I have this part ordered, the bot won't be able to drive itself around, since it will be have to be connected to a USB port.
No comments:
Post a Comment