Good ways to connect battery to pyboard?

The official pyboard running MicroPython.
This is the reference design and main target board for MicroPython.
You can buy one at the store.
Target audience: Users with a pyboard.
Post Reply
rankor
Posts: 38
Joined: Sun Nov 30, 2014 12:38 am

Good ways to connect battery to pyboard?

Post by rankor » Sun Dec 28, 2014 5:20 pm

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.

User avatar
dhylands
Posts: 3821
Joined: Mon Jan 06, 2014 6:08 pm
Location: Peachland, BC, Canada
Contact:

Re: Good ways to connect battery to pyboard?

Post by dhylands » Sun Dec 28, 2014 5:38 pm

What type of batttery are you using. There are many different types, and most of them have holders.

rankor
Posts: 38
Joined: Sun Nov 30, 2014 12:38 am

Re: Good ways to connect battery to pyboard?

Post by rankor » Sun Dec 28, 2014 6:21 pm

dhylands wrote:What type of batttery are you using. There are many different types, and most of them have holders.
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.

User avatar
dhylands
Posts: 3821
Joined: Mon Jan 06, 2014 6:08 pm
Location: Peachland, BC, Canada
Contact:

Re: Good ways to connect battery to pyboard?

Post by dhylands » Sun Dec 28, 2014 6:40 pm

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,

Post Reply