Author Topic: MCU power supply + PC supply  (Read 2095 times)

0 Members and 1 Guest are viewing this topic.

Offline DzAnejTopic starter

  • Contributor
  • Posts: 24
  • Country: si
MCU power supply + PC supply
« on: December 11, 2016, 11:25:19 am »
Hi, I've got a quick and hopefully easy question.
I'm working a lot with microcontrollers (Arduino, ...) and quite often I am having pritty big loads. Project I am working on now I have a programmable LED strip that draws 7A at max, and the arduino needs to be connected to the computer. Then I have a power supply capable of those 7A to power the strip and the Arduino (5V pin of the arduino is connected to the 5V power supply). Now let's say that my power supply turns off for unknown reason and the only 5V supply comes from the computer. Then probably the load (LEDs) would try to pull that power from the computer and because it's not capable of that something would go wrong (either the fuse on the Arduino or the computer would turn off).
Is there any way/method to prevent that?
Oh, and the computer is not always connected to the arduino, so I can't power the arduino only from the PC...
 

Online Psi

  • Super Contributor
  • ***
  • Posts: 10220
  • Country: nz
Re: MCU power supply + PC supply
« Reply #1 on: December 11, 2016, 11:34:11 am »
Need a schematic of your system
Greek letter 'Psi' (not Pounds per Square Inch)
 

Offline Asim

  • Regular Contributor
  • *
  • Posts: 171
Re: MCU power supply + PC supply
« Reply #2 on: December 11, 2016, 11:48:04 am »
Don't power your arduino from the same 7A power suuply. Use the USB port to power the arduino & the 7A supply to power the led strip seperetley. Note that you need a common ground, so connect a ground from your arduino board to the ground of the led strip.
 

Offline cowana

  • Frequent Contributor
  • **
  • Posts: 325
  • Country: gb
Re: MCU power supply + PC supply
« Reply #3 on: December 11, 2016, 11:57:35 am »
I have a power supply capable of those 7A to power the strip and the Arduino (5V pin of the arduino is connected to the 5V power supply).

As Asim said, it's very bad practice to connect two power supplies directly together (which you have with your PC's 5v USB supply, and the external 7A supply).

Best solution is to only power the LED strip from the external supply, and not the arduino.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf