1. Stepper Motor Drive
Only today to find out .... Originally in the different stepper motor drive module inside, the cycle clock is not the same ....
Stepper Motor Drive module and circuit configuration:
The main parts of the driver code:
int sp_param = 16383;
Digitalwrite (motorstp_a, high);
Delaymicroseconds (Sp_param);
Digitalwrite (motorstp_a, low);
Delaymicroseconds (Sp_param);
(The top 16383 is the maximum number of unsigned int, or 16ms, or the maximum value of the Delaymicroseconds input parameter)
Can be in my experiment, to some of the drive board, with the theory of the slowest value also turn whining, very fast. But for some normal drive plates, the turn is slow (as expected)
"Not finish the treatment, busy this a burst of research on the Stepper Motor Drive board principle, quite interesting ... Yes, I'm a vegetable chicken. 】
[Arduino] Arduino Pig Head Notes