Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

🔥 CRE8X 2.0 – Interactive LED Oil Lamp Controller

An ESP32-powered interactive LED oil lamp controller designed for the CRE8X 2.0 logo.
The system creates its own Wi-Fi hotspot and hosts a rich, underwater-themed web interface that allows users to control seven LED segments (C-R-E-8-X-2-0) in real time.

LED states are persistently stored, ensuring the lamp restores its previous state after power loss — perfect for exhibitions, installations, and interactive displays.


📌 Features

  • 🌐 Standalone Wi-Fi Access Point (no router required)
  • 🎛 Web-based Control Panel (User & Admin modes)
  • 🌊 Animated Underwater UI (HTML/CSS/JS)
  • 7-Channel Relay Control for high-power LED strips
  • 💾 State Persistence using ESP32 Flash (Preferences)
  • 🔄 Real-time Updates without page refresh
  • 📱 Mobile & Desktop Compatible.

🧠 System Overview

How It Works

  1. ESP32 boots and creates a Wi-Fi Access Point
  2. User connects via phone/laptop
  3. Web UI is served from ESP32
  4. Button clicks toggle relays
  5. LED states are saved to flash memory
  6. On reboot, previous LED states are restored

🧰 Hardware Requirements

Component Description
ESP32 Dev Board Main controller
7-Channel 5V Relay Module Controls 12V LED segments
12V LED Strip Cut into 7 segments
12V Power Supply Adequate current rating
Jumper Wires Connections
Common Ground ESP32 + Relay + Power Supply

🔌 Pin Configuration

ESP32 → Relay Mapping

Character GPIO Pin
C GPIO 13
R GPIO 12
E GPIO 14
8 GPIO 27
X GPIO 26
2 GPIO 25
0 GPIO 32

🔧 Wiring Instructions

Relay Control Side

  • ESP32 GPIO → Relay INx
  • ESP32 5V → Relay VCC
  • ESP32 GND → Relay GND

LED Power Side

  • 12V Power (+) → Relay COM
  • Relay NO → LED Strip (+)
  • LED Strip (–) → 12V Power (–)

⚠️ Important:
ESP32 and 12V power supply must share a common ground.


📡 Wi-Fi Configuration

Setting Value
SSID CRE8X-OilLamp
Password None
ESP32 IP 192.168.4.1

🌐 Web Interface

User View

URL:
http://192.168.4.1/

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages