home automation training -28-How to debug RS485 MODBUS curtain motor
This is a demo of curtain motor. this motor support TUYA wifi and RS485 modbus protocol.
Open command
start Motor address function Data address CRC16
Send 55 fe fe 03 01 AD 8A
receive 55 fe fe 03 01 AD 8A
Close command
start Motor address function Data address CRC16
Send 55 fe fe 03 02 ED 8B
receive 55 fe fe 03 02 ED 8B
Set any positon command
start Motor address function Data address value CRC16
Send 55 fe fe 03 04 1E C8 E5
receive 55 Fe fe 03 04 FF* 08 AD
Read current positon command
start Motor address function Data address Data length CRC16
Send 55 fe fe 01 02 01 2B 4D
receive 55 fe fe 01 01 FF* AA 3D
Track range: 0x00—0x64 ——- 0%–100%
YouTube: https://www.youtube.com/c/KinCony
Online Store: https://kincony.aliexpress.com