Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ESP32 pins define of KC868-Server
#1
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.
Reply
#2
Hello engineer 



I cannot write ESP code

can you send me the ESP code? 
Reply
#3
do you use by esphome?
Reply
#4
Hello admin

Is it possible to control the output pins on AMR CPU by the ESP32 via arduino?

Regards,
Reply
#5
no, ARM cpu is control by itself.
Reply
#6
Ok, what is the point of having a serial connection between the ARM CPU and ESP32?!

Regards,
Reply
#7
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...tocol.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.
Reply
#8
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;
Reply
#9
yes, it's ok, if can't work, you can try to exchange RXD,TXD pin, such as 17,16 , not 16,17.
Reply


Forum Jump:


Users browsing this thread:
1 Guest(s)