Pages: [1] 2   Go Down
Author Topic: Powering Uno from regulated +5VDC Safe/Possible?  (Read 1701 times)
0 Members and 1 Guest are viewing this topic.
Las Vegas, NV
Offline Offline
Newbie
*
Karma: 0
Posts: 1
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Have a Uno board right now that I am playing with.  I have a nice BK Precision power supply on my bench that outputs a very stable and clean +5VDC to my breadboard setup, to which my Uno is velcro’ed to.  I would much prefer to power my Uno from the +5VDC supply instead of separate wall-wart or 9V battery for simplicity of wiring and convenience.  The other two output from my power supply are being used to give +15VDC and -15VDC to some op-amps used on the same project.  From what I have gleaned from the web, this is very possible.  First, am I correct in this regards.  Secondly, do I just plunge right into the +5vDC bus on the board, or somewhere else specific.  Lastly, what pit-falls do I need to be aware of if I go down this route.  One thing that pops to mind is to make sure I never have the USB hooked up and my +5VCD power supply attached at the same time.  Anything else?

Yes, I know that the Uno board might not be my best option.  I'm still working through the hardware and software requirements for my project, and the Uno offers me all options until I figure out exactly what I don't need.  Thanks!
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Send anywhere from 7-12V into the socket marked "Vin", and you should be good to go.
Logged

North Yorkshire, UK
Offline Offline
Faraday Member
**
Karma: 104
Posts: 5531
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

You should be good with just connecting (very carefully), 5VDC into the 5V pin. and Ground into the GND pin.

Pitfalls; there aren't too many
-don't connect into 3V3, or in reverse or bad things may happen smiley-razz
-if you you get any kind of voltage spike then it might damage the Arduino
Logged

Left Coast, CA (USA)
Offline Offline
Brattain Member
*****
Karma: 361
Posts: 17262
Measurement changes behavior
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Supplying a regulated +5vdc to the arduino's 5v shield connector pin to power the board is something that many do without reporting problems.

However there remains the issue, if you do it that way, that when you then plug the board into your PC's USB port to upload sketches, monitor serial data, etc, you are effectively hardwiring your external +5vdc source to your PC's +5vdc source. This is not considered a good engineering practice, tying two voltage sources together. However as I said many do it that way without having any problems.

Lefty
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 48
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Couldn't you hack into the 5v pin of the USB connector on the Uno and send you 5v from the benchtop supply there?  Even better would be to cut the end off a USB cable and figure out which wires are the 5v and ground inside the cable and connect them to your power supply.
Logged

0
Offline Offline
Jr. Member
**
Karma: 3
Posts: 77
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

This is issue has been a real problem for me.  Both the UNO and Duemilanove boards were laid out so cutting the one trace at the USB connector in a way that can be reconnected is almost impossible.  It seems almost intentional.  A cut-the-trace feature right behind the USB connector would have been easy.  It is so difficult that I wonder if there is some other issue the designer knows about and I cannot see.  

Moderator! why no really simple way to isolate Vcc from the USB?  For either board it is simple to isolate the RESET-EN signal, why not the power?.

JC
« Last Edit: March 03, 2011, 09:32:02 am by jcarrr » Logged

Left Coast, CA (USA)
Offline Offline
Brattain Member
*****
Karma: 361
Posts: 17262
Measurement changes behavior
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
Moderator! why no really simple way to isolate Vcc from the USB?  For both of them it easy for the RESET-EN signal.

I don't think the moderator designed the arduio auto voltage switching circuit or did the board layout. LOL

 I don't own any 'official' arduino boards, so I don't have a dog in the fight so to speak. I have a RS-232 arduino compatible board that of course only uses external power via a on-board +5vdc regulator. My other board is a Seeeduino mega board which uses a manual 2 position slide switch to select USB or external power. Interestingly the Seeeduino's FTDI chip is hardwired to the USB +5vdc which saves a little current if you aren't powering the board via USB, cleaver little detail.

I have felt sense the released the auto-voltage selector circuit that it was a overly complex, added too many components, and limited what one could do. They could have added a RTC chip in the same space taken. I much prefer their prior  Diecimila ( and older) method of just using a 3 pin male header where you placed a 2 pin female shorting clip to select which voltage source you wanted to use, or no jumper and then power the board from an external regulated +5vdc voltage source via the +5vdc shield connector pin. But I guess that was to much learning curve for the Arduino target market to handle?  smiley-grin

Lefty
 
« Last Edit: March 02, 2011, 08:46:09 pm by retrolefty » Logged

Global Moderator
Boston area, metrowest
Online Online
Brattain Member
*****
Karma: 524
Posts: 26442
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

One could always remove Fuse F1 and eliminate the 5v path back into the USB connector, no?
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

0
Offline Offline
Jr. Member
**
Karma: 3
Posts: 77
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

There certainly are work arounds, removing the fuse is the slam dunk answer to the problem.  Even if that was a foreseen solution, it would have been nice to have a spot to tag it back down to the board so it was available should someone need to reinstall it.  If I take it off it is almost certain to be instantly lost.  It seems a bit uneven that the option of disconnecting the reset was important enough to facilitate, but not the power source.  The pins and jumper were good.  It was even simple to bend them around and absolutely secure the choice with a bit of solder.

You are correct, the moderator did not lay out the board, but occasionally there are forum responses from names that are a lot closer to the source than I am.  Maybe someone will notice.  Our firm actually consumes a number of the things into data gathering applications.  We use them because they are cheap, available, well supported, quick to configure and compared to other platforms, fun to work with.  Accommodating our need for the trace cut option would help make them more attractive to other commercial consumers as well.  Thus increasing consumption and helping to hold down costs for everyone.

Logged

Right Here!
Offline Offline
Jr. Member
**
Karma: 0
Posts: 66
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

See my reply here.

http://arduino.cc/forum/index.php/topic,54334.0.html

Never had a problem, and I've used lots of Arduinos, every version right back to NG.
Logged

Global Moderator
Boston area, metrowest
Online Online
Brattain Member
*****
Karma: 524
Posts: 26442
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

"You can just plug in you +5V pwer device to Vin"
NO: you bring your exernal +5 to the 5V pin or to the VCC pin (on promini for example), bypassing the regulator.

"One thing that pops to mind is to make sure I never have the USB hooked up and my +5VCD power supply attached at the same time. "
That may be correct - the external power will pass back into the PC - I have found I need to disconnect while downloading a program for example
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

Global Moderator
Boston area, metrowest
Online Online
Brattain Member
*****
Karma: 524
Posts: 26442
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

You see that pin on the power connector called 5V?  That's where you plug in the external 5V & bypass the regulator.

Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

Global Moderator
Boston area, metrowest
Online Online
Brattain Member
*****
Karma: 524
Posts: 26442
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Magician, you are talking about bringing in Vin after the reverse protection diode , but still going thru the regulator.
I am saying use the 5V pin instead which is on the other side of the regulator.
The regulator will not be bothered by 5V on its output from an external source when no Vin is applied.
The promini uses the same regulator, and I have 14 scoring machines at my fencing club powered that way, the first 6 built have been running like that since September 2010, the balance since Dec 2010 & Jan 2011.  No problems.

Others have reported power feeding back into their USB port with 5v applied this way, I posted a schematic elsewhere showing a path thru the regulator where that could occur. Hence the observation to disconnect external power when downloading & powering via USB.

So for the non-technical folks reading this, bring external 5V in thru the 5v pin, and do not make it go thru the regulator.

Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

North Yorkshire, UK
Offline Offline
Faraday Member
**
Karma: 104
Posts: 5531
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Plug +5 in to the 5V pin and Ground into the GND pin.
Not the Vin pin. Ignore the regulator and diode etc - just do as instructed and it will work fine smiley-grin

That's the answer you require.
It is safe if you do it like that and it will work perfectly.
Logged

Switzerland
Offline Offline
Sr. Member
****
Karma: 6
Posts: 375
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Whilst we're on the subject of bypassing the regulator:
I'm running an Uno board right now with a 3.0V supply connected to the 5V pin.  Technically the ATmega328 chip requires at least 3.8V to run at 16MHz, but mine seems happy enough.  As others have mentioned above, it is essential to disconnect the external power before connecting to USB.
Logged

Pages: [1] 2   Go Up
Jump to: