← Projects
electronics intermediate 5 days ago ◑ 26 views ◯ 8 min read

Building an ESP32 Pixel Controller for Christmas Light Shows: xLights and Falcon Player (FPP) Integration

Build time: 3-5 hours for the first controller (flashing, wiring, and mapping); 30-45 minutes per additional node once the process is proven out
Tools needed: Soldering iron, wire strippers, multimeter, USB cable for flashing, computer running xLights, Raspberry Pi running Falcon Player (FPP) for playback
esp32xlightsfalcon playerfppchristmas lightsws2812addressable lede1.31sequencing
Parts List

Sequenced Christmas light displays — the kind synced to music, with every string and prop dancing on cue — are built on two pieces of free software: xLights, which runs on a PC and lets you design the show frame by frame, and Falcon Player (FPP), which usually runs on a Raspberry Pi in the garage and plays the show back on schedule. Neither of those programs cares what kind of hardware is on the other end of the data cable, as long as it speaks one of a handful of standard lighting protocols. That's the opening a $4 ESP32 board walks through: flashed with the right firmware, it becomes a pixel controller that receives E1.31 (sACN), Art-Net, or DDP packets over WiFi and turns them into the precise WS2812B/SK6812 timing a string of addressable pixels needs — no FPP license, no dedicated show-computer output card, and no run of Cat5 out to the yard.

This guide builds a standalone ESP32 pixel controller using ESPixelStick, the open-source firmware purpose-built for exactly this job, and gets it talking to both xLights (for sequencing and testing) and a Falcon Player instance (for playback). It assumes you already have a show design in xLights or are starting one; this is the hardware and firmware layer underneath it, not a sequencing tutorial.

Why an ESP32 Instead of a Dedicated Controller or a Raspberry Pi

The traditional options for driving pixels are a commercial controller (Falcon F16V3, FPP-compatible boards from various sellers) or a Raspberry Pi running FPP directly with a pixel HAT. Both work well and scale better for a whole-house display with a dozen props. An ESP32 running ESPixelStick is the right tool for a smaller, cheaper, more distributed build: one board per prop (a mega tree, an arch, a candy cane row), each on its own WiFi connection, each handling 1-4 output pins of pixels. You can mix controller types freely — FPP and xLights don't care whether a given universe of data is going to a Falcon board, a Pi, or an ESP32, because E1.31/Art-Net/DDP is all they see on the wire.

What You Need

ItemNotes
ESP32 DevKit (WROOM-32 based)Any generic dev board works; avoid the very early ESP32-WROOM-32 revisions with buggy RMT peripherals if you can — a current WROOM-32D/32E module is fine.
WS2812B or SK6812 pixel string(s)Already-wired pixel strings designed for Christmas use (bullet pixels, 12V or 5V) are easier to deploy outdoors than bare strip.
5V or 12V power supply sized to your pixel countFigure roughly 0.3–0.6W per pixel at full white; undersizing the supply is the single most common cause of color droop down a long run.
Level shifter (74AHCT125 or similar)ESP32 GPIO is 3.3V logic; WS2812 wants a cleaner 5V data signal, especially past a few feet of wire. Skip this at your own risk — it's the fix for flickering pixels at the far end of a run.
Weatherproof enclosureA 3D-printed or off-the-shelf IP65 box with cable glands for power in, data out, and a USB port for reflashing.

Step 1: Flash ESPixelStick

ESPixelStick (maintained on GitHub as forkineye/ESPixelStick) is purpose-built firmware for exactly this job: it receives E1.31/sACN, Art-Net, or DDP over WiFi and drives WS2812-family pixels (and several other protocols, including serial DMX output for prop controllers) from the ESP32's RMT peripheral, which generates the pixel timing in hardware instead of bit-banging it in software. That matters because bit-banged pixel output on a WiFi-connected microcontroller is exactly the kind of thing that stutters when the radio stack interrupts it; RMT output doesn't.

  1. Download the latest release binary for your board from the project's GitHub releases page, or build from source with PlatformIO if you want current main-branch fixes.
  2. Flash it over USB using esptool.py or the web-based flashing tool the project provides — no toolchain setup required for the binary route.
  3. On first boot, ESPixelStick starts its own WiFi access point (SSID usually ESPixelStick-XXXX). Connect to it from a phone or laptop and enter your home network's SSID and password through the captive portal.
  4. Once it joins your network, find its IP address from your router's client list and open it in a browser to reach the ESPixelStick web config UI.

Step 2: Configure Outputs and Universes

In the web UI, set up each output pin you're using:

Write down the universe assignments for each output — you'll enter the identical mapping on the xLights/FPP side in the next step, and a mismatch here is the most common reason a freshly flashed controller shows nothing.

Step 3: Map It in xLights

  1. In xLights' Layout tab, add a new model for the prop this controller drives (a tree, arch, or matrix), sized to match your actual pixel count and wiring layout.
  2. Under the model's network/controller settings, add a new controller connection of type E1.31 (or Art-Net/DDP if you configured ESPixelStick for one of those instead), and point it at the ESP32's IP address.
  3. Enter the universe and starting channel exactly as configured on the ESP32 in the previous step.
  4. Use xLights' built-in test function to send a solid color or a chase pattern to the model and confirm the physical pixels respond correctly and in the right order — this is where you catch a reversed string or wrong color order before you've sequenced anything to it.

Step 4: Handing Off to Falcon Player for Playback

xLights is where you build and test a sequence; FPP is what actually plays the finished show night after night on a schedule, usually from a Raspberry Pi. The two share configuration: FPP's web UI has its own Channel Outputs page where you add the same E1.31 output and universe mapping you set up in xLights, pointing at the same ESP32 IP. Once FPP's output config matches, you upload the finished sequence (and its FSEQ file) to FPP, add it to a playlist, and schedule the playlist — the ESP32 doesn't know or care whether the E1.31 packets arriving on its WiFi interface came from xLights running live on your laptop or from FPP replaying a show at 6:47 PM on a timer.

Give the ESP32 a static IP (either a DHCP reservation in your router or a static config in ESPixelStick itself) before you finalize this mapping. An address that changes after a router reboot is a common cause of a display going dark on opening night for no obvious reason.

Reliability Notes From the Field

Safety

Any Christmas lighting project that goes outdoors is an outdoor electrical project. Use GFCI-protected circuits for anything exposed to weather, rate your extension cords and power supplies for outdoor use, and keep low-voltage pixel wiring runs separate from and not bundled with mains-voltage extension cords. If you're adding a relay-driven AC output from the same ESP32 to switch a non-pixel prop (a motor, a flood light), isolate that mains circuit from the ESP32's logic side properly — an optoisolated relay module, not a bare GPIO pin, should ever touch anything at line voltage.

Once one node is working end to end — flashed, mapped in xLights, confirmed in FPP — adding a second and third is just repeating steps 1–3 with new universe numbers. A handful of these scattered around a yard, each handling one prop, gets you most of the way to a synchronized whole-house show without ever buying a commercial pixel controller.