Mirror, Mirror, on the Wall
Who is the fairest one of all?-The Wicked Queen, Snow White
Build a magic mirror that inspires you to be your best self every morning.
A mirror hangs quietly on your wall. You walk up to check your image, and a special message appears in the glass just for you. Once you've read the message, it slowly fades away, leaving a clear, ordinary mirror. Did that really happen?
This project uses a Sparkle Motion ESP32 board, NeoPixels LED lights, and a motion (passive infrared or PIR) sensor to make glowing messages appear inside a mirror. The magical effect is done using 2-way mirror glass (or acrylic) covering a piece of edge-lit acrylic that has been etched with quotes, icons, math equations, and anything else you want to be inspired by when you look at your reflection. When the PIR sensor is triggered by someone walking up to the mirror, a random quote (or mustache) will appear for a moment before fading away.
This is an intermediate level project that gets pretty deep into the features of software called WLED. We'll learn to set up the PIR sensor and delve into using segments to turn on just a small portion of our LED strip at a time. We'll also learn to randomize the WLED playlist when it's triggered by the sensor, so a different quote appears each time.
Additional Materials Needed
- 2-way mirror: glass or acrylic
- 1/8" - 1/4" acrylic for laser-etching
- A mirror frame
- PVC tape
- Flat black spray paint
Tools Needed
- Laser cutter for etching acrylic
- Soldering iron & accessories
- Tiny flat-head screwdriver for the screw terminals on the Sparkle Motion and the PIR sensor
- Drill with a spade bit for the PIR sensor lens (optional)
Page last edited September 25, 2025
Text editor powered by tinymce.