RS485 io module - KC868-HAv2 released - Printable Version +- Smart Home Automation Forum (https://www.kincony.com/forum) +-- Forum: Technical Support (https://www.kincony.com/forum/forumdisplay.php?fid=1) +--- Forum: News (https://www.kincony.com/forum/forumdisplay.php?fid=5) +--- Thread: RS485 io module - KC868-HAv2 released (/showthread.php?tid=3444) |
RS485 io module - KC868-HAv2 released - admin - 10-29-2023 The smallest RS485 IO Module -- KC868-HAv2 module. size 3cm*3cm. let your switch panel and dry contact sensor convert to RS485. KC868-HA RS485 INPUT & OUTPUT plugin for ESPHome, easy integrate to home assistant. You can add everyone KC868-HA board with 6 digital input ports and 6 digital output ports to home assistant by RS485. RE: RS485 io module - KC868-HAv2 released - yawniek - 12-25-2023 is there modbus protocol specification? i would want to controll it via standard tasmota modbus adapater. RE: RS485 io module - KC868-HAv2 released - admin - 12-26-2023 here is modbus firmware for HAv2. Modubs command-05 (control digital output): turn ON output1: send:0A 05 00 00 FF 00 8D 41 feedback:0A 05 00 00 FF 00 8D 41 turn OFF output1: send:0A 05 00 00 00 00 CC B1 feedback:0A 05 00 00 00 00 CC B1 ------------------------------------ Modubs command-01 (read digital output state): send:0A 01 00 00 00 06 BD 73 feedback:0A 01 01 01 92 6C (output1=ON, output2--6=OFF) ------------------------------------ Modubs command-02 (read digital input state): send:0A 02 00 00 00 06 F9 73 feedback:0A 02 01 01 62 6C (input1=ON, input2--6=OFF) ------------------------------------ Modubs command-03 (read multi registers): register: address: (200)dec (C8)hex digital input+digital output state send:0A 03 00 C8 00 02 44 8E feedback:0A 03 04 00 01 00 00 11 33 note:00 01 00 00 = 00 01 (input1=ON, input2--6=OFF) 00 00 (output1--6=OFF) RE: RS485 io module - KC868-HAv2 released - yawniek - 12-26-2023 thank you - does this mean standard firmware that is flashed when buying is not modbus but custom protocol for KCS? - how is this firmware different from V200_231025 ? RE: RS485 io module - KC868-HAv2 released - admin - 12-26-2023 V200_231025 is not a modbus protocol, use for KCS firmware. if you want standard modbus protocol, just download this one. RE: RS485 io module - KC868-HAv2 released - yawniek - 12-27-2023 is it possible to set line speed for modbus and would you consider open sourcing the modbus firmware so it can be extended? also it would be useful to have a more clear modbus documentation of the standard modbus functionality. i got it to work but its unclear which other registers i can write and in general what registers use which value i am considering this in a bigger installation. RE: RS485 io module - KC868-HAv2 released - admin - 12-28-2023 Register addresses are arranged in order. it's standard modbus protocol, if you want to write your own source code, ok, just download to AT32 chip. RE: RS485 io module - KC868-HAv2 released - yawniek - 12-28-2023 (12-28-2023, 12:32 AM)admin Wrote: Register addresses are arranged in order. thank you. unfortunately i dont have the capacity to reverse engineer this. the datasheets are in chinese and there is no example toolchain and its unclear how to flash via rs485. RE: RS485 io module - KC868-HAv2 released - admin - 12-29-2023 AT32 chip as same as STM32 CPU chip. download firmware by USB Jlink cable. |