PROJECT DESCRIPTION This project is to control a stepper motor using micro stepping. The technique employed to achieve the micro stepping is the square path. The four pins that trigger each coil motor operated with PWM. This method consist in divide each half step in micro stepping. TEAM MEMBERS:
PROJECT FEATURES:
| [View:http://www.youtube.com/watch?v=W217iL01-QI] The figure 1 shows the chart of vector (http://www.zaber.com/wiki/Microstepping_Tutorial), the figure shows how do pwm between pins each coil. The figure 3 showns the stepper motor. In this code was use 16 micro stepping by half step. The REFRESH_DUTY = speed_stepper/number of micro stepping. The 'table_duty'contains the 16 duty cycles from micro stepping. The PWM used is set and reset by software, in which case the achieved maximum duty cycle is approximately 92%. Therefore the maximum value in 'table_duty' is 502. The pin P1.0 coil A, P1.1 coil B, P1.2 coil C and P1.4 coil D. The pin P1.3 to be used in the future implementation, Figure 1 Figure 2 Figure 3 |
↧
Control of stepper motor with microstepping
↧