Components used
- ESP32 Module
- 5 Volts Relay x 4
- Hi-Link 5 volts Power Supply
- AMS1117 3.3V regulator IC
- Couple of resistors – 10kohms & 330 ohms
- Two pin terminal connectors
- BC547 transistor
- 1N4007 diodes x 4
- Push button
- On Off button
Schematic

Connection Diagram

Programming Connections

Code
The code used in this project is uploaded on my GitHub account which you can download it from here.
Tutorial Video
Here is the full tutorial video of this project