Infinity mirror with generative WLED patterns
A 12-inch square frame with a mirror at the back, a two-way mirror at the front and a WS2812B LED strip between them makes a tunnel of light that seems to go on forever. An ESP32 running WLED gives you over a hundred effects, schedules and phone control.

Safety first
- Mirror tiles are glass: wear gloves when handling and keep the frame on a stable surface or securely hung.
- Set WLED's current limiter (for example 3500 mA) so the strip cannot overload the 4 A supply. Use a listed supply.
- Some flashing effects can trigger photosensitive seizures. Avoid fast strobe effects in shared spaces.
Parts
| Part | Qty | Approx. each | Subtotal |
|---|---|---|---|
| 12x12 inch mirror tileTypical $7-15, no verified link.Amazon (search) | 1 | $10 | $10 |
| 12x12 inch two-way mirror acrylic sheetTypical $16-30, no verified link.Amazon (search) | 1 | $22 | $22 |
| BTF-LIGHTING WS2812B LED strip, 60 LED/m, 2 mAbout 72 LEDs go around the frame. Typical $11-20, no verified link.Amazon (search) | 1 | $15 | $15 |
| Espressif ESP32-DevKitC-32E (DevKitC V4) development boardOfficial Espressif 38-pin DevKitC V4 with ESP32-WROOM-32E (4 MB). Micro-USB port, not USB-C. Buy only the official 38-pin Micro-USB board, not a USB-C or 30-pin clone. Primary listing: Mouser 356-ESP32-DEVKITC32E, $10.20, 1,701 in stock on Nov 12, 2026, per Findchips (https://www.findchips.com/search/ESP32-DEVKITC-32E). The Mouser US page itself returned 403 to a direct fetch, so click-confirm the US storefront before you order. Mouser Netherlands listed 1,622 in stock at €8.60 the same day. Do not use DigiKey as the default today (search snippets showed 0 in stock / long lead time). Official Amazon listing https://www.amazon.com/dp/B09MQJWQN2 was still unavailable; use it if it returns. Amazon search for the official board: https://www.amazon.com/s?k=ESP32-DevKitC-32E. Adafruit #3269 remains $15.00 and was out of stock (https://www.adafruit.com/product/3269). Typical $10-16.Mouser | 1 | $10.20 | $10.20 |
| 5 V 4 A DC power supply with barrel adapterTypical $11-18, no verified link.Amazon (search) | 1 | $14 | $14 |
| SN74AHCT125N level shifterTypical $3-8, no verified link.Amazon (search) | 1 | $5 | $5 |
| 1000 uF 10 V electrolytic capacitorTypical $0.5-2, no verified link.Amazon (search) | 1 | $0.80 | $0.80 |
| 330 ohm resistorTypical $0.1-1, no verified link.Amazon (search) | 1 | $0.20 | $0.20 |
| Silicone-insulated 22 AWG wire kitTypical $9-15, no verified link.Amazon (search) | 1 | $12 | $12 |
| Estimated total (parts only) | $89.20 | ||
Typical US prices, checked 2026-11-12. Prices change and multi-packs are often cheaper per piece.
As an Amazon Associate I earn from qualifying purchases. Prices change; check the store.
Filament
PLA (1.75 mm): about 350 g (117.4 m), roughly 20 h of printing.
PLA in black, 0.2 mm layers, 20% infill, 3 walls. The frame is four sides that join at the corners; check they fit your bed.
AI agents you'll use
- Code helper (ChatGPT, Claude, Gemini or Grok): Helps you install WLED with the official web installer and set LED count, data pin and the current limiter correctly.
- Pattern designer: Suggests WLED effects, palettes and presets for moods (calm, party, clock) and builds a playlist.
Tools
- Soldering iron
- Wire stripper
- Glass or acrylic cleaner and a lint-free cloth
- USB data cable
What you'll learn
- How two mirrors create the infinity effect
- Wiring and powering addressable LEDs safely
- Installing and configuring WLED
- Current limits and power budgets
Look into the frame and see a tunnel of light that goes on forever. Infinity mirrors are simple, surprisingly cheap, and WLED makes them come alive.
What you'll build
A 12-inch square frame about 4 cm deep. At the back is a normal mirror, at the front a two-way mirror, and around the inside edges about 72 LEDs. Light bounces between the mirrors and each reflection is dimmer, so you see a fading tunnel. WLED on the ESP32 runs effects, palettes, timers and presets from your phone.
The cost range is $80-100 for the parts listed below, allowing about 10% either way for price swings.
Print the parts
Print four frame sides with an inner ledge for the back mirror, a channel for the LED strip, and a lip for the front acrylic. Search Printables for a "12 inch infinity mirror frame", check the license, and credit the designer.
Wiring
| From | To | Notes |
|---|---|---|
| 5 V supply + | LED strip 5V (inject at both ends of the loop for even color) | 1000 uF capacitor across + and - at the strip. |
| 5 V supply - | LED strip GND and ESP32 GND | Common ground. |
| ESP32 5V/VIN | 5 V supply + | |
| ESP32 GPIO16 | 74AHCT125 input; output through 330 ohm to strip DIN | 74AHCT125 powered from 5 V, OE tied to GND. |
Step-by-step
- Print the frame and test-fit both mirrors.
- Clean the back mirror and the inside of the two-way acrylic (leave its protective film on the outside until the end).
- Stick the LED strip in the channel, facing inward, starting at a corner.
- Wire power and data; flash WLED with the web installer.
- In WLED, set the LED count, GPIO16, and a current limit of about 3500 mA.
- Close the frame and peel the outer film.
- Build presets and a playlist with the pattern designer.
Code
No code to write: WLED is flashed from the official web installer and configured from its web UI.
Prompt for the code helper:
I have an infinity mirror with 72 WS2812B LEDs on an ESP32 GPIO16 through a 74AHCT125, powered by a 5 V 4 A supply.
Using the current WLED docs at kno.wled.ge, tell me exactly which settings to change (LED count, pin, color order, current limiter), then suggest 6 presets (calm, focus, party, sunrise alarm, slow rainbow, off) with effect and palette names that exist in WLED, and a playlist cycling the first three.
Troubleshooting
- Tunnel looks dim or short: The front acrylic is too dark or the back mirror too far. Try a brighter effect and check the spacing.
- First LED flickers or wrong colors: Add the level shifter and resistor, and check common ground.
- Colors go yellow along the strip: Voltage drop. Inject power at both ends.
Files, code and docs
- WLED firmware (wled/WLED) (EUPL-1.2)
- WLED documentation (Vendor docs)
- WLED web installer (Vendor docs)
Last checked 2026-11-12. Double-check parts against your own board and seller listings before you buy.