Driving a unipolar stepper motor

Status
Not open for further replies.

Wingmax

New Member
Driving a unipolar stepper motor is easier than bipolar motor. The one I got is a 4 phase 7.5 degree/ step. The motor has five wires.

This is continuous from "Driving a stepper motor with PIC and L293D".



Connect the motor wires to the L293D as shown.
This time we just turn on each output pin one at a time, ie pin 3, 6, 11, 14 and repeat... Each time the output pin is on it will make the motor turn one step. The L293D is sinking current when the motor coils are energized, so the corresponding output pin should be a "0".

The following are the codes:

View attachment unipolar sp motor.txt
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…