1、这是一个机电一体化系统的程序。在使用Arduino同时控制两个速度不同的步进电机时,需要我们对两个脉冲的频率进行同步调控。这一点困扰了我许久,直到收到了来自Dennis-lixinze的帮助,这是他给我提供的程序。十分感谢Dennis-lixinze。
1、This is a program for mechatronic systems. When using Arduino to control two stepper motors with different speeds at the same time, we need to synchronously control the frequency of the two pulses. This bothered me for a long time until I got help from Dennis-lixinze, he gave me this program.Many thanks to Dennis-lixinze.
2、在阅读程序时,请重点关注函数move。由于硬件庞杂,不可避免的会出现许多无关的函数。
2、As you read the program, focus on the function move. Due to the complexity of the hardware, it is inevitable that many unrelated functions will appear.
mikemiller0401 / two-stepper-motor-control-system_arduinouno Goto Github PK
View Code? Open in Web Editor NEW使用Arduino同时控制两个速度不同的步进电机,对两个脉冲的频率进行同步调控。Use Arduino to control two stepper motors with different speeds at the same time, and synchronously control the frequency of the two pulses.
License: GNU General Public License v2.0