Design Con 2015
Breaking News
Comments
Newest First | Oldest First | Threaded View
<<   <   Page 2 / 2
Max The Magnificent
User Rank
Blogger
Re: BYO5V
Max The Magnificent   5/8/2014 10:06:00 AM
NO RATINGS
@ewertz: At least on the Arduinos, you don't have to do any such modifications if you already have regulated 5V available elsewhere.  All that you have to do is to connect your 5V *regulated* PSU to the POWER (the lower left-hand 6/8-pin) header's "5V" pin, and you're done.

Actually, I beg to differ. What you want is that if only the USB cable is plugged in you use that as a power source -- if only an external supply is plugged in you use that as the power source -- and if both the USB and an external supply are plugged in you use the external supply.

The problem with your suggestion -- driving 5V directly into the +5V pin on the header on the Arduino is that the VIN signal is on the input to the regulator -- the resistor divider would generate an outpout of 0V, so the comparator would enable the FET and allow the USB power to come through -- resulting in the USB and your external supply both trying to power the 5V rail.

This wouldn't be a mega issue if they were both at EXACTLY 5V all the time, but there are always going to be tiny differences between them, leaving them fighting with each other.

 

Don J
User Rank
Rookie
USB Operation
Don J   5/8/2014 9:26:18 AM
NO RATINGS
Max, I'm concerned about this circuit operating from USB power only. When the USB power is connected it will initially be fed to +5V through T1 since T1's gate will be low because there is no +5V to IC7 to pull it high. Once +5V charges up to near 5V, IC7 pin5 will become higher than pin 6 (3.3V) and T1 will turn off. Then +5V will start discharging (since it has no source of power). I suspect T1 will turn back on when +5V gets to around 4.5V. The circuit will probably oscillate and maintain +5V somewhere around 4.5V. This is enough to power the 3.3V regulator (I assume - I haven't read the datasheet), so the Arduino may run OK, but I would be concerned about anything (like shields) which are powered from +5V.

Have you measured +5V with a DMM or looked at it with an oscilloscope when powered ONLY by the USB power?

Don J
User Rank
Rookie
Re: BYO5V
Don J   5/8/2014 8:56:33 AM
NO RATINGS
BY05V, If I understood your description correctly, connecting the external 5V to the 5V header pins would allow you to avoid the modifications to D1 and IC1 and power the Arduino from the external supply. However it does not eliminate Max's concern for having the USB power back-driving the external supply. You would also need to add a jumper from +5V to the resistor divider and add the 5.6K to make sure the USB power is disabled when the external supply is connected. I would also be concerned about the USB power back-driving IC1.

ewertz
User Rank
Manager
BYO5V
ewertz   5/7/2014 5:55:48 PM
NO RATINGS
At least on the Arduinos, you don't have to do any such modifications if you already have regulated 5V available elsewhere.  All that you have to do is to connect your 5V *regulated* PSU to the POWER (the lower left-hand 6/8-pin) header's "5V" pin, and you're done.  This pin is on the 5V power "bus" that is either USB bus power or the output of the linear regulator, depending on which you've got connected.

So, basically, instead of using the 5V power pin as an output (for shields or jumpers to breadboards), you're using it as board power input.

You might look to see if this is also an option on the ChipKit boards.  Unless there's something upstream in the power conversion/switching circuit that's going to get back-powered (to any detrement), this should also work.

BTW, I think that many of the 3V3-native boards *only* generate 5V as an intermediate power rail because there are so many legacy shields/circuits that still really do need 5V to work, so they still make it available as a convenience to the user.  Otherwise, the 3V3 Arduino "compatibles" couldn't care less about the existence of 5V.

 

Max The Magnificent
User Rank
Blogger
Re: I've been naughty
Max The Magnificent   5/6/2014 5:16:38 PM
NO RATINGS
@Duane: ...the two companies had rather large booths directly across the aisle from each other.

A bit of a glitch in the planning department there :-)

Duane Benson
User Rank
Blogger
Re: I've been naughty
Duane Benson   5/6/2014 5:13:40 PM
NO RATINGS
Max - "Can't we all just get along? LOL"

One year, at the Embedded Systems Conference, the two companies had rather large booths directly across the aisle from each other.

Throughout the show, I noted several iterations of increasingly... "spirited" signage pointed at the other from across the aisle.

I found humor in it.

Max The Magnificent
User Rank
Blogger
Re: I've been naughty
Max The Magnificent   5/6/2014 4:56:20 PM
NO RATINGS
@Duane: You have both a Atmel and Microchip MCUs in your system. The interaction between the two might stop the spin of the planet.

Can't we all just get along? LOL

Duane Benson
User Rank
Blogger
Re: I've been naughty
Duane Benson   5/6/2014 4:54:42 PM
NO RATINGS
"I don't know what the folks at Arduino and Microchip are going to say when they hear that I've taken a soldering iron to their boards"

I'm not sure it's the soldering iron that anyone will be concerend about. You have both a Atmel and Microchip MCUs in your system. The interaction between the two might stop the spin of the planet,

Max The Magnificent
User Rank
Blogger
I've been naughty
Max The Magnificent   5/6/2014 4:06:56 PM
NO RATINGS
I don't know what the folks at Arduino and Microchip are going to say when they hear that I've taken a soldering iron to their boards...

<<   <   Page 2 / 2


Top Comments of the Week
Flash Poll
Like Us on Facebook

Datasheets.com Parts Search

185 million searchable parts
(please enter a part number or hit search to begin)
EE Life
Frankenstein's Fix, Teardowns, Sideshows, Design Contests, Reader Content & More
Max Maxfield

Want a Voltera Desktop PCB Printer?
Max Maxfield
9 comments
I just received an email from my chum Javi in Spain. "Have you heard about Voltera (VolteraInc.com)? It's a Canadian company that is going to offer desktop-size PCB printers for fast ...

Aubrey Kagan

Have You Ever Been Blindsided by Your Own Design?
Aubrey Kagan
37 comments
I recently read GCHQ: The uncensored story of Britain's most sensitive intelligence agency by Richard J. Aldrich. The Government Communication Headquarters (GCHQ), Britain's equivalent of ...

Martin Rowe

No 2014 Punkin Chunkin, What Will You Do?
Martin Rowe
2 comments
American Thanksgiving is next week, and while some people watch (American) football all day, the real competition on TV has become Punkin Chunkin. But there will be no Punkin Chunkin on TV ...

Rich Quinnell

Making the Grade in Industrial Design
Rich Quinnell
15 comments
As every developer knows, there are the paper specifications for a product design, and then there are the real requirements. The paper specs are dry, bland, and rigidly numeric, making ...

Special Video Section
The LT8640 is a 42V, 5A synchronous step-down regulator ...
The LTC2000 high-speed DAC has low noise and excellent ...
How do you protect the load and ensure output continues to ...
General-purpose DACs have applications in instrumentation, ...
Linear Technology demonstrates its latest measurement ...
10:29
Demos from Maxim Integrated at Electronica 2014 show ...
Bosch CEO Stefan Finkbeiner shows off latest combo and ...
STMicroelectronics demoed this simple gesture control ...
Keysight shows you what signals lurk in real-time at 510MHz ...
TE Connectivity's clear-plastic, full-size model car shows ...
Why culture makes Linear Tech a winner.
Recently formed Architects of Modern Power consortium ...
Specially modified Corvette C7 Stingray responds to ex Indy ...
Avago’s ACPL-K30T is the first solid-state driver qualified ...
NXP launches its line of multi-gate, multifunction, ...
Doug Bailey, VP of marketing at Power Integrations, gives a ...
See how to ease software bring-up with DesignWare IP ...
DesignWare IP Prototyping Kits enable fast software ...
This video explores the LT3086, a new member of our LDO+ ...
In today’s modern electronic systems, the need for power ...