Smart Home Automation Forum
KC868-A16S Arduino Issue - 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-A16S (https://www.kincony.com/forum/forumdisplay.php?fid=47)
+--- Thread: KC868-A16S Arduino Issue (/showthread.php?tid=8459)



KC868-A16S Arduino Issue - zross02 - 08-20-2025

I have purchased a KC868-A16S unit and am having difficulties getting it to work with Arduino codes. I downloaded the firmware to the device and was able to control it via the Wi-Fi connection, but no Arduino code will work with Relay Control. I tried the example codes that were provided in the Arduino library: they all seem to upload but none seem to actually work on the board. I even checked via RealTerm to see if the code was taking, but it said that the Arduino example code failed. Let me know if there is anything I can do to fix this, thank you.


RE: KC868-A16S Arduino Issue - admin - 08-20-2025

this is relay output arduino source code for KC868-A16S: https://www.kincony.com/forum/showthread.php?tid=2793


RE: KC868-A16S Arduino Issue - zross02 - 08-21-2025

I am trying to upload code with Arduino to my K868 device, but the example codes aren’t working. I followed this guide step by step and the only ting that didn’t work is I couldn’t find where is says ENABLE ESP32 MODE on the webpage. Is this what needs to be done to get Arduino codes working on my K868-A16s? If so, how do I get to the Ethernet Settings page that shows this?


Here’s what the guide says:

https://drive.google.com/file/d/1JfgVj3R_x1l6PYE8WJ7MOgeYjvQ8zMtq/view?usp=sharing 

Here’s what the webpage looks like:

https://drive.google.com/file/d/18kRE_hvCuujCYVYfLGcndy2xOXgGBH9D/view?usp=sharing


RE: KC868-A16S Arduino Issue - admin - 08-21-2025

which controller you are using? H32B Pro or A16S? what you want to do?


RE: KC868-A16S Arduino Issue - CCampbell - 08-23-2025

I ran into the same problem.  I had to make sure the board (NodeMCU-32S) was in bootloader mode.  To do that, hold the "download button" on the KC868-A16S, then press and release the "reset" button.  Then, while still holding the download button, I began the upload in Arduinio IDE.  I waited to release the "download" button until I saw the output of Arduino IDE say "connecting".  Then release the download button.  This sets the processor to the bootloader and will then take your sketch.  Once I did that, it uploaded correctly and worked really well.