


If you want to use the specified 9V power supply, you need to buy a buck switching voltage regulator, which gets the voltage down to 5V for you. Instead you should connect the LEDs outside of the Arduino to the power supply. They are not made to provide power, but for switching. One GPIO pin can only provide about 20mA (40mA at absolute max, you should stay below 20mA) and only 100mA through all GPIOs together.

You can easily fry the protection diode or the voltage regulator (which is an inefficient linear regulator), if you connect all the LEDs to the 5V pin. This current should never flow through the Arduino. Vin has no direct connection to the VUSB, so the USB port will not get any voltage from the external supply, thus it does not get damaged.īUT: Your thinking is wrong. As explained in one of the answers, that you linked, the Arduino chooses it's power input through the supplied voltage on Vin/barrel jack. Yes, you can simultaneously connect external power supply and USB. Is supplying 5V from both external 5V and USB harmful? Again, my fear is breaking my laptop, and that is the main question. But in that same answer, one person says,Īnd that indicates when the power is plugged in the USB is cut off. These all seem to indicate you don't just "plug in" with both, and you need some other kind of regulator or something. What happens if I power the Arduino with both the USB and external power voltage simultaneously? I don't know if it is because there wasn't enough power to the LED, if I short-circuited something, or something else. The reason I want to at all is because when I connected this circuit, the Arduino would cease to be recognized on the USB. But, I didn't want to destroy my computer because I had the USB and the external plugged in.īut I am still unsure. Can I use the Arduino with an External wall-wart and the USB at the same time? I need to power more LEDs, and the USB on my computer can only supply so much.
