For this project, you can use any IR remote. You can always control the relays from the IR remote or switches. IR Remote & Manual Switch Control Relay Using ESP32 Here, I have controlled the 3rd relay with temperature and the 4th relay with the predefined time schedule. In this IoT project, you can also control the relays with sensors and Timer using Blynk Automation. Blynk & Google Assistant Control Relay Using ESP32 Please take proper safety precautions while working with high voltage. I have used a 5V mobile charger to supply the smart relay module. IR remote receiver (TSOP1838) connected with D35. And the DHT11 sensor is connected with RX2. I used the INPUT_PULLUP function in Arduino IDE instead of the pull-up resistors. The circuit is very simple, I have used the GPIO pins D23, D22, D21 & D19 to control the 4 relays.Īnd the GPIO pins D13, D12, D14 & D27 are connected with switches to control the 4 relays manually.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |