You've seen it at weddings, gigs, and restaurant openings: a whole room of lights pulsing in time with the music, changing color together, one person tapping a phone. You assumed it took an electrician, a laptop, and a five-figure budget.
It doesn't. A $5 microcontroller, an LED strip, and a single afternoon โ and you can build event lighting that's identical in feel to what the pros rent for hundreds of dollars a night.
This guide is the complete build I use on my own event-lighting side-business. These are the same wiring diagrams and firmware I flash on real jobs โ redrawn so a total beginner can follow them.
By the end of this guide, you'll have:
- A working event-lighting controller that responds to your phone
- Three control modes (choose one, upgrade later)
- The same checklist I use at real events to keep things running smoothly
- A clear next step if you want the printable, diagram-pack version
No electrician. No app-store fees. No monthly subscription.
One $5 chip, your whole light show.
An ESP8266 event lighting controller is a small WiFi-enabled microcontroller that turns LED strips or relay-switched fixtures into lights you can control from your phone or laptop.
The ESP8266 (a $5 chip made by Espressif) is what hobbyists and small-event pros use. It's cheap, has built-in WiFi, and runs the same Arduino code as more expensive boards. For event lighting, the ESP8266 is the perfect entry point.
Why ESP8266 and not ESP32? Both work. The ESP32 is faster and has Bluetooth, but it costs ~$10 vs $5. Start with ESP8266 for the first build; everything transfers to ESP32 if you outgrow it.
Three control modes (you build one now, add others later):
- AP web control โ the ESP creates its own WiFi network, you open a webpage in any phone browser, drag the color sliders, hit a pattern. No app install. This is the "wow" first-light-show mode.
- WiFi + phone app โ connect the ESP to your home WiFi and use Home Assistant or a free app for remote control across the room.
- DMX sync โ for bigger events. Sync lights to music, control multiple zones, talk to the lighting software the pros use.
This guide focuses on Mode 1 (AP web control) because it gets you from box to first-light-show in under 60 minutes.
Eight parts, one afternoon.
Total cost breakdown (US prices as of mid-2026 โ verify against AliExpress/Amazon current prices before you order):
| # | Part | Qty | ~Price | Where to buy |
|---|---|---|---|---|
| 1 | NodeMCU ESP8266 (or Wemos D1 Mini โ same idea, slightly smaller) | 1 | $4 | AliExpress, Amazon |
| 2 | WS2812B LED strip (1 m, 60 LEDs/m, IP30 indoor) | 1 m | $6 | AliExpress, Amazon |
| 3 | 5V 5A power supply (for the LED strip) | 1 | $8 | Amazon, electronics shop |
| 4 | Breadboard (400-tie, small) | 1 | $3 | Electronics shop |
| 5 | Jumper wires (M-M, M-F pack) | 1 | $3 | Electronics shop |
| 6 | Capacitor 1000ยตF 10V (across LED strip power) โ the #1 flicker fix | 1 | $1 | Same shop |
| 7 | Resistor 470ฮฉ (data line protection) | 1 | $0.50 | Same shop |
| 8 | USB cable (NodeMCU programming โ usually included) | 1 | $0 | โ |
| TOTAL | ~$25โ30 |
Add to budget for bigger builds:
- +$5 = a second meter of LED strip for a 2-meter wall
- +$3 = a 4-channel relay module for non-LED fixtures
- +$4 = a 12V power supply (for 12V LED strips instead of 5V)
Save money: the 470ฮฉ resistor, capacitor, and jumper wires are reusable across builds. The NodeMCU and LED strip are the only consumables.
โ ๏ธ Don't skip the capacitor. It's the #1 reason ESP8266 LED builds flicker or reset on bright flashes. $1 part, hours of troubleshooting avoided.
Five wires, one rule: share ground.
โก Skip the mains. This entire build uses safe low-voltage DC (5V). No electrician needed.
Three rules:
- Always share ground. The NodeMCU and the LED strip must have a common GND wire. Without this, the data signal is floating and the lights won't respond.
- Capacitor across the LED strip power pins. 1000ยตF cap right at the strip's 5V and GND. This is the #1 flicker fix.
- Resistor in the data line. 470ฮฉ between NodeMCU pin D4 (or D2) and the LED strip's data-in pin. This protects the strip's first LED from voltage spikes.
Where to plug into NodeMCU:
GNDโ PSU negative railD4(orD2) โ 470ฮฉ โ LED strip data-in- USB port โ your laptop (for power during flashing; once flashed, USB is optional โ the PSU powers the strip, not the NodeMCU)
For the full-color wiring diagrams referenced above, the printable pack at /event-lighting/ ships 7 labeled PNG diagrams โ power, pinout, LED strip, AP mode, WiFi mode, DMX, multi-zone.
Upload the sketch, ship the show.
Software you need (free):
- Arduino IDE 2.x โ arduino.cc/en/software โ download free
- ESP8266 board support โ added via Boards Manager in Arduino IDE
- FastLED library โ added via Library Manager (Daniel Garcia; the de facto LED library for ESP8266)
- The AP-mode firmware โ open-sourced version below; the pack ships an upgraded version with a full web UI and scene presets
Open Arduino IDE โ Preferences โ Additional Boards Manager URLs โ paste http://arduino.esp8266.com/stable/package_esp8266_index.json.
Tools โ Board โ Boards Manager โ search "esp8266" โ Install the latest.
Tools โ Manage Libraries โ search "FastLED" โ Install.
Open the AP-mode sketch (below) โ set LED_PIN to D4 โ set NUM_LEDS to your strip length โ click Upload.
Open Serial Monitor (115200 baud) โ you'll see "AP started: EventLights". Now your phone can join it.
Now the magic:
- On your phone, open WiFi settings โ connect to the EventLights network (no password by default)
- Open browser โ go to
192.168.4.1 - A control page appears with sliders for color, brightness, and patterns
- Press "Music reactive" โ your phone's mic drives the lights in real time
This is your first light show. 30 minutes from box-open to lights-dancing.
// AP-mode firmware sketch โ full version with web UI in the $19 pack
#include <ESP8266WiFi.h>
#include <ESP8266WebServer.h>
#include <FastLED.h>
#define LED_PIN D4
#define NUM_LEDS 60
CRGB leds[NUM_LEDS];
const char* AP_SSID = "EventLights";
const char* AP_PASS = ""; // open for ease of first setup
void setup() {
Serial.begin(115200);
WiFi.softAP(AP_SSID, AP_PASS);
FastLED.addLeds<WS2812B, LED_PIN, GRB>(leds, NUM_LEDS);
FastLED.setBrightness(80);
// route handlers โ full version in the pack
}
void loop() { FastLED.show(); delay(20); }
(This is the simplified sketch โ the $19 pack ships full AP web UI code, music-reactive mode, scene presets, and 2 more firmware variants for WiFi + DMX modes.)
The 5-step sanity check.
Before you walk away, do a quick sanity test:
- All LEDs light up at boot (no dead segments = bad data line connection)
- Color slider changes hue across the full strip
- Brightness slider dims the strip smoothly (no flicker)
- Music-reactive mode โ play a song near the phone, watch the lights pulse
- Turn it off, unplug the data line, plug it back in โ boot works again
If any step fails, the troubleshooting section in the complete pack has fixes for the 6 most common errors: bad ground, missing capacitor, wrong LED type, wrong pin, low PSU wattage, and reverse-wired data line.
You just built Mode 1. The other two are next.
| Mode | Cost to add | Time | What you get |
|---|---|---|---|
| WiFi + phone app | $0 (just a code swap) | 30 min | Control from your existing home WiFi โ no more connecting to "EventLights" network |
| DMX sync | $2 (RS485 module) + $0 code | 1 hr | Sync lights to music, run multi-zone rigs from a single controller, plug into xLights / FreeStyler / QLC+ |
If you've got 100+ guests next month, you'll want Mode 2 (WiFi) the first night โ it's the daily driver for events. Mode 3 (DMX) is the next big jump โ it's what lets you run music-reactive scenes that aren't possible in AP mode.
Ready for the whole thing in one printable?
The complete $19 ESP8266 event lighting pack ships:
- 28-page PDF build guide (with diagrams at every step)
- 3 firmware modes (AP, WiFi, DMX) โ full code, not snippets
- 7 wiring diagrams (PNG, full-color, labeled)
- BOM spreadsheet (CSV + PDF)
- Quick-start checklist (1-page printable)
- Event-deployment troubleshooting (6 most-common errors)
Questions beginners ask before they wire a single strip.
Do I need to know how to code?
No. The pack ships ready-to-flash firmware. You upload it with the free Arduino IDE โ the only thing you type into the code is your LED pin and the number of LEDs.
Do I need an electrician or any mains wiring?
No. The build uses safe low-voltage DC (5Vโ12V). The power supply plugs into a normal wall outlet; the rest of the build is low-voltage and beginner-safe.
What can I actually control with this?
LED strips (color, brightness, patterns, music-reactive) and relay-switched lights (on/off zones).
Which is better โ ESP8266 or ESP32?
For a first build, ESP8266. It's cheaper, simpler, and well-supported by FastLED. Everything transfers to ESP32 if you outgrow it later.
Can I scale this to a bigger event?
Yes. Start with one zone; add relay boards to run 2, 5, or 10 zones from the same controller.
What if I get stuck?
The pack has a troubleshooting section. Most beginner errors are wiring โ none require more than one wire (and most builds need zero soldering at all). Or post in the community Q&A and someone will answer.
Built by someone who actually does this.
Related reading
Build your first light show this weekend.
One-time $19. Instant download. The same results event pros charge hundreds for.
๐ GET THE PACK โ $19 // instant download ยท beginner-friendly ยท field-tested wiring methods