|
Posted by Curt Welch on August 9, 2006, 1:58 pm
> > i have just started to work upon my 1st robot.. at 1st i m trying to
> > make my robo movement control mechanism.. i have a stepper motor with 5
> > wires from it.. but i dont kno how to work with this.. i want to
> > control its rotation through microchip PIC.. plz do me a favout to know
> > how to control its rotation through these 5 wires how to interface it
> > through pic output since it gives bit less then 5V of 0utput..
> Highly recommend you spend $25 and buy the Stepper motor Controller Kit
> from All Electronics which contains the chip, switches, motor, PC board
> and basic instructions. You will get a real 'hands on' feel and know-how
> by playing around with it. Cat# SMKIT-2 www.allelectronics.com - I am in
> no way associated with this company, just a very pleased customer for
> years.
> Wayne
And here's a useful spec sheet on the stepper motor control IC from that
same site:
http://www.allelectronics.com/spec/EDE-1200.pdf
It has some typical application schematics to give you some ideas.
If you want to do all the control in software on the PIC, then all you need
is the driver circuits.
A 5 wire motor probably has 4 coils with one wire as a common connected to
all 4 coils. To control the motor, you must energize one coil at a time in
sequence. To make it half-step, you can energize two coils at the same
time to cause the motor to move to a position half way between two steps.
Normally, the +V motor supply will be hooked to the motor common, and the
driver circuit will ground a coil to activate it.
The simple way to do this with a pic is to just use 4 output lines
connected through a driver of some type (transistors or an IC driver) to
the motor. The pdf above has example schematics for drivers.
Here's a site on stepper motors I just found that should help you as well:
http://www.doc.ic.ac.uk/~ih/doc/stepper/
There are ton's of sites on the net to give you ideas if you just Google a
bit.
--
Curt Welch http://CurtWelch.Com/
curt@kcwc.com http://NewsReader.Com/
|
> make my robo movement control mechanism.. i have a stepper motor with 5
> wires from it.. but i dont kno how to work with this.. i want to
> control its rotation through microchip PIC.. plz do me a favout to know
> how to control its rotation through these 5 wires how to interface it
> through pic output since it gives bit less then 5V of 0utput..