# Can Arduino Uno output 12v from the digital pins via the use of external power?

**URL:** <https://forum.arduino.cc/t/can-arduino-uno-output-12v-from-the-digital-pins-via-the-use-of-external-power/912655>\
**Category:** General Electronics\
**Created:** [October 7, 2021, 2:38pm UTC](https://forum.arduino.cc/t/can-arduino-uno-output-12v-from-the-digital-pins-via-the-use-of-external-power/912655 "2021-10-07T14:38:17Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![smitho24](https://avatars.discourse-cdn.com/v4/letter/s/22d042/32.png) [@smitho24](https://forum.arduino.cc/u/smitho24)\
**Post date:** [October 7, 2021, 2:38pm UTC](https://forum.arduino.cc/t/can-arduino-uno-output-12v-from-the-digital-pins-via-the-use-of-external-power/912655/1 "2021-10-07T14:38:18Z")

</div>

(Sorry, I'm extremely new to Arduinos) I have an LED strip that requires 12V, but I think the Arduino Uno only does 5V. After reading around, I was curious about how the 'Vin' pin worked... If I connect a 12V battery to the Arduino via the 'Vin' thingo, do all the digital pins become capable of outputting 12V? Or will that just fry the circuit?

I guess I should be asking, what exactly does the Vin do? What is the purpose, or how is it utilized?

(I know there's a way of powering the LED strip with relays and external power, but I've currently run out of relays, so I'm tryna be creative.)

---

<div class="post-metadata">

**Author:** ![MarkT](https://avatars.discourse-cdn.com/v4/letter/m/c89c15/32.png) [@MarkT](https://forum.arduino.cc/u/MarkT)\
**Post date:** [October 7, 2021, 2:41pm UTC](https://forum.arduino.cc/t/can-arduino-uno-output-12v-from-the-digital-pins-via-the-use-of-external-power/912655/2 "2021-10-07T14:41:58Z")

</div>

> [@smitho24](#):
>
> Arduino Uno only does 5V. After reading around, I was curious about how the 'Vin' pin worked... If I connect a 12V battery to the Arduino via the 'Vin' thingo, do all the digital pins become capable of outputting 12V? Or will that just fry the circuit?

Vin is regulated down to 5V internally, everything else is strictly 5V. Vin is solely to allow powering from a source greater than 5V (well, greater than 6.5V actually). For instance you might have a 7.4V 2S LiPo power source - that could go to Vin.

The microcontroller pins will fry if exposed to voltages over 5.5V or less than -0.5V (powered up), or outside the range -0.5V to +0.5V when powered down.

---

<div class="post-metadata">

**Author:** ![smitho24](https://avatars.discourse-cdn.com/v4/letter/s/22d042/32.png) [@smitho24](https://forum.arduino.cc/u/smitho24)\
**Post date:** [October 7, 2021, 2:48pm UTC](https://forum.arduino.cc/t/can-arduino-uno-output-12v-from-the-digital-pins-via-the-use-of-external-power/912655/4 "2021-10-07T14:48:53Z")

</div>

Hmm ok. Hypothetically, if I did plug a 7.4V LiPo power source into the Vin, would I be able to power a motor that required 7V? From my understanding of your reply, the pins would instead be fried?

---

<div class="post-metadata">

**Author:** ![missdrew](https://avatars.discourse-cdn.com/v4/letter/m/a8b319/32.png) [@missdrew](https://forum.arduino.cc/u/missdrew)\
**Post date:** [October 7, 2021, 3:14pm UTC](https://forum.arduino.cc/t/can-arduino-uno-output-12v-from-the-digital-pins-via-the-use-of-external-power/912655/5 "2021-10-07T15:14:58Z")

</div>

No.  
7.4V to VIN is regulated down to 5V. This 5V is used by the chips.  
The Arduino is a controller NOT a power supply! Don't try to run anything more than a couple of LEDs from the board, if you do, you risk damaging the main chip.

You can run external things, using an external Power source, as long as you connect the grounds, and if the control signals need higher than 5V, you would need to use a transistor/MOSFET to do the voltage conversion.

---

<div class="post-metadata">

**Author:** ![Devanshu\_Acharya](https://avatars.discourse-cdn.com/v4/letter/d/df705f/32.png) [@Devanshu\_Acharya](https://forum.arduino.cc/u/Devanshu_Acharya)\
**Post date:** [October 7, 2021, 5:44pm UTC](https://forum.arduino.cc/t/can-arduino-uno-output-12v-from-the-digital-pins-via-the-use-of-external-power/912655/6 "2021-10-07T17:44:41Z")

</div>

ViN stands for Voltage In for **ARDUINO UNO Board.** It only powers the AtMega328P chip and the other peripherals on the board. If you want to power a 12V motor, you have to supply power to the motor externally and then you can control the speed and direction of the motor using 5V control signals.

For that please refer this diagram (click on it):  
[![image](https://europe1.discourse-cdn.com/arduino/original/4X/3/c/d/3cdeafe541e2b0b611f77fdf79260dd31c16dfbb.png)](https://lastminuteengineers.com/l293d-dc-motor-arduino-tutorial/)

You can clearly see that external power is being supplied to the motors. But there is a common GND.

An Arduino Pin can only supply 20-40mA per pin.

HTH.

---

<div class="post-metadata">

**Author:** ![Paul\_B](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/paul_b/32/216376_2.png) [@Paul\_B](https://forum.arduino.cc/u/Paul_B)\
**Post date:** [October 8, 2021, 10:34am UTC](https://forum.arduino.cc/t/can-arduino-uno-output-12v-from-the-digital-pins-via-the-use-of-external-power/912655/7 "2021-10-08T10:34:25Z")

</div>

> [@smitho24](#):
>
> Hypothetically, if I did plug a 7.4V LiPo power source into the Vin, would I be able to power a motor that required 7V?

Unfortunately, and I realise this is due to misleading information on the Arduino website (and others), you appear to be mistaking the "Vin" pin for something **useful**! 🙄

Arduino I/O pins are not power sources. They are digital logic **signal** outputs. They are designed to provide up to 20 mA. the 40 mA specification is an "Absolute maximum" or **danger** warning. You do not "power" anything from I/O pins - other than a LED with a current limiting resistor for 20 mA. You use the pins to **control** transistors or (preferable) "logic-level" FETs to switch on motors or such things.

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/system/32/1140315_2.png) [@system](https://forum.arduino.cc/u/system)\
**Post date:** [April 6, 2022, 10:35am UTC](https://forum.arduino.cc/t/can-arduino-uno-output-12v-from-the-digital-pins-via-the-use-of-external-power/912655/8 "2022-04-06T10:35:08Z")

</div>

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.
