Beruflich Dokumente
Kultur Dokumente
By
Ibrahim N. Tansel
Example 5 Stepping motor
Goal:
+ 5V
B. Connect the end of the RC0 A
coils to the ground through Darlington
array chip (2803). Let the RC0, RC1, RC1 C
RC2 and RC3 control the Darlington RC2 B
array chip to connect the coil ends to
the ground.
RC3 D
Ground
Example 5 Stepping motor
When you apply +5V to any of the left
RC0 A
pin of the Darlington array chip +5V RC1 C
RC2 B
RC3 D
Ground
C D
First find E and F
Rotor
Coil B
Darlington array
PicKit
demo
Stepping
board
motor
Example 5 Stepping motor
Connect the PicKit demo board to the Darlington array which is attached to the breadboard.
Connect the stepping motor to the Darlington array. Run the program.
You have to use the 4 steps (at the example 5) all the time in order. If you use only 1 or 2 or 3, you cannot make
the motor turn smoothly.
You have to check the specs of your stepping motor. Rotation for each step is given. Assume that each step is 6
degrees according to the specs. 360/6=60 step will be needed for one rotation. 60/4=15 times 4 step (our 4
instructions and delays) are needed.
for I = 1 to 15
Next I