Posts: 3
Threads: 0
Joined: Jul 2025
Reputation:
0
Thank you for the answer!
I soilderd a wire to the resistor r82 pin and removed it.
To wich pin or output should I connect the wire to control the DE/RE?
Posts: 9,100
Threads: 1,204
Joined: Oct 2020
Reputation:
235
why need to change circuit? can't use RS485 ?
Posts: 7
Threads: 1
Joined: May 2024
Reputation:
1
Because the circuit is not quite correct. Yes, it works, but IN IDEAL CONDITIONS on the desktop. It is not a fact that it will work normally in harsh conditions, and under some conditions (for example, accidentally short-circuiting +12V and A or B) - it will burn out altogether.
I understand that on the old A16 there was a severe shortage of GPIO due to the Ethernet interface, and the solution with auto-switching was justified. But here everything is different!!! You even have free GPIOs that are not used anywhere.
And I do not understand why it was impossible to use one of them for switching RS458 transmission or as an interrupt input for PCF8574.
In your opinion, these are trifles, but for many they significantly ruin life
Posts: 3
Threads: 0
Joined: Aug 2025
Reputation:
0
I am currently working on an LV panel control project using the KC868-A16v3 module. The project is being developed in PlatformIO (VS Code). However, I am encountering persistent challenges when attempting to make Wi-Fi and Ethernet work together, as well as when combining Ethernet and SD card functionality. Both scenarios frequently lead to MCU crashes with no stable solution so far.
After two months of research and testing, I identified the khoih-prog/WebServer_ESP32_SC_W5500 library as the most suitable option for the ESP32-S3-WROOM-1U (N16R8) paired with the W5500 Ethernet module, which is the hardware configuration of the KC868-A16v3.
The problem arises when the SD.h library is integrated. Despite correct I/O pin assignments, the MCU often crashes due to frequent SPI bus conflicts. My further investigation confirmed that the SD card and Ethernet module cannot operate reliably together because they share the same SPI interface. Additionally, enabling Wi-Fi alongside Ethernet introduces further instability, causing communication failures and system crashes.
When I reviewed your video, I noticed that your firmware (KCS v3) appears to seamlessly integrate Ethernet, Wi-Fi, and SD card functionality, running smoothly without the issues I am facing. For this reason, I am seeking your support and guidance. Could you kindly advise which libraries and techniques were used in your firmware project? I believe following a similar approach will help me overcome these challenges and successfully complete my project.
Posts: 9,100
Threads: 1,204
Joined: Oct 2020
Reputation:
235
KCS v3 write by ESP-IDF development tool. the library use for ESP-IDF.
but also you can see arduino demo code in our forum.