Smart Home Automation Forum
MODBUS server- serial/TCP - Printable Version

+- Smart Home Automation Forum (https://www.kincony.com/forum)
+-- Forum: Technical Support (https://www.kincony.com/forum/forumdisplay.php?fid=20)
+--- Forum: KC868-A16 (https://www.kincony.com/forum/forumdisplay.php?fid=25)
+--- Thread: MODBUS server- serial/TCP (/showthread.php?tid=6032)



MODBUS server- serial/TCP - plam09 - 07-07-2024

Hello,
I'm looking at the KC868-A16 ESP32 board to buy one for a DIY project but from the description on the aliexpress page it only says 485 "Master".
My question is can I program the board to be a modbus server/slave and if yes on what interface - can the serial pins be used or is it just ethernet/modbus TCP?

Best regards!


RE: MODBUS server- serial/TCP - admin - 07-07-2024

if you want KC868-A16 work with "SLAVE", you can remove one "Terminating resistor" from PCB.
there are no free GPIOs use by serial port. if you write your own code, you can let RS485 work by modbus, or ethernet modbus TCP, both support. Hardware support these, just need your software.