External Power source ODD behavior

Folks,

I have an arduino UNO running a couple of Dallas thermometers, an RTC breakout, SD card reader breakout, an XBEE wifi module and a couple of 5v relays. The whole setup consumes about 250 Mili Amps...

Here's the odd behavior and I can't figure out WHY its happening:

  • I can operate the whole setup from en external phone charger connected to the USB on the arduino.
  • I can operate from my computer's USB connected to the USB on the arduino.
  • I can operate from an external battery pack (6 AA batteries) connected to the arduino jack.

However, when I use a 2amp 12V external power source connected to the Arduino's Jack, everything runs EXCEPT the xbee wife module. The Xbee will not connect to my wifi network. When running on the external 12v source, the voltage drops to about 11.8V, does not overheat or appear to be damaged or anything...

If I run BOTH the external 12V power source AND the USB connected to my computer or the phone charger, everything works fine.

So, obviously the external power source is at fault and needs to be replaced... Question is Why?? I have had this kind of problem before with other power sources and would like to know how to avoid it in the future

TIA
P

Are you sure this is a 12volt DC supply, not 12volt AC.

Is it a heavy transformer based supply, or a modern switchmode supply.
Leo..

Wawa:
Are you sure this is a 12volt DC supply, not 12volt AC.

Is it a heavy transformer based supply, or a modern switchmode supply.
Leo..

Tks Leo,
Quite sure its a 12V DC modern power source - just measured it again. It came form an external Hard Disk Drive I no longer use...

P

External hard drive supplies should be ok.

Did you measure Arduino's 5volt and 3.3volt supply pins.

If they are ok, I don't know.
Maybe the power supply wiring changes your WiFi footprint.
How far away from the router.
Did you try turning/moving the WiFi module.
Leo..

Hi,
Can you post a picture of the power supply please.

If your DC drops to 11.8V thats okay, as the regulated supply is regulating 12V at the regulator, not at the end of the power supply DC lead.

When you are on USB only the Xbee and the other hardware on the arduino are using the 5V direct from your computer.

When try and run them off the 12V, you are using the onboard 5V regulator to pass all the load current.

I'd say with 12V in and the load of the xbee and the rest of the hardware, the regulator on the arduino is dropping out, over heating.

With USB and 12V, you are turning the 12V off because of the internal switching circuitry on the arduino board, and just running on USB

12 - 5 = 7V
7 * 250mA = 1.75W.
I don't think the regulator would be happy trying to dissipate 1.75W with only a SMD footprint and no heatsink.

Tom..... :slight_smile:

Photo attached Tom

Tks!

TomGeorge:
With USB and 12V, you are turning the 12V off because of the internal switching circuitry on the arduino board, and just running on USB

Tom..... :slight_smile:

Interesting... I was under the impression the Arduino would use the highest voltage supplied. So if a 12V was supplied via the jack and 5v via the USB, it would pick the jack...

Thanks for setting that straight!!

P

Wawa:
External hard drive supplies should be ok.

Did you measure Arduino's 5volt and 3.3volt supply pins.

Hi Leo,

I just measured the 5V pin and got some interesting results!

Powered from the external phone charger: voltage settles to about 4.7 after several minutes of operation

Powered from the 12v power supply: voltage starts at 4.99V and then, after about 4-5 mins drops to 3.52V... It also explains why the xbee continues to transmit for a minute or so and then shuts off!

I am not using the 3.3V pin, but when powered from the phone charger, its a steady 3.33V

Thanks for the heads-up... I will keep this in mind for future

Its obvious the 12V power source is bad and I will be tossing it out.

Question is, whats damaged in the supply?

Tks for your input!
P

Hi,

No the 12V supply is not bad, read post #4 again.

What the problem is, you have too much load on the UNO 5V regulator.

As time goes by the regulator heats up.
The regulator then lowers its output voltage to lower the load current to stop over heating, that is why you see the 5V go down to 3.25V.
The regulators have built in thermal protection.

Try a 9V supply, but you will probably have to provide a separate 5V supply for some of the hardware connected to the UNO to take the load off its 5V regulator.

Tom.... :slight_smile:

Hi Tom

I appreciate your time to reply my messages!

I guess I am a tad confused!!

You say its probable the 12V source itself is ok and the Arduino's internal regulator is being overworked when the power source is connected to the Arduino power jack - that makes sense to me !

Now, my confusion stems from the from the fact that I used a 9V external battery connected to the same jack and the setup worked perfectly.

Are you saying that at 9V the Arduino's regulator has to work less hard and thus it does not "suffer" as much? Theoretically, if I used a DC to DC regulator to go from the 12V my source provides, to say 7 volts, will my problems go away?

Again, thanks for your replies! I have learned a lot!!

P

Arduino's onboard regulator has to consume the difference between the raw and regulated supply.

9volt - 5volt = 4volt
12volt - 5volt = 7volt

The regulator gets hotter, almost twice as hot, on the 12volt supply, and shuts down.

I asked you to measure the 5volt rail to make sure that was the case.

easy solution: Put 4x 1N4004 diodes in series with the 12volt supply.
That will drop the supply by 2.8volt (4x0.7volt).

A true tech would change the feedback resistor in that suppy, so the supply would output 9volts.
Leo..

Wawa:
I asked you to measure the 5volt rail to make sure that was the case.

See Post # 7

I get it, thanks!!

Wawa:
A true tech would change the feedback resistor in that suppy, so the supply would output 9volts.

Well, problem solved!! I need the 12V that comes out of the power source to run a gas solenoid valve so I could not replace the power source for a 7V one as suggested...

What I did is place a step down converter between my 12V power source and the Arduino. The Arduino now gets 7V, its running cool and has been operating for about 120 minutes without crapping out!!

I had another project running an ethernet shield I was about to toss out due to the same problem!!

Just in case anyone is interested, this is what I am working on:
http://emoncms.org/phamiltonsmith/Electricit

The project I am building allows my solar water heater to connect to emons.org allowing me to view temperatures from the internet. I built the first Arduino based differential controller 19 months ago and right now I am building version 2.0

Thanks again for the replies!
P

Good to hear you have solved the problem.
And thanks for sharing your work.
Leo..

Hi,
Good stuff, looks interesting.

Keep us posted.
There is a section on the forum called, Exhibition/Gallery for projects that members like to share.

Tom.... :slight_smile:

phamilton:
What I did is place a step down converter between my 12V power source and the Arduino. The Arduino now gets 7V

If you want to be even more efficient, let the DC-DC step down the voltage to 5V and feed it to the 5V pin. This way the on board regulator is bypassed completely so no heat at all. And all 5V stuff can connect to the DC-DC right away so you're not limited by the on board regulator at all.