# I don't understand Uno VIN polarity - Help

**URL:** <https://forum.arduino.cc/t/i-dont-understand-uno-vin-polarity-help/1089937>\
**Category:** UNO R3\
**Created:** [February 14, 2023, 3:24am UTC](https://forum.arduino.cc/t/i-dont-understand-uno-vin-polarity-help/1089937 "2023-02-14T03:24:42Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![anon628042](https://avatars.discourse-cdn.com/v4/letter/a/d6d6ee/32.png) [@anon628042](https://forum.arduino.cc/u/anon628042)\
**Post date:** [February 14, 2023, 3:24am UTC](https://forum.arduino.cc/t/i-dont-understand-uno-vin-polarity-help/1089937/1 "2023-02-14T03:24:42Z")

</div>

Hi. Total newb here. I want to power my Uno with a 12V power supply as that's what is need for the DC motor I am connecting. I read this on the net:

_Another important thing to note is Vin pin is directly connected to on board voltage regulators which means Vin pin has no **reverse polarity protection** for current, as it bypasses the diode circuit attached with DC barrel jack. While connecting Arduino through Vin pin wires polarity must be taken into consideration otherwise a single wrong connection can burn the Arduino board._

How can I connect anything wrong as I understand all I am doing is connecting the red (+) wire from my 12V power supply to the Vin? I must be missing something here. How can there be polarity in a single wire?

---

<div class="post-metadata">

**Author:** ![groundFungus](https://avatars.discourse-cdn.com/v4/letter/g/73ab20/32.png) [@groundFungus](https://forum.arduino.cc/u/groundFungus)\
**Post date:** [February 14, 2023, 3:31am UTC](https://forum.arduino.cc/t/i-dont-understand-uno-vin-polarity-help/1089937/2 "2023-02-14T03:31:29Z")

</div>

You **must** also connect the ground from the power supply to the  
Arduino ground. Connecting only the positive 12V wire only will not work.

What is going to be powered by the Arduino 5V?

Be careful when using the power plug or Vin. Powering through Vin or the power jack means that the Arduino and all peripherals that are on the 5V rail are powered by the onboard 5V regulator. The on board 5V regulator is not heat sinked so will supply limited current before it overheats and shuts down. Keep the total power dissipated by the on board regulator to less than 1W to avoid overheating. The amount of current depends on the voltage input to Vin or the power jack. The higher the voltage the less current can be supplied. I would use a buck converter to drop the higher voltage to 5V and connect that to the 5V on the Arduino, bypassing the, weak, 5V regulator if the 5V rail needs to provide much current. Then the rated current of the DC DC converter is available on the 5V line.

---

<div class="post-metadata">

**Author:** ![anon628042](https://avatars.discourse-cdn.com/v4/letter/a/d6d6ee/32.png) [@anon628042](https://forum.arduino.cc/u/anon628042)\
**Post date:** [February 14, 2023, 3:55am UTC](https://forum.arduino.cc/t/i-dont-understand-uno-vin-polarity-help/1089937/3 "2023-02-14T03:55:04Z")

</div>

I want to use a 12V DC power supply to power a 12V DC motor that draws 300mA and am using a L293D in between. I can't plug the power supply into the barrel jack as it doesn't have that kind of connector.

---

<div class="post-metadata">

**Author:** ![groundFungus](https://avatars.discourse-cdn.com/v4/letter/g/73ab20/32.png) [@groundFungus](https://forum.arduino.cc/u/groundFungus)\
**Post date:** [February 14, 2023, 4:55am UTC](https://forum.arduino.cc/t/i-dont-understand-uno-vin-polarity-help/1089937/4 "2023-02-14T04:55:38Z")

</div>

OK, but if you use Vin you still have to connect the ground from the 12V supply if you want to power the Arduino with +12V into Vin.

I ask again, what is being powered by the Arduino 5V regulator?

Do you understand that the current available to any peripherals connected to the 5V regulator output is very limited when using 12V into Vin? Do you understand why?

---

<div class="post-metadata">

**Author:** ![anon628042](https://avatars.discourse-cdn.com/v4/letter/a/d6d6ee/32.png) [@anon628042](https://forum.arduino.cc/u/anon628042)\
**Post date:** [February 14, 2023, 1:34pm UTC](https://forum.arduino.cc/t/i-dont-understand-uno-vin-polarity-help/1089937/5 "2023-02-14T13:34:08Z")

</div>

Only a single 12V motor is getting powered but through a L293D so the 12V will power it directly. Arduino is just running the program. I am going to download Fritzing and post the schematic.

---

<div class="post-metadata">

**Author:** ![GrandPete](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/grandpete/32/1126625_2.png) [@GrandPete](https://forum.arduino.cc/u/GrandPete)\
**Post date:** [February 14, 2023, 1:48pm UTC](https://forum.arduino.cc/t/i-dont-understand-uno-vin-polarity-help/1089937/6 "2023-02-14T13:48:21Z")

</div>

hi!

I use L298D for my toy car, and its has a 5V output.  
So my main power (2 Li Ion battery for like 7V in output) is connected directly to the L298D input, and it powers the motor in 12V as powers the board in 5V.

If I am right, there is a jumper on the module to activate or not the 5V output (not to be done if the module is power with 12V according to datasheet).

So for my point of view, you already have everything needed for a clean and functionnal configuration.

EDIT: hmmm. looks like I made a mistake with the module, so for things to be clear here is what I make reference of  
 ![image](https://europe1.discourse-cdn.com/arduino/original/4X/8/b/6/8b6fbe4128ddb464de8e33ac40e5b284ad871b91.png)

---

<div class="post-metadata">

**Author:** ![b707](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/b707/32/854321_2.png) [@b707](https://forum.arduino.cc/u/b707)\
**Post date:** [February 14, 2023, 2:35pm UTC](https://forum.arduino.cc/t/i-dont-understand-uno-vin-polarity-help/1089937/7 "2023-02-14T14:35:54Z")

</div>

> [@anon628042](#):
>
> Only a single 12V motor is getting powered but through a L293D so the 12V will power it directly.

If you going to power a motor only from the 12v power supply, why do you ask about connection this supply to arduino?

---

<div class="post-metadata">

**Author:** ![anon628042](https://avatars.discourse-cdn.com/v4/letter/a/d6d6ee/32.png) [@anon628042](https://forum.arduino.cc/u/anon628042)\
**Post date:** [February 14, 2023, 6:52pm UTC](https://forum.arduino.cc/t/i-dont-understand-uno-vin-polarity-help/1089937/8 "2023-02-14T18:52:22Z")

</div>

Because the Arduino needs to get powered too and I thought I could do it from the 12V power supply too as indicated using the VIN port by splitting the 12V cable to it.

---

<div class="post-metadata">

**Author:** ![anon628042](https://avatars.discourse-cdn.com/v4/letter/a/d6d6ee/32.png) [@anon628042](https://forum.arduino.cc/u/anon628042)\
**Post date:** [February 15, 2023, 11:40pm UTC](https://forum.arduino.cc/t/i-dont-understand-uno-vin-polarity-help/1089937/9 "2023-02-15T23:40:30Z")

</div>

Is that not possible? It seems that I can else why do they say you can plug the 12V power supply into the VIN port?

Can anyone help me understand this and what they mean by polarity? How do I do I plug in the 12V power supply into the Arduino correctly?

---

<div class="post-metadata">

**Author:** ![b707](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/b707/32/854321_2.png) [@b707](https://forum.arduino.cc/u/b707)\
**Post date:** [February 16, 2023, 7:53am UTC](https://forum.arduino.cc/t/i-dont-understand-uno-vin-polarity-help/1089937/10 "2023-02-16T07:53:03Z")

</div>

> [@anon628042](#):
>
> what they mean by polarity?

Arduino DC power jack has two poles, center is positive, outer is GND. Connecting the power supply, you have always to connect both poles.

Polarity of Arduino round DC power jack:

 ![barrel_jack](https://europe1.discourse-cdn.com/arduino/original/4X/e/0/8/e0856fc6f1b5f4291c60abbe46f4c4d996175b59.jpeg)

---

<div class="post-metadata">

**Author:** ![anon628042](https://avatars.discourse-cdn.com/v4/letter/a/d6d6ee/32.png) [@anon628042](https://forum.arduino.cc/u/anon628042)\
**Post date:** [February 16, 2023, 1:44pm UTC](https://forum.arduino.cc/t/i-dont-understand-uno-vin-polarity-help/1089937/12 "2023-02-16T13:44:47Z")

</div>

My question is regarding the VIN port not the barrel jack.

---

<div class="post-metadata">

**Author:** ![b707](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/b707/32/854321_2.png) [@b707](https://forum.arduino.cc/u/b707)\
**Post date:** [February 16, 2023, 1:49pm UTC](https://forum.arduino.cc/t/i-dont-understand-uno-vin-polarity-help/1089937/13 "2023-02-16T13:49:51Z")

</div>

What's the difference?  
Cetntral pin of jack is connected to VIN, and GND is GND

Sorry, I really didn't figure out, what are you dont understand

---

<div class="post-metadata">

**Author:** ![robertnc](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/robertnc/32/1013044_2.png) [@robertnc](https://forum.arduino.cc/u/robertnc)\
**Post date:** [February 16, 2023, 2:00pm UTC](https://forum.arduino.cc/t/i-dont-understand-uno-vin-polarity-help/1089937/14 "2023-02-16T14:00:37Z")

</div>

Your question has been answered already. Connect positive to Vin, negative to GND. I highly suggest you also take the advice of using a buck converter. And anything with wires can be fitted with a barrel jack, they cost pennies on amazon

---

<div class="post-metadata">

**Author:** ![anon628042](https://avatars.discourse-cdn.com/v4/letter/a/d6d6ee/32.png) [@anon628042](https://forum.arduino.cc/u/anon628042)\
**Post date:** [February 16, 2023, 6:15pm UTC](https://forum.arduino.cc/t/i-dont-understand-uno-vin-polarity-help/1089937/15 "2023-02-16T18:15:56Z")

</div>

The question I asked was how to connect the 12V power supply to the VIN and what polarity in THAT situation means, not with respect to the barrel jack. Since there is apparently a way to do it using the VIN that is what I want to do. I know one can buy a barrel jack and connect it to the power but I don't want to do that and should not have to if using the VIN is possible.

If someone can answer the question that I actually posed I would really appreciate it.

---

<div class="post-metadata">

**Author:** ![groundFungus](https://avatars.discourse-cdn.com/v4/letter/g/73ab20/32.png) [@groundFungus](https://forum.arduino.cc/u/groundFungus)\
**Post date:** [February 16, 2023, 7:07pm UTC](https://forum.arduino.cc/t/i-dont-understand-uno-vin-polarity-help/1089937/16 "2023-02-16T19:07:39Z")

</div>

I have a

> [@anon628042](#):
>
> how to connect the 12V power supply to the VIN

I have answered that question at least twice.

This is starting to look like a troll post.

---

<div class="post-metadata">

**Author:** ![anon628042](https://avatars.discourse-cdn.com/v4/letter/a/d6d6ee/32.png) [@anon628042](https://forum.arduino.cc/u/anon628042)\
**Post date:** [February 16, 2023, 7:18pm UTC](https://forum.arduino.cc/t/i-dont-understand-uno-vin-polarity-help/1089937/17 "2023-02-16T19:18:46Z")

</div>

It's hardly that. Sorry you feel that way. I'm a newbie. Please have some understanding instead of making such insulting comments. You were one too in the beginning and I don't think you would like people calling you a troll.

---

<div class="post-metadata">

**Author:** ![Graeme1858](https://avatars.discourse-cdn.com/v4/letter/g/3d9bf3/32.png) [@Graeme1858](https://forum.arduino.cc/u/Graeme1858)\
**Post date:** [February 16, 2023, 7:29pm UTC](https://forum.arduino.cc/t/i-dont-understand-uno-vin-polarity-help/1089937/18 "2023-02-16T19:29:37Z")

</div>

Hello

I'm an Arduino newbie too but I do have 40 years of electrical and electronic engineering experience. So, if I may, my understanding is, and I'm sure someone will correct me if this is not the case with an Arduino, the barrel jack is the Vin so you can connect your 12V to either. If you use the barrel jack you will connect a positive and negative as expected. If you take a 12V positive to the Arduino Vin connection you will also need to connect a negative from your 12V source to the an Arduino Ground pin. This is the reason polarity was mentioned. If you don't link the ground of the source, the ground of the Arduino and the ground of the motor then you will have problems.

HTH

---

<div class="post-metadata">

**Author:** ![groundFungus](https://avatars.discourse-cdn.com/v4/letter/g/73ab20/32.png) [@groundFungus](https://forum.arduino.cc/u/groundFungus)\
**Post date:** [February 16, 2023, 7:29pm UTC](https://forum.arduino.cc/t/i-dont-understand-uno-vin-polarity-help/1089937/19 "2023-02-16T19:29:42Z")

</div>

![image](https://europe1.discourse-cdn.com/arduino/original/4X/3/7/9/379f8b8145172ee3d9f22d06c38e07e39cd8d15d.png)

Power supply positive (+) to Vin.  
Power supply negative (-) to ground.

Does this make sense?

The power jack has a diode in series between the jack and the input of the 5V regulator so reverse connection will not kill the regulator. There is no diode between the Vin pin and the input to the regulator so connecting ground (-) to Vin and 12V to ground will destroy the regulator so polarity is very important in that case.

That is why it is recommended for a new user to use the power jack. There is reverse polarity protection.

---

<div class="post-metadata">

**Author:** ![EmilyJane](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/emilyjane/32/821537_2.png) [@EmilyJane](https://forum.arduino.cc/u/EmilyJane)\
**Post date:** [February 16, 2023, 7:34pm UTC](https://forum.arduino.cc/t/i-dont-understand-uno-vin-polarity-help/1089937/20 "2023-02-16T19:34:15Z")

</div>

And yet you haven't provided any information about this power supply you want to plug in other than that it's 12 volts, not a part number, not a data sheet, not what kind of connector it has, not a photo, nothing. This is how trolls act.

---

<div class="post-metadata">

**Author:** ![anon628042](https://avatars.discourse-cdn.com/v4/letter/a/d6d6ee/32.png) [@anon628042](https://forum.arduino.cc/u/anon628042)\
**Post date:** [February 17, 2023, 1:38am UTC](https://forum.arduino.cc/t/i-dont-understand-uno-vin-polarity-help/1089937/21 "2023-02-17T01:38:59Z")

</div>

I didn't know that the type of power supply was required. If I did I would have provided that information, right? You are also the first person that asked. I am not a troll but am a newbie so please stop with that, ok? It's not very nice accusing people that just want to learn with insults like that.

My power supply is a Eventek 5-35V power supply that I can run at 12V. It has 2 wires: red (+) and black (-).

[Next page](https://forum.arduino.cc/t/i-dont-understand-uno-vin-polarity-help/1089937.md?page=2)
