Загрузка...

Control Lights 2 Ways: ESP32 Web Server + Manual Override project 13

Control your home lighting from anywhere! In this project, we build a versatile ESP32-based Smart Home system that allows you to toggle an LED using both a physical push button and a custom web interface. We also integrate an I2C LCD display to provide real-time status updates of the system.

​This setup is perfect for beginners looking to dive into IoT (Internet of Things) and home automation. We cover everything from the circuit wiring on a breadboard to coding the web server that hosts your control toggle.
TIMELINE
00:00] – Introduction: Overview of the 13th project in the ESP32 basic starter kit series.

​[00:13] – Required Components: Listing the hardware used (ESP32, LCD, LED, button, resistors).

​[00:31] – Wiring Guide: Detailed connections for the I2C LCD display.

​[00:45] – Circuit Connections: Wiring for the LED (GPIO 2) and the physical push button (GPIO 4).

​[01:08] – Code Walkthrough: Important instructions for changing the Wi-Fi SSID and password in lines 15 and 16.

​[01:24] – Uploading Code: The process of flashing the firmware to the ESP32.

​[03:38] – Network Setup: Locating the IP address on the LCD for mobile access.

​[04:13] – Web Control Demo: Using the mobile browser interface to toggle the light.

​[04:21] – Physical Control Demo: Using the hardware push button to override or toggle the light state.

​[04:40] – Conclusion: Closing remarks and call to action for subscribers.
​🛠️ What’s Inside:

​Dual Control: Synchronized switching between a physical button and a web-based toggle.

​Real-time Feedback: An LCD 16x2 screen shows the current light status (ON/OFF) and system readiness.

​Web Server: Hosting a simple, responsive UI directly from the ESP32.

​Circuit Breakdown: Step-by-step wiring of the ESP32, LED, 220Ω resistor, 10kΩ pull-down resistor, and the I2C LCD.

​📋 Components Used:

​ESP32 DevKit V1

​LED (Green/Red)

​Push Button

​16x2 LCD with I2C Adapter

​Resistors (220Ω and 10kΩ)

​Breadboard and Jumper Wires

​code:https://docs.google.com/document/d/1R-5TkGwRNJghovtt670Wonw8Fi5imBp1Lz8JaFNFdQE/edit?usp=sharing

#ESP32 #SmartHome #IoT #Arduino #HomeAutomation #DIYElectronics #MicroController #LearnElectronics #Programming #WebServer

Видео Control Lights 2 Ways: ESP32 Web Server + Manual Override project 13 канала ADVENTUREAVENUE
Яндекс.Метрика
Все заметки Новая заметка Страницу в заметки
Страницу в закладки Мои закладки
На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.
О CookiesНапомнить позжеПринять