Author Topic: USB Powered Arduino and Floating Power Supply  (Read 2019 times)

0 Members and 1 Guest are viewing this topic.

Offline Charles Creations

  • Contributor
  • Posts: 36
  • Country: us
USB Powered Arduino and Floating Power Supply
« on: December 18, 2014, 12:18:54 am »
Hi,

I am working with an arduino uno that I have hooked up to an analog amplifier that I feed with a 15V supply from by bench supply. I attach the ground lead of the bench supply to the ground of the USB on the arduino uno, and the 15V positive lead to the amplifier voltage rail. The arduino runs perfectly while the 15V supply is off, but when I turn the 15V supply on, the arduino slowly browns out over about 3 seconds (LED grow dimmer, and it reenters setup in the program). It goes into an infinite loop through its setup, so I see the serial terminal sending "Starting up" repeatedly.

Anyone have any advice on using a bench supply to supplement a USB supply when you must keep USB intact for serial com?

Oddly enough, if I am measuring the voltage of the USB 5V rail with my multimeter or oscilloscope, then the brownout does not occur... I cannot explain it. Strangely reminds me of Heisenberg uncertainty principle because every attempt to measure it causes something else.


Thanks,
Charlie
Thanks,
Charlie
 

Offline Fraggie

  • Contributor
  • Posts: 6
Re: USB Powered Arduino and Floating Power Supply
« Reply #1 on: December 22, 2014, 12:25:42 am »
Are both power supplies switching power supplies ?
Had a weird thing myself , powering a odroid board from a switching laptop supply , no probblems, using a dc-dc converter from 24 to 12v , and the powerled on the odroid starts lighting up and dimming in sequence.. weird. (dc-dc rated 5A)

I power a arduino from the pc(usb) and a steppermotor from a 12v laptop psu.. no problems.

You do need to tie both the negative wires together from the arduino and the other board.. (even is one is 5v and the other 12v)
That might be it.
« Last Edit: December 22, 2014, 12:28:54 am by Fraggie »
 

Offline alimirjamali

  • Regular Contributor
  • *
  • Posts: 83
  • Country: ir
  • Analog! D2A or A2D?
    • Ali's personal blog (updated once per year!)
Re: USB Powered Arduino and Floating Power Supply
« Reply #2 on: December 22, 2014, 12:40:01 am »
...I attach the ground lead of the bench supply to the ground of the USB on the arduino uno, and the 15V positive lead to the amplifier voltage rail... :palm:
Anyone have any advice on using a bench supply to supplement a USB supply when you must keep USB intact for serial com?

Connect Ground of your bench supply to one of two ground pins and the +15V to VIN. I emphasize again: VIN. There is a NCP1117 regulator and a bunch of diodes and MOSFETs that will take care of both bench supply and USB power.

See picture below (1st and 2nd PINs from right; Power header):
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf