


I have used a 5V 2Amp mobile charger to supply the circuit. 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 D23, D22, D21, D19, D18, D5, D25 & D26 GPIO to control the 8-channel relay module.Īnd the GPIO D13, D12, D14, D27, D33, D32, D15 & D4 connected with manual switches to control the relay module manually. Finally, the ESP32 Smart Home System is ready.Tutorial video on ESP32 Alexa Home Automation.Control Relays with & without WiFi using ESP32.Required Components for the ESP32 projects.
