Can I use an AC power adapter that can be connected through USB port? My board is Arduino Uno and usually connect to my computer through the USB cable.
AC power adapter <-> USB port <-(USB cable)-> Arduino USB port
What kinds of components can be used as external power supply for Arduino board? It's really nice if you have some images or names about them.
4 Answers 4
An Arduino Uno can be powered by
- a stable (regulated) 5V DC, which you can either supply via the USB power lines, or via the shield connectors, or
- an unregulated 6-20 V DC (7-12V recommended), which you can supply via the 2.1 mm centre-positive barrel plug connector.
I would not recommend using a 9V battery, because its voltage will drop quickly, but in a pinch this can be used.
-
\$\begingroup\$ do you have some images as example? I'm pretty much newbie at this stuff. \$\endgroup\$Pete Houston– Pete Houston2012年01月25日 05:39:25 +00:00Commented Jan 25, 2012 at 5:39
-
\$\begingroup\$ What about the maximum allowed current? can i use 12V-1500MA adapter? and also would it be ok if i connect the USB cable while the adapter is plugged in? \$\endgroup\$razzak– razzak2015年05月13日 18:55:22 +00:00Commented May 13, 2015 at 18:55
-
\$\begingroup\$ 12V/1.5A should be OK, but the things you connect to the arduino should not draw too much current. A couple of LEDs will be totally OK. Plugging both USB and external power is not a good idea, the USB could be back-powered. \$\endgroup\$Wouter van Ooijen– Wouter van Ooijen2015年05月13日 19:19:22 +00:00Commented May 13, 2015 at 19:19
The answer is 6-20V (7-16V recommended). http://arduino.cc/en/Main/arduinoBoardUno
-
\$\begingroup\$ Yep. I use a 5v regulated myself. \$\endgroup\$mikeY– mikeY2013年06月03日 22:39:46 +00:00Commented Jun 3, 2013 at 22:39
Yes, you could use a USB battery device or USB charger or a 9V battery clip with a 2.1mm DC power plug.
-
\$\begingroup\$ Why Wouter van Ooijen doesn't recommend 9V battery and you do? \$\endgroup\$Pete Houston– Pete Houston2012年01月25日 05:40:36 +00:00Commented Jan 25, 2012 at 5:40
-
\$\begingroup\$ I included why I don't recommend a 9V battery. Hence you can infer that Hellonearthis gives less weigth to that argument. Conclude for yourself whether it is relevant in your case. \$\endgroup\$Wouter van Ooijen– Wouter van Ooijen2012年01月25日 08:16:20 +00:00Commented Jan 25, 2012 at 8:16
-
\$\begingroup\$ This is what I use broken cell phone chargers for. BTW it's that hello near ths? Or hell on earth is? \$\endgroup\$user23736– user237362013年05月09日 22:25:34 +00:00Commented May 9, 2013 at 22:25
Can i use 12V-1500MA adapter?
Since no-one mentioned this: I believe the arduino uses a linear regulator. This converts the input voltage down to 5V by burning the excess power as heat.
For example, if you supply it with 12V and the arduino draws 100mA on the 5V supply, then the regulator will have 12-5=7V dropout, and it will dissipate 7V*0.1A = 0.7W.
Since it is usually a small SMD device, not fitted with a heat sink, it can't dissipate a lot of power. It will overheat very easily if you draw high current.
Thus if you feed it with 12V the limit will not be the supply current (unless your supply is really wimpy) but the onboard regulator dissipation.
This does not apply if you use a 5V supply, like a 2A cellphone charger, although some components on the board, like the ferrite beads on the +5V line, may object to such high currents.
Anyway, if you want to do high current stuff like servos, motors, long LED strips and the like, power them separately from the supply, and definitely not from the arduino itself. The arduino should control your stuff, light a few LEDs for indication, total maybe 100mA, but it is not designed for power.
AC power adapter that can be connected through USB port
I would not recommend putting a 12V adaptor 'on' your USB port. \$\endgroup\$