Which pins for providing power without USB

A shrunk down Leonardo-compatible board, thumb drive sized with native USB support. [Product info]
Post Reply
wintrmute
Posts: 6
Joined: Sun Mar 04, 2012 8:13 am

Which pins for providing power without USB

Post by wintrmute » Sun Mar 04, 2012 8:16 am

Hi,
I've built my little project using the Leostick, and so far I've always powered it from a USB port.
However for actual deployment, it'll be running off batteries.

I'm not clear on which pins I should be providing the 5V power to -- is it the one marked "VIN" or one of the ones marked 5V? (There is one 5V between AREF and RESET, and another one between 3.3V and Ground)

Cheers,
Toby

User avatar
jonoxer
Freetronics Staff
Freetronics Staff
Posts: 298
Joined: Sat Oct 15, 2011 11:31 am
Location: Melbourne, Australia
Contact:

Re: Which pins for providing power without USB

Post by jonoxer » Tue Mar 06, 2012 10:51 am

Just in case it helps and you haven't found it yet, the schematic for the LeoStick is here:

https://github.com/freetronics/LeoStick ... oStick.pdf

One particular thing that's relevant to your question is the note on the schematic about jumpering across the USB-PWR cut-track jumper. After the board was fully routed I added a thin track across that jumper, so even though it's shown as an open circuit in the schematic it's actually a closed circuit in production. That's deliberate, so that in normal use power can be taken from the USB connection.

However, in your case you *may* want to cut the thin track in the middle of that jumper, depending on how you'll be using it. If you connect an external regulated power supply to the 5V rail it would be best to cut that track so that when you plug it into your computer the power supply is not trying to supply power to the computer's USB port. It's quite likely that you'd be OK, but best to play it safe. However, that means you won't then be able to power the LeoStick from the USB port unless you solder back across the cut-track jumper.

The two headers labelled "5V" are connected on the PCB, so it doesn't matter which one you use.

You *could* feed power to VIN, but only if you don't cut the USB-PWR jumper and if you don't have it plugged into a USB port.

I hope that helps. It was a kinda complicated explanation, so if I didn't make sense please say so!
--
Jon

wintrmute
Posts: 6
Joined: Sun Mar 04, 2012 8:13 am

Re: Which pins for providing power without USB

Post by wintrmute » Mon Mar 19, 2012 7:21 am

Hi Jon,
I had found the schematic, but hadn't been sure how to interpret it.
Thanks for clearing that up - your explanation makes sense.

I'm only going to use external power when not actively programming the board, so I think I'll be safe to leave that USB PWR link alone.

ta,
Toby

dtbaker
Posts: 26
Joined: Sat Jun 02, 2012 12:52 pm

Re: Which pins for providing power without USB

Post by dtbaker » Thu Dec 13, 2012 10:06 am

Thanks, was wondering about this. Powering via VIN pin now

Post Reply