0
Offline
Newbie
Karma: 0
Posts: 2
Arduino rocks
|
 |
« on: October 26, 2009, 11:01:20 am » |
Hi,
I'd like to run a Duemilanove off an external regulated 5v supply but I'm worried that if I also plug the USB in (without disconnecting the 5v supply) I'll fry something...does anyone know if it's possible to do this?
I'm planning on plugging the 5v directly into the 5v jumper and not the Vin jumper to avoid the dropout from the regulator.
Cheers,
Chris
|
|
|
|
|
Logged
|
|
|
|
|
CH
Offline
God Member
Karma: 19
Posts: 703
Book Writer "Arduino Praxiseinstieg"
|
 |
« Reply #1 on: October 27, 2009, 03:26:51 pm » |
The Duemilanove is not prepared to run with external 5 Volt. The board can powered from the USB port or from an external power supply connected to the power jack (2.1mm) or the Vin-Pin.
The recommended range of the external power supply is 7 to 12 volts.
If you need a 5 volt version of Arduino then you can use the Arduino Pro. A Solutions with 5 volt power supply for Duemilanove is only possible if you do some soldering. Only recommend for professionals!
|
|
|
|
|
Logged
|
|
|
|
|
Copenhagen / Denmark
Online
Edison Member
Karma: 5
Posts: 2339
Do it !
|
 |
« Reply #2 on: October 27, 2009, 03:49:09 pm » |
You should use the power jack and then move the small jumper net to the USB jack.
|
|
|
|
|
Logged
|
|
|
|
|
Lancashire, UK
Offline
Edison Member
Karma: 8
Posts: 1988
|
 |
« Reply #3 on: October 27, 2009, 03:52:23 pm » |
The Duemilanove doesn't have the power jumper, it autoselects which power to use (DC power socket / USB).
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Newbie
Karma: 0
Posts: 2
Arduino rocks
|
 |
« Reply #4 on: October 27, 2009, 04:19:29 pm » |
Thanks, I guess I'll have to find some way of getting at the unregulated 9V then
|
|
|
|
|
Logged
|
|
|
|
|
SF Bay Area (USA)
Offline
Faraday Member
Karma: 78
Posts: 5454
Strongly opinionated, but not official!
|
 |
« Reply #5 on: October 27, 2009, 05:09:53 pm » |
The Duemilanove is not prepared to run with external 5 Volt. Really? Is that documented/explained anywhere? I've been wondering how the new power circuit interacted with +5V via the power connector, but hadn't seen anything definitive. I guess that technically, none of the USB arduinos were ever designed to be powered via the +5V power pins (and especially not with USB connected at the same time), but there were reports that it worked... You can probably rig up something that feeds in +5V via the USB connector (disconnecting the USB power and using a common ground...)
|
|
|
|
|
Logged
|
|
|
|
|
Copenhagen / Denmark
Online
Edison Member
Karma: 5
Posts: 2339
Do it !
|
 |
« Reply #6 on: October 27, 2009, 05:44:02 pm » |
UUUpps i was lookin at one of my way old boards
|
|
|
|
|
Logged
|
|
|
|
|
CH
Offline
God Member
Karma: 19
Posts: 703
Book Writer "Arduino Praxiseinstieg"
|
 |
« Reply #7 on: October 28, 2009, 02:20:16 am » |
Really? Is that documented/explained anywhere? I've been wondering how the new power circuit interacted with +5V via the power connector Technically it works with +5 Volts at the power jack or at the Vin. But the recommended range is from 7 to 12 Volts. The new arduino board uses a low drop voltage regulator. That means the input voltage must be only a little higher as the output voltage (5V). If you run it with 5 volts it is not in a stable range and you can get troubles with your circuit. I couldn't find any documentation but I checked the schema how the power supply is implemented.
|
|
|
|
|
Logged
|
|
|
|
|
SF Bay Area (USA)
Offline
Faraday Member
Karma: 78
Posts: 5454
Strongly opinionated, but not official!
|
 |
« Reply #8 on: October 28, 2009, 04:41:38 am » |
We (or I, anyway) was talking about feeding a regulated 5V into the "5V" pins on the bottom "power" shield connector. This puts it in past the regulator circuit, similar to if it had come from the USB connector. In the old days, you could keep the USB power switched off manually and I think things would be OK. I'm not sure about the new scheme, though...
|
|
|
|
|
Logged
|
|
|
|
|
CH
Offline
God Member
Karma: 19
Posts: 703
Book Writer "Arduino Praxiseinstieg"
|
 |
« Reply #9 on: October 28, 2009, 05:03:43 am » |
We (or I, anyway) was talking about feeding a regulated 5V into the "5V" pins on the bottom "power" shield connector That's not possible because the Duemilanove has a power detection circuit that checks for power on pin Vin. Vin is high if power comes from power jack or from Vin pin. Otherwise the +5 V is connected to the USBVCC-Signal and the board will be feeded from USB. There is no more switch to manually switch between USB and external power supply.
|
|
|
|
|
Logged
|
|
|
|
|
Offline
God Member
Karma: 3
Posts: 985
Arduino rocks
|
 |
« Reply #10 on: October 28, 2009, 05:10:44 am » |
I would not connect an external power supply directly to +5V while USB is connected. Rather I would look into what "westfw" suggested: You can probably rig up something that feeds in +5V via the USB connector (disconnecting the USB power and using a common ground...)
There should be no issue however powering Duemillanove with a regulated 5V supply to +5V as long as USB is not connected. The Duemillanove regulator drops only about 1V (Vin to +5V), but the switchover cicuit senses on Vin/2 versus 3.3V from USB. So as long as Vin is less than 6.6V, you should not connect the board to USB. The power jack drops an additional 0.7V across the reverse polarity protection diode so this would add up to a minumum of 7.3V for a proper switchover between USB and onboard power. And as always, a safety margin wouldn't hurt.
|
|
|
|
|
Logged
|
|
|
|
|
Western New York, USA
Offline
Faraday Member
Karma: 17
Posts: 3461
|
 |
« Reply #11 on: October 28, 2009, 07:56:25 am » |
The Duemillanove regulator drops only about 1V (Vin to +5V), but the switchover cicuit senses on Vin/2 versus 3.3V from USB. So as long as Vin is less than 6.6V, you should not connect the board to USB. Don't forget that 'Vin' is defined after series diode 'D1' so we are talking about an input voltage 'PWRIN' of about 0.5 to 0.7 volts higher than the 6.6 V that is mentioned above. Don
|
|
|
|
|
Logged
|
|
|
|
|
Left Coast, CA (USA)
Offline
Brattain Member
Karma: 279
Posts: 15314
Measurement changes behavior
|
 |
« Reply #12 on: October 28, 2009, 08:24:14 am » |
I really feel that if one wants to power the board with an external regulated +5vdc, the cleanest way is to use a spare hacked USB cable and wire the voltage to the two USB power wires and plug it into the board's USB connector.
Lefty
|
|
|
|
|
Logged
|
|
|
|
|
SF Bay Area (USA)
Offline
Faraday Member
Karma: 78
Posts: 5454
Strongly opinionated, but not official!
|
 |
« Reply #13 on: October 28, 2009, 10:51:39 am » |
wire the voltage to the two USB power wires The problem with this is that one of the reasons to use an external 5V supply in the first place is so that you can have more than the 500mA allowed through USB. If you feed in a supply via the USB power wires, you also go through the 500mA fuse... I guess the other reason for the question involves a battery powered device that you want to connect to a computer "occasionally." It would be common and desirable to have the battery power the arduino via the +5V connection (run straight off batteries, and/or with a higher efficiency regulator than possible via the regulator and Vin.) The automatic switching makes this troublesome (probably you don't want USB feeding the battery supply backward! Could cause fire depending on exact circuit and battery technology!)
|
|
|
|
« Last Edit: October 28, 2009, 10:56:22 am by westfw »
|
Logged
|
|
|
|
|
Atascadero, CA
Offline
Sr. Member
Karma: 2
Posts: 468
Arduino addict
|
 |
« Reply #14 on: October 28, 2009, 10:37:47 pm » |
After reviewing the schematic of the Duemilanove ( http://arduino.cc/en/uploads/Main/arduino-duemilanove-schematic.pdf), I see no reason there would be a problem running the board from a regulated 5V supply on the 5V pin at the same time as the USB. I've done it a few times myself, even before looking at the schematic. If you try to plug a 5V supply into the Vin or the power connector, the board will run from the USB power instead because it auto-selects the best power source between USB and Vin/power connector. The 5V pin is not part of the auto-selection circuit though, so it will always be in use, regardless of whatever other power comes into the board. There is a slight chance of back-flowing voltage into your USB port if the regulated 5V is slightly higher than the USB 5V. But I would expect the USB port to be protected from that.
|
|
|
|
|
Logged
|
What about elevensies? Luncheon? Afternoon tea? Dinner? Supper?
|
|
|
|
|