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.
- 🌐 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.
- ESP32 boots and creates a Wi-Fi Access Point
- User connects via phone/laptop
- Web UI is served from ESP32
- Button clicks toggle relays
- LED states are saved to flash memory
- On reboot, previous LED states are restored
| 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 |
| Character | GPIO Pin |
|---|---|
| C | GPIO 13 |
| R | GPIO 12 |
| E | GPIO 14 |
| 8 | GPIO 27 |
| X | GPIO 26 |
| 2 | GPIO 25 |
| 0 | GPIO 32 |
- ESP32 GPIO → Relay INx
- ESP32 5V → Relay VCC
- ESP32 GND → Relay GND
- 12V Power (+) → Relay COM
- Relay NO → LED Strip (+)
- LED Strip (–) → 12V Power (–)
⚠️ Important:
ESP32 and 12V power supply must share a common ground.
| Setting | Value |
|---|---|
| SSID | CRE8X-OilLamp |
| Password | None |
| ESP32 IP | 192.168.4.1 |
URL:
http://192.168.4.1/

