Smart Home Automation Forum
Lesson28 - How to send command control RS485 curtain motor - Printable Version

+- Smart Home Automation Forum (https://www.kincony.com/forum)
+-- Forum: Technical Support (https://www.kincony.com/forum/forumdisplay.php?fid=1)
+--- Forum: Home automation training courses (https://www.kincony.com/forum/forumdisplay.php?fid=18)
+--- Thread: Lesson28 - How to send command control RS485 curtain motor (/showthread.php?tid=1960)



Lesson28 - How to send command control RS485 curtain motor - admin - 06-01-2022


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%