Pages: [1]   Go Down
Author Topic: Will Uno run on 12v?  (Read 2534 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 3
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi,

I would like to fit both the Arduino Uno and a 12 volt stepper motor into a single box with one powercord.

Output from the Transformer is 12v, 2000 mA. How do I split that between the Arduiono and motor, and will the Arduino run on 12 volts or do I have to decrease it to 5v?

Thanks,
Mike (beginner :-)
Logged

UK
Offline Offline
God Member
*****
Karma: 10
Posts: 903
Twitter: @simonmonk2
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

It will work fine on 12V.

You do not have to split it, just supply 12V to the power connector on the Arduino board, it will take what it needs.

The only problems you may have are if the motor takes such a big current that the voltage drops too low to supply the Arduino. This would cause the Arduino to black out and reset momentarily.

You can guard against this by Giving the Arduino its own reservoir of charge in the form of a large electrolytic capacitor (say 4700uF 16V) and a diode so the motor doesn't steal it.

Code:
   
|--------------- to motor
-------|>|--------- to Arduino
               |
12V           =
               |
--------------------------

Logged

--
My New Arduino Book: http://www.arduinobook.com

Left Coast, CA (USA)
Offline Offline
Brattain Member
*****
Karma: 331
Posts: 16459
Measurement changes behavior
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

The Uno will work with +12vdc if powered throught the external power connector on the board. You will have to somehow
split the power between both the motor and the Uno by splicing the cable. Be sure you wire the correct polarity.

Lefty
Logged

Washington
Offline Offline
God Member
*****
Karma: 30
Posts: 779
Firefox & Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

It will work on 12v through the DC power jack.
Watch out! Some 12v power supplies put out 17v which could overheat the regulator.
Logged

Avoid throwing electronics out as you or someone else might need them for parts or use.
Solid state rectifiers are the only REAL rectifiers.
Resistors for LEDS!

Monterey CA
Offline Offline
Sr. Member
****
Karma: 0
Posts: 321
Addicted to Arduino
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Just get a regulated one. I found a lot of devices come with one. I took mine from a D-link AP. My external WD drive is 12v regulated.
Logged

Current Projects:                    Arduinos:
Security Robot Tank               Uno
Security Robot II 4WD            Mega2560

http://mobilewill.blogspot.com

Offline Offline
Newbie
*
Karma: 0
Posts: 3
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thank you all!  This is a knowledge that could be expensive to learn the hard way!  smiley
Logged

0
Offline Offline
Jr. Member
**
Karma: 0
Posts: 50
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

If your stepper motor draws a lot of current, and many do, you might cause the arduino to crash when the voltage drops. And the voltage will drop, it is just a matter of how much. Some things that will help a lot is keeping the power leads short and twisting them together if you can. Use power leads that are as thick as practical. Leads that are too thing will increase the voltage drop. Adding capacitors across the input to the arduino will also help.

If your stepper motor is large and you have a heavy load on it it will make this problem worse.

Kevin
Logged

Washington
Offline Offline
God Member
*****
Karma: 30
Posts: 779
Firefox & Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

If your stepper motor draws a lot of current, and many do, you might cause the arduino to crash when the voltage drops. And the voltage will drop, it is just a matter of how much. Some things that will help a lot is keeping the power leads short and twisting them together if you can. Use power leads that are as thick as practical. Leads that are too thing will increase the voltage drop. Adding capacitors across the input to the arduino will also help.

If your stepper motor is large and you have a heavy load on it it will make this problem worse.

Kevin
Except for the Arduino to crash/reset the stepper would have to pull the 12v supply down to 6v which is unlikely.
Logged

Avoid throwing electronics out as you or someone else might need them for parts or use.
Solid state rectifiers are the only REAL rectifiers.
Resistors for LEDS!

Pages: [1]   Go Up
Jump to: