In this ESP32 project, I have shown, how to make home automation system using ESP32 Web Server control relay. Also control relays with manual switches and monitor the real-time feedback on web-dashboard.
Here I have used Altium PCB Designer to make the PCB...
To try out the Altium Student Lab, click here - https://www.altium.com/in/yt/techstud...
To try out the Altium365, click here - https://www.altium365.com/yt/techstud...
The key benefits of Altium Student Lab:
Altium Student Lab offers Altium Designer Student License and PCB design courses
Altium education university-level curriculum and course certificate
Free access to Power Analyzer by Keysight
Help my projects on Patreon: / techstudycell
Feel free to donate any amount: https://paypal.me/sdaspay
Download Source Code for this ESP32 Web Server project:
https://iotcircuithub.com/wp-content/...
Related Article:
https://iotcircuithub.com/esp32-web-s...
Download PCB Gerber file for this ESP32 home automation project
https://iotcircuithub.com/wp-content/...
During the Webserver tutorial video, I have covered the following topics:
02:14 Required Components for this ESP32 project.
02:24 Circuit diagram of ESP32 Web Server home automation project.
02:55 Source code for the ESP32 Webserver control relay.
04:44 How to connect ESP32 access point to control relays.
Required Components for this ESP32 home automation project
1. ESP32 DEV KIT V1
2. 4-channel 5V SPDT Relay Module
3. Push Buttons
Amazon India Affiliate links:
ESP32 DEV KIT V1 : https://amzn.to/331pohb
4-channel 5V Relay Module : https://amzn.to/2BQ5Y3o
Amazon United States Affiliate links:
ESP32 DEV KIT V1 : https://amzn.to/3mBjCch
4-channel 5V Relay Module : https://amzn.to/3r2HuJ4
Required Components for the ESP32 control relay PCB V3:
1. Relays 5v (SPDT) (4 no)
2. BC547 Transistors (5 no)
3. PC817 Optocouplers (4 no)
4. 510-ohm 0.25-watt Resistor (5 no) (R1 -- R5)
5. 1k 0.25-watt Resistors (7 no) (R6 -- R12)
6. LED 5-mm (7 no)
7. 1N4007 Diodes (4 no) (D1 -- D4)
8. Hi-Link HLK-5M05 AC to DC converter.
9. Terminal Connectors
10. Push button (1no)
Important points:
Install Dependencies: Ensure the ESP32 board is added to Arduino IDE and install the WiFi and WebServer libraries if not pre-installed.
Configure Pins: Connect the four relay modules to GPIO pins 23, 19, 18 and 5 (active low). Connect four pushbuttons to GPIO pins 13, 12, 14 and 27.
Upload Code: Copy the code into the Arduino IDE, connect your ESP32, and upload the code.
Connect to ESP32 Wi-Fi: On a Wi-Fi-enabled device, connect to the ESP32_Hotspot network with the password 12345678.
Access the Web Interface: Open a web browser and go to the fixed IP address 192.168.4.1 (http://192.168.4.1).You will see buttons to control each relay, a "Refresh" button.
Control Relays: Use the buttons on the page to turn relays ON/OFF. Press "Refresh" to reload the page and see the current relay states
During the ESP32 webserver tutorial video, I have explained all the steps to make this ESP32 smart home system. I have shown how to connect ESP32 access point to control the relays from web-dashboard. You can also control the relays manually with pushbuttons.
#esp32 #homeautomation #webserver
-------------------------------------------------------
Thanks For Watching...
✅ SUBSCRIBE ✅LIKE ✅SHARE ✅ COMMENTS
Find out more such projects: https://iotcircuithub.com/
Facebook: / techstudycell
Instagram: / techstudycell
Telegram: https://t.me/techstudycell/
-------------------------------------------------------
-------------------------------------------------------
WARNING:
This video is for demonstration and educational purposes only.
Each demonstration presents risks and hazards that must be fully understood before attempting.
And should be performed only by professionals
------------------------------------------------------
Other useful IoT projects:
Latest ESP32 projects playlist:
• ESP32 Projects
Latest NodeMCU projects playlist:
• NodeMCU Projects
Arduino Home Automation Projects playlist:
• Arduino Projects
コメント