[Arduino source code for KC868-A2]-05 RS485 - 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-A2 (https://www.kincony.com/forum/forumdisplay.php?fid=43) +--- Thread: [Arduino source code for KC868-A2]-05 RS485 (/showthread.php?tid=2640) |
[Arduino source code for KC868-A2]-05 RS485 - KinCony Support - 03-02-2023 Code: //A2 RE: [Arduino source code for KC868-A2]-05 RS485 - ktmustafa - 07-11-2024 (03-02-2023, 06:54 AM)KinCony Support Wrote: Hello there I used this example to send "ON" and "OFF" strings to Arduino Uno via TTL to RS485 module. The Arduino Uno code as below.. However, I received nothing.. Can you please help me solve this issue Code: #include <SoftwareSerial.h> RE: [Arduino source code for KC868-A2]-05 RS485 - admin - 07-12-2024 if our code work well, you can modify code based on our code. RE: [Arduino source code for KC868-A2]-05 RS485 - ktmustafa - 07-12-2024 (07-12-2024, 12:06 AM)admin Wrote: if our code work well, you can modify code based on our code. I used the KC868 A2 as a master. With your code, I send "ON" or "OFF" to the Arduino Uno which connects to the KC868 A2 by using TTL to RS485 module. Arduino Uno has to receive these strings and turn the built-in LED On or Off.. However, the Uno received nothing... RE: [Arduino source code for KC868-A2]-05 RS485 - admin - 07-12-2024 you can use USB-RS485 cable to debug. whether KC868-A2 have sent out string, use PC serial port debug tool to monitor. |