MKS-SERVO42A icon indicating copy to clipboard operation
MKS-SERVO42A copied to clipboard

How to operate it using external MCU like Arduino/ESP32

Open yashmewada9618 opened this issue 2 years ago • 0 comments

I have bought MKS Servo42A V1.1 and the output is second to none. It perfectly holds its position and outputs almost zero over/undershoot. Although I purchased this to integrate it with my project which uses ESP32 as an MCU when I command the step and dir pins the motor does not move at all and holds its position in a closed-loop PID logic which was initially uploaded when I bought it. Can someone pls help me with this or let me know if there are any steps I am missing in using this motor with an external controller? Below is the code which simply rotates the motor. I have also tried to rebuild the firmware but I am stuck at the "sync. h" file not found... and I didn't find any such file on google or Github. 123 Thanks in advance!!!! :)

yashmewada9618 avatar May 24 '22 12:05 yashmewada9618