Run the motor with serial command V1.0 - makerbase-mks/MKS-SERVO42C GitHub Wiki
Applicable to MKS-SERVO42C-V1.0
Configure the motor
-
Select “CR_UART”mode in the menu,as shown below.
-
Configure the baudrate, as shown below.
-
Configure the serial port ID, as shown below.
-
Configure the Uart Assistant
Select the Channel; (such as COM5)
Select the Baudrate; (such as 38400, Must be equal to motor baudrate)
Recv Options: select “HEX”
Send Options: select “HEX”
As shown below:
Read the angle of the motor shaft
Send e0 36
return E0 00 00 00 00
As shown below:
Run the motor forward/reverse
Send e0 f6 01
return E0 01
The motor rotates forward in speed 1.
As shown below:
Send e0 f6 80
return E0 01
The motor rotates reverse in speed 0.
As shown below: