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