ESP32 pins define of KC868-Server - Printable Version +- Smart Home Automation Forum (https://www.kincony.com/forum) +-- Forum: Technical Support (https://www.kincony.com/forum/forumdisplay.php?fid=1) +--- Forum: KC868-Server Raspberry Pi4 local server (https://www.kincony.com/forum/forumdisplay.php?fid=17) +--- Thread: ESP32 pins define of KC868-Server (/showthread.php?tid=1735) |
ESP32 pins define of KC868-Server - admin - 03-08-2022 IR receiver: GPIO22 IR sender: GPIO23 433MHz wireless receiver: GPIO13 GPIO-1: GPIO4 GPIO-2: GPIO5 GPIO-3: GPIO18 GPIO-4: GPIO19 GPIO1-4 can use for LED Strip/DS18B20/DHT11/21 Temperature and humidity sensor. RE: ESP32 pins define of KC868-Server - ahmedwizza1 - 03-11-2024 Hello engineer I cannot write ESP code can you send me the ESP code? RE: ESP32 pins define of KC868-Server - admin - 03-12-2024 do you use by esphome? RE: ESP32 pins define of KC868-Server - Naif - 03-15-2024 Hello admin Is it possible to control the output pins on AMR CPU by the ESP32 via arduino? Regards, RE: ESP32 pins define of KC868-Server - admin - 03-16-2024 no, ARM cpu is control by itself. RE: ESP32 pins define of KC868-Server - Naif - 03-16-2024 Ok, what is the point of having a serial connection between the ARM CPU and ESP32?! Regards, RE: ESP32 pins define of KC868-Server - admin - 03-16-2024 sorry, it's ok, if you send serial command to ARM CPU control output and read input. just according to this protocol: https://www.kincony.com/smart-controller-development-protocol.html for example, if you want use ESP32 to control ARM CPU's digital output port-1, use can send command "RELAY-SET-255,1,1" to ARM CPU by 115200bps. RE: ESP32 pins define of KC868-Server - Naif - 03-16-2024 Thanks for your prompt response. Considering port-2 is the one that connected to the ARM not Port-1: Is this the right command to switch-on relay1: Serial2.begin(115200, SERIAL_8N1, 16, 17); Serial2.write("RELAY-SET-255,1,1"); ? Regards; RE: ESP32 pins define of KC868-Server - admin - 03-17-2024 yes, it's ok, if can't work, you can try to exchange RXD,TXD pin, such as 17,16 , not 16,17. |