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.
Hello engineer
I cannot write ESP code
can you send me the ESP code?
Hello admin
Is it possible to control the output pins on AMR CPU by the ESP32 via arduino?
Regards,
no, ARM cpu is control by itself.
Ok, what is the point of having a serial connection between the ARM CPU and ESP32?!
Regards,
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.
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;
yes, it's ok, if can't work, you can try to exchange RXD,TXD pin, such as 17,16 , not 16,17.