Simple manual control of stepper motors without a PIC or PC

Written by: admin@makezilla

Picture of Simple manual control of stepper motors without a PIC or PC

This instructable will show you how to control stepper motors (Unipolar OR Bipolar) manually with a knob, without the use of a PIC or PC, so no programming is needed.  The position of the knob determines the position of the motor shaft, which will stay in that position until the knob is turned again. The unipolar and bipolar circuits are different, but each requires only 1 chip.

Step 1: Here's what you'll need.

For the Unipolar board -     (1) rotary encoder

                                                (4) 1K 1/4W resistors

                                                (1) ULN2003 I.C.

 

For the Bipolar board -        (1) rotary encoder

                                                (2) 1K 1/4W resistors

                                                (2) 10k 1/4w resistors

                                                (2) 2N3904 transistors

                                                (1) L293D I.C. (or equivalent such as SN754410NE)

Step 2: Use Eagle files (below) or program of your choice to make the PCB's for each board.

Picture of Use Eagle files (below) or program of your choice to make the PCB's for each board.UnipolarBoard.jpgBipolarSchem.jpgBipolarBoard.jpg

Eagle files for Unipolar Board:

                2wireUnipolarFORmicros2wEnc2.sch

                2wireUnipolarFORmicros2wEnc2.brd

 

Eagle files for Bipolar Board:

                2wireBipolarFORmicros2wEnc2.sch

                2wireBipolarFORmicros2wEnc2.brd

http://www.instructables.com/files/orig/FTZ/C21N/GAB5Q76D/FTZC21NGAB5Q76D.tmp

http://www.instructables.com/files/orig/FXV/3DUL/GAA0ENAT/FXV3DULGAA0ENAT.tmp

http://www.instructables.com/files/orig/FVN/Y2WC/GAA0ENAX/FVNY2WCGAA0ENAX.tmp

http://www.instructables.com/files/orig/F7T/UFUP/GAA12IWL/F7TUFUPGAA12IWL.tmp

 

Step 3: Populate the boards. Here are pictures of the completed boards:

Step 4: Hook up your Motor Voltage, +5v supply, and the appropriate motor to the appropriate board and enjoy.

Here is a video of the bipolar board in action:

http://www.instructables.com/files/orig/FZG/8JJH/GAB5Q76Q/FZG8JJHGAB5Q76Q.avi

Step 5: How it Works

The rotary encoder provides 2 square wave type outputs, each 90 degrees out of phase.  Each board converts those to 2 pairs of complementary outputs, which provide the proper sequence for full-step, high torque driving of unipolar or bipolar motors.   (I used the EVQ-WTEF2515B from Electronic Goldmine), but you could use any quadrature type rotary encoder, including those found in computer mice (the scroll wheel).   The sequence is reversed when the rotary encoder is turned the opposite direction.

Leave a Reply