Skip to content

mhhridoy7907/ESP-8266-Smart-light-controller

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

💡 ESP8266 Smart Light Controller

A WiFi-based Smart Light system using ESP8266 (NodeMCU) and a Relay Module.
This project creates a modern captive portal web interface to turn a light ON/OFF from any phone or PC — no internet required.

Smart Light Preview


🚀 Features

  • 📶 ESP8266 SoftAP (No router needed)
  • 🌐 Captive portal style web control
  • 💡 Relay-based AC light control
  • 🎨 Modern animated UI with glowing bulb
  • ⚡ Fast response & lightweight code
  • 📱 Mobile-friendly interface

🧰 Components Used

  • ESP8266 (NodeMCU / ESP-12)
  • 1-Channel Relay Module
  • AC Bulb / Load
  • Jumper Wires
  • External power supply (recommended)

🔌 Pin Configuration

Component ESP8266 Pin
Relay IN D1 (GPIO5)

⚠️ Relay works in LOW trigger mode


🖥️ How It Works

  1. ESP8266 creates a WiFi hotspot named MH2 LIGHT
  2. User connects via phone or PC
  3. Captive portal opens automatically
  4. ON/OFF buttons send commands to ESP8266
  5. Relay switches the light accordingly

🌐 How to Use

  1. Upload the code to ESP8266
  2. Power the board
  3. Connect to WiFi:

About

ESP8266 based Smart Light Controller using Relay Module. Creates a modern captive portal web interface to turn light ON/OFF via WiFi without internet.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages