Hiya - I'm playing with a little hydroponic-control system... moisture sensor used to trigger a (very) little (1.5V-6V) DC pump.
I'd really like to power both the arduino and the pump with a single AC->DC power-supply.
I'm not sure the best way of doing this... whether to run the pump straight off the Arduino? or somehow run it in parallel, and turn it on with a transistor...
... or what?
Needless to say, am extremely new to all this. Have managed to get all the disparate parts working in principle, but am a bit unsure how to power them all at the same time without having a bunch of different mains-supplies.
Running an Arduino and motor off the same supply
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
-
- Posts: 10
- Joined: Sat Feb 21, 2009 3:11 am
- adafruit_support_bill
- Posts: 88087
- Joined: Sat Feb 07, 2009 10:11 am
Re: Running an Arduino and motor off the same supply
You don't want to run a motor directly from an Arduino pin - the current draw will be too much and will damage the Arduino. Being a pump motor, I'm assuming that you don't need direction control. So a simple transistor will do.
There is a good tutorial here showing how to wire the motor and transistor. Don't forget the kickback protection diode! http://itp.nyu.edu/physcomp/Tutorials/HighCurrentLoads
There is a good tutorial here showing how to wire the motor and transistor. Don't forget the kickback protection diode! http://itp.nyu.edu/physcomp/Tutorials/HighCurrentLoads
-
- Posts: 10
- Joined: Sat Feb 21, 2009 3:11 am
Re: Running an Arduino and motor off the same supply
Fantastic. Thank you.
Please be positive and constructive with your questions and comments.