2014年8月21日 星期四

Step Motor

My Arduino starter kit comes with a 28BYJ-48 unipolar step motor and a ULN2003 driver board.






According to the data specification, the motor has a Speed Variation Ratio of 1/64 and Stride Angle of  5.625°, that means

Steps in One revolution = 360°/Stride Angle = 360°/5.625° = 64

This value is used in the coding part and is different for different motor.



The voltage of the motor is 5VDC, so I do not need an external power and connect the VCC of the motor board to the VCC of the Arduino card with a wire for this experiment


Rated voltage : 5VDC
Number of Phase 4
Speed Variation Ratio 1/64
Stride Angle 5.625°/64
Frequency100Hz
DC resistance50Ω±7%(25°C)
Idle In-traction Frequency > 6000Hz
Idle Out-traction Frequency > 1000Hz
In-traction Torque >34.3mN.m(120Hz)
Self-positioning Torque>34.3mN.m
Friction torque600-1200 gf.cm
Pull in torque300 gf.cm
Insulated resistance>10MΩ(500V)
Insulated electricity power600VAC/1mA/1s
Insulation gradeA
Rise in Temperature<40K(120Hz)
Noise<35dB(120Hz,No load,10cm)
Model28BYJ-48 – 5V

     






















For the coding part, I am using the  Motor Knob example (File->Example->Stepper->Motor Knob). Remember to modify the STEPS to the Steps in One revolution of the motor. In this case, the value is 64

// change this to the number of steps on your motor
#define STEPS 64


After uploading the program, the step motor will rotate slowly and the the four led on the driver broad will blink in sequence.







沒有留言:

張貼留言