There are obviously several ways to connect batteries to the pyboard and what is better depends on your application.
But it would be interesting to see what kind of solutions you have chosen and for what applications.
I have a 2-wheel robot where I can screw on the battery holders on to the plate but I want an easy and secure way to clip the battery onto the pyboard without soldering.
It needs to stay in even if the robot bumps in to something.
Good ways to connect battery to pyboard?
Re: Good ways to connect battery to pyboard?
What type of batttery are you using. There are many different types, and most of them have holders.
Re: Good ways to connect battery to pyboard?
Well I am not talking about the holder for the batteries but the connection to the board. For Arduiono there is a plug to connect the battery but the pyboard has no such thing. So what do you do? Solder header pins to the board and then the battery on to that? I would like something less permanent that makes it easy to clip in and out the battery.dhylands wrote:What type of batttery are you using. There are many different types, and most of them have holders.
Re: Good ways to connect battery to pyboard?
I normally use a plug, and for batteries I like keyed connectors so you can't plug them in backwards. I like Molex KK connectors when the current draw isn't huge:
For something like the pyboard, I tend to create a carrier board that the pyboard would plug into.
So for my teensy, I did a carrier board like this: http://1.bp.blogspot.com/-rgTTfKIKpNA/U ... eakout.jpg
I used a barrel connector there because the battery holder I was using had a barrel jack on it.
You can us the VIN line to power the pyboard.
Alternatively, you could cut up a USB cable (or use a breakout like this: https://www.sparkfun.com/products/10031) and use that to power the pyboard as well,
For something like the pyboard, I tend to create a carrier board that the pyboard would plug into.
So for my teensy, I did a carrier board like this: http://1.bp.blogspot.com/-rgTTfKIKpNA/U ... eakout.jpg
I used a barrel connector there because the battery holder I was using had a barrel jack on it.
You can us the VIN line to power the pyboard.
Alternatively, you could cut up a USB cable (or use a breakout like this: https://www.sparkfun.com/products/10031) and use that to power the pyboard as well,