Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

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".

PIC and unipolar stepper motor.JPG

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.

Latest threads

New Articles From Microcontroller Tips

Back
Top