Go Down

Topic: Powering An Arduino Uno With 12v? (Read 11479 times) previous topic - next topic

WaLLe

Aug 07, 2017, 10:32 pm Last Edit: Aug 07, 2017, 11:02 pm by WaLLe
So i have been googleing around about powering the arduno with 12 v but i cant seem to find anything. So the question is -Can you power an arduino uno with 12 v dc directly in to Vin?
do you need any regulators or somethin like that?
also will the arduino get fried instantly if i try?
Can i use the barreljack?

WaLLe

Grumpy_Mike

#1
Aug 07, 2017, 11:13 pm Last Edit: Aug 07, 2017, 11:14 pm by Grumpy_Mike
Quote
Can you power an arduino uno with 12 v dc directly in to Vin?
Yes.

INTP

So i have been googleing around about powering the arduno with 12 v but i cant seem to find anything.

WaLLe
Bull. What exactly are you typing into Google that fails so hard?

Wawa

Hi, and welcome to the forum.

If you can, use the DC jack.
The DC jack has a reverse voltage protection diode. The V-in pin has not.

Make sure your supply is regulated. An unregulated 12volt supply could output 16volt or more unloaded.

Don't draw more than ~100mA from the 5volt pin on a 12volt supply (for sensors etc.).
Because that could overheat the onboard regulator.

If you need to draw more, change to a 9volt supply.
Or use a 5volt cellphone charger, connected to the USB socket.
Leo..

WaLLe

Thanks for the replies!

im new to this so do you think this is ok?
red : outputs and blue : inputs

MarkDerbyshire

On your breadboard you have the red and black strips.  Red is positive and black is ground.  You have the GND on the red strip and Vin on the Black strip.   Not a problem if you remember that this is how you have configured it.

You also have (as far as I can decipher) the VCC of the Relay board connected to the GND of the UNO and the GND of the relay board connected to the Vin of the UNO

See what I'm getting at.

A schematic would be better than a picture of a rats nest

Grumpy_Mike

Best if you post your image like this

WaLLe

Ok.

i tried and everything worked except the pushbotton worked as a capacitive sensor?
what should i do? is it the hig voltage? is it dangerous that the regulator is getting a little bit warm?

Wawa

It seems that you are powering the relay module from the 5volt pin of the Uno.
That setup can't be powered from 12volt, because relays use about 75mA each when active.
Read post#3 again.

A pushbutton acting as capacitive sensor means that you didn't use a pull up resistor with the switch.
The Arduino has buildin pull up resistors, so why not use them.
Connect button between pin and ground, and use this in void setup()

pinMode(buttonPin, INPUT_PULLUP);

Leo..

Go Up