Pages: [1]   Go Down
Author Topic: Uno External 5V direct connect?  (Read 655 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Full Member
***
Karma: 1
Posts: 129
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I have a Rev3 Uno. Is there a way of using a 5V external supply (from a 7805 regulator) to power the board?
I mean without modifying the board?
Logged

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

I have a Rev3 Uno. Is there a way of using a 5V external supply (from a 7805 regulator) to power the board?
I mean without modifying the board?

Well the way I do it is to get an old spare USB cable and lop off the PC end, separate out the ground and +5vdc wires and wire them to your external +5vdc voltage source. Then just plug it into the arduino's USB connector.


Lefty
Logged

Brisbane, Australia
Offline Offline
Edison Member
*
Karma: 33
Posts: 1121
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Alternatively you can bring the +5V into the headers directly, as that bypasses the onboard regulator too.  You could do that with a simple pair of male headers connecting to +5V and the adjacent GND, or put those on a small perfboard as a shield if you want to use a screw terminal or similar to secure your external power line.

Geoff
Logged

"There is no problem so bad you can't make it worse"
- retired astronaut Chris Hadfield

Offline Offline
Full Member
***
Karma: 1
Posts: 129
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I have a Rev3 Uno. Is there a way of using a 5V external supply (from a 7805 regulator) to power the board?
I mean without modifying the board?

Well the way I do it is to get an old spare USB cable and lop off the PC end, separate out the ground and +5vdc wires and wire them to your external +5vdc voltage source. Then just plug it into the arduino's USB connector.


Lefty

Hahaha, of course...an easy solution. And then I would be sure to disconnect that USB cable with the one from the desktop when I want to program the micro. When programming the micro, would that create a problem between the 5V on the USB cable running the Uno, and the external regulator feeding other components.
Logged

Offline Offline
Full Member
***
Karma: 1
Posts: 129
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Alternatively you can bring the +5V into the headers directly, as that bypasses the onboard regulator too.  You could do that with a simple pair of male headers connecting to +5V and the adjacent GND, or put those on a small perfboard as a shield if you want to use a screw terminal or similar to secure your external power line.

Geoff
Yes, I though of that, but then I would need to be sure to remove that 5V wire when I plug in the USB cable to program the micro. That seems a risky approach.
Logged

Offline Offline
Edison Member
*
Karma: 116
Posts: 2205
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
from a 7805 regulator

The only regulator that pukes being reverse charged, in my experience, is 1117: they get very hot quickly.

Never had a problem with 780x.
Logged

Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 524
Posts: 26421
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

NCP1117 is what's on Uno R3.
http://www.onsemi.com/pub_link/Collateral/NCP1117-D.PDF
Page 10 would suggest a diode from +5V to Vin might be a good idea to keep from damaging it.
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.

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

I have a Rev3 Uno. Is there a way of using a 5V external supply (from a 7805 regulator) to power the board?
I mean without modifying the board?

Well the way I do it is to get an old spare USB cable and lop off the PC end, separate out the ground and +5vdc wires and wire them to your external +5vdc voltage source. Then just plug it into the arduino's USB connector.


Lefty

Hahaha, of course...an easy solution. And then I would be sure to disconnect that USB cable with the one from the desktop when I want to program the micro. When programming the micro, would that create a problem between the 5V on the USB cable running the Uno, and the external regulator feeding other components.

There can always be a problem with you have an arduino powered off and external wired components or modules powered on but still wired to the arduino. This can cause current to flow through the I/O pin's clamping diode and attempt to power up the arduino through an I/O pin and risk damage. This can be dealt with by using diode or series resistor to limit such current flow but the details of course depend on the specific things you have wired to the arduino.

Lefty


Logged

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

NCP1117 is what's on Uno R3.
http://www.onsemi.com/pub_link/Collateral/NCP1117-D.PDF
Page 10 would suggest a diode from +5V to Vin might be a good idea to keep from damaging it.

Agreed, perhaps the Uno Rev4 will add another diode to the board, much like they did for Rev3 design for the auto-reset latch up problem. Sooner or later they will chase all the gremlins from the Uno.  smiley-grin

If you recall from past years my favorite method of selecting +5vdc voltage source on a arduino board is using jumper clips like they used on the very first arduino designs and as you have used on several of your board designs. KISS is a powerful tool.  smiley-wink

Lefty
« Last Edit: December 19, 2012, 08:14:29 pm by retrolefty » Logged

Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 524
Posts: 26421
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

Not if they keep introducing new ones like changing the regulator did.
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.

Pages: [1]   Go Up
Jump to: