Coding

Prusa Stack Light

21 October 2026

The Stack Light standing in front of a Prusa Core One, with the red, amber and green lamps lit

What you need

  • The printed parts from the Printables page (see the sizes below)
  • 1x LOLIN S2 Mini (ESP32-S2 Mini)
  • 3x WS2812 LED rings (12 LEDs each)
  • A 5 V power supply, at least 5 V 1 A, and a USB-C cable for the first install
  • Wires to connect the LED rings
  • M3x3mm inserts (the number depends on your build, 15 for 3 lamps)
  • 15x M3x16mm bolts
  • 12x M2x6mm screws
Jump to a section
  1. What the lamps show
  2. How it works
  3. The parts and their size
  4. Print settings
  5. Wiring diagram
  6. Firmware
  7. Getting started
  8. Assembly
  9. Please note
  10. Licence
  11. Support

Stack Light is a printer status tower you can read from across the room. It’s a small stacking light with three lamps for your 3D printer. It connects to your Prusa printer over your own Wi-Fi network and shows what the printer is doing, so you do not have to walk over and look at the screen.

The finished Stack Light on top of a 3D printer next to a window, with the red, amber and green lamps lit

What the lamps show

Seven tower states: idle (dim glow), preparing (amber pulse), printing (green solid), paused (amber solid), finished (green blink), error (red blink) and offline (red dim glow)

The standard profile:

State Lamp Meaning
Idle dim glow Ready to print
Preparing amber pulse Heating, levelling
Printing green solid Print under way
Paused amber solid Waiting for you
Finished green blink Print is done
Error red blink Needs attention
Offline red dim glow Not reachable

The Stack Light on a desk in front of two monitors with all three lamps lit

How it works

A small ESP32-S2 controller (LOLIN S2 Mini) sits in the base and drives three WS2812 LED rings, one per lamp. It asks your printer for its status through PrusaLink every few seconds and lights the lamps. Everything stays on your local network: no account, no cloud.

Your Prusa printer with PrusaLink, the Stack Light controller (ESP32-S2 on your Wi-Fi) and the three WS2812 lamps in a 3D-printed tower, connected in that order

  • Works with Prusa printers running PrusaLink: Core One, Core One L and XL. MK4 and MINI with PrusaLink should work. Tested on a Prusa Core One.
  • Phone-friendly setup page: join the unit’s Wi-Fi, pick your network, enter the printer’s IP address and PrusaLink API key. Done.
  • Update the firmware over Wi-Fi from the same page. No cable needed after the first install.
  • Safe by design: watchdog, automatic reconnect when Wi-Fi or the printer drops, safe mode if something goes wrong.

The parts and their size

Part Size Note
Table foot radius 40 mm 10 mm tall
Pole (shaft) radius 17 mm
Lamp segment (lamp plus base) 68 mm tall The lamp itself is 60 mm
Lamp module (inner part plus lamp “glass”) 125 mm tall 128 mm with the lid
Lamp diameter 60 mm
  • Lamps (the “glass”): Sunlu translucent PETG in green, yellow and red, so the light shines through.
  • Everything else: Sunlu PLA in grey. PLA or PETG both work for the structural parts.
  • Tolerance: 0.2 mm between parts.
  • Printed and tested on a Bambu Lab A1, a Bambu Lab P1S and a Prusa Core One. All work.

Wiring diagram

Three rings of 12 LEDs: data in series, power and ground in parallel. The LED data line goes to GPIO16 of the controller. Ring 1 is first in the data chain and sits at the bottom of the tower. Use this together with the parts list in the box at the top.

Wiring diagram: a 5 V power supply and the LOLIN S2 Mini feed three 12-LED rings. 5 V and ground go to all rings in parallel, and the data line from GPIO16 runs through ring 1, then ring 2, then ring 3

Firmware

The firmware is free for personal use and open source, on GitHub: Quizcen-Code/Prusa-Stack-Light. The prebuilt files are in the Firmware folder and the commented source for the Arduino IDE is in Source/StackLight.

What it can do:

  • Wi-Fi setup page, no code editing needed.
  • Edit colours and patterns (solid, blink, pulse) for every printer state and every ring.
  • 1 to 8 rings, LEDs per ring, brightness and power limit.
  • Finished timer, preview of your edits on the lights, and import and export of the whole setup.
  • Firmware update over Wi-Fi, watchdog, crash-loop detection and safe mode, plus /log and /status pages.

Build the firmware yourself

You can read the code, change it and build your own firmware for your own units. You need the Arduino IDE with the esp32 by Espressif Systems board package (3.3.10), the board LOLIN S2 Mini, and the libraries Adafruit NeoPixel (1.15.5) and ArduinoJson (7.x). Open Source/StackLight/StackLight.ino. The first flash goes over USB, and later updates can go over Wi-Fi from the unit’s page.

Getting started

  1. Print the parts and assemble the tower with the LED rings.
  2. Download the firmware from GitHub (the Firmware folder) and follow the firmware install guide. It takes about 10 minutes and you only need a browser and a USB cable.
  3. Join the unit’s Wi-Fi, open the setup page, and connect it to your network and your printer.
  4. Set how many LEDs are in each lamp and press Save.

Overview of the Stack Light firmware install in three steps: first install over USB with the .merged.bin file, set up Wi-Fi and the Prusa printer, and update later over Wi-Fi with the .ino.bin file

Assembly

Assembly is a bit tricky. You need to more or less assemble the entire unit at once, so wire up all the rings, but remember to route the wires through the internal units and add the outer glass. It takes a bit to get used to, so make the wires a bit too long. There is room in the tubes for this.

Bolt everything together. Tip: it helps to get magnetic bolts, so you can use a magnetic screwdriver, since the tube is narrow. You can also add connectors in between the modules for easy assembly. The power cable connects to the ESP32 and routes out through the bottom.

The underside of the Stack Light base, with the power cable routed out through a cut-out next to the centre hole and the screws visible

Please note

Provided as is, without warranty. You are responsible for a suitable power supply and safe wiring of the LEDs. Not affiliated with or endorsed by Prusa Research. Prusa and PrusaLink are trademarks of Prusa Research.

Licence

Personal, non-commercial use is free. You may use, read, modify and build the firmware for your own units. The STL files are released under Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International (CC BY-NC-ND 4.0).

Commercial use needs a one-time licence from me that covers the whole company: one purchase, no per-unit or per-seat fees. It is for internal use only, for example a business using the tower on its own manufacturing line or in its workshop. It does not allow selling the tower, the files or the firmware to customers. The commercial licence is on coff.ee/quizcen.

You may share links to the GitHub repository. Do not sell the firmware, or units running it, without written permission. The full text is in the repository’s LICENSE.md.

Support

Stack Light is free for personal use. If it is useful to you, you can support its development on Buy Me a Coffee. Donations keep this running.

Want the files?

The STL files are free on Printables. The firmware and its source code are free on GitHub. If it is useful to you, you can support me on Buy Me a Coffee.