![]() ![]() I have used the INPUT_PULLUP function in Arduino IDE instead of using the pull-up resistors with each switch.Īs per the source code, when the control pins of the relay module receive the LOW signal the respective relay will turn on and the relay will turn off for the HIGH signal in the control pin. The circuit is very simple, I have used D1, D2, D5 & D6 GPIO pins to control the 4-channel relay module.Īnd the GPIO SD3, D3, D7 & RX connected with the pushbuttons to control the relay module manually. Finally, the ESP32 Smart Home System is readyĬircuit of the Blynk NodeMCU Home Automation projects.Code for Blynk IoT Cloud ESP8266 home automation.Control Relays with Switches or Push Buttons.NodeMCU control Relays with Blynk IoT App. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |