Go Down

Topic: Connecting a Motor to Arduino (Read 2 times) previous topic - next topic

eceela

Heya! I'm completely new to Arduino. Basically I'm after a motor and I found this one on ebay
http://cgi.ebay.com.au/DC-5V-Stepper-Motor-Geared-Arduino-PIC-MCU-DIY-/120692589568?pt=LH_DefaultDomain_0&hash=item1c19d6c400

I was wondering if I needed to buy a shield for it? I'm currently using this electronic brick chassis with my arduino

Can I just plug it in and control it through programming?

Thanks :)

RuggedCircuits

Yes, you need some kind of motor driver to control the motor. The Arduino's pins by themselves don't have enough current.

Looking at the wiring diagram for the motor you need a unipolar motor driver. See this tutorial:

http://www.arduino.cc/en/Tutorial/StepperUnipolar

--
The Gadget Shield: accelerometer, RGB LED, IR transmit/receive, speaker, microphone, light sensor, potentiometer, pushbuttons

Terry King

Yes, read thru the stuff pointed to by Rugged first.  These are stepper motors and are controlled by the sequence of signal applied to the 4 wires.

And I have some Stepper Info here:  http://arduino-info.wikispaces.com/StepperMotors

These little motors are widely used to control air flow with vanes in Air Conditioning systems.

I have some of the driver boards that go with these, like this: http://arduino-direct.com/sunshop/index.php?l=product_detail&p=126

Let us know how your project goes...


DISCLAIMER: I mentioned stuff from my own Shop...



Regards, Terry King  ..On the Red Sea at KAUST.edu.sa
terry@yourduino.com  LEARN! DO! (Arduino Boards, Sensors, Parts @ http://yourduino.com

eceela

thank you both for your replies!!! i really appreciate it :)

i'm not sure which shield to buy, I've never used a bread board before and this project is due quite soon. Are there any shields that I can easily stack on top of the arduino? What's the easiest way to connect the motor shield to arduino?

and by 'stack on' i mean sits on top of like the shield below

Terry King

You can get Motor shields from several suppliers, like this:  http://arduino-direct.com/sunshop/index.php?l=product_detail&p=82

If you want to connect to a separate motor driver board and/or other components, you may like a "Sensor Shield" that makes it easy to connect or cable to different components, like this: http://arduino-direct.com/sunshop/index.php?l=product_detail&p=2



Regards, Terry King  ..On the Red Sea at KAUST.edu.sa
terry@yourduino.com  LEARN! DO! (Arduino Boards, Sensors, Parts @ http://yourduino.com

Go Up