

Factorio lamp led display
Display Factorio Lamps using Neopixels.
- Size
- 55 × 55 mm
- Copper layers
- 2
- Thickness
- 1.6 mm
- Parts
- 23
- Nets
- 29
- Pads
- 77
- Tracks, vias
- 70, 0
- Pours
- 2
- Routed
- Yes
- KiCad
- KiCad 10.0 (file 20260206)
- Created
- 27 Aug 2026
- Updated
- 12 Oct 2026
Overview
Factorio lamp led display is an open-source printed circuit board by hgschmie, from the hgschmie/factorio-lamp-led-display repository on GitHub. It is a 2-layer board of 55 × 55 mm with 23 parts on 29 nets, routed with 70 tracks and 0 vias.
It is built around the 74AHCT125D. Its parts include 8 connectors, 2 capacitors, 2 ICs and 1 resistor. It belongs with the lEDs and displays boards and the ESP32 and RISC-V boards of this library.
Main components
1README
README.mdFactorio Lamp LED Display
Adds a mod to the Factorio game (2.1 version needed) that sends out UDP packets to a local receiver daemon. The daemon creates MQTT messages that can be picked up by embedded microcontrollers that in turn drive Neopixel LEDs which reflect the color and status of in-game Lamps.
Factorio -> UDP to local receiver -> daemon (golang code) -> MQTT (mosquitto broker) -> ESP32-C3 receiver -> Neopixel LEDs
This repository contains most of the pieces required to build this. You need to bring some skills/tools though:
- at least breadboarding, better soldering for the hardware
- a 3D printer to make the Lamp cases
- a local docker installation on the machine where you run Factorio (or you need to run the daemon manually, it is a single binary)
What you find:
daemoncontains the golang code for the local receiver daemonfactorio-modcontains the code for the Lamp LED Display mod. Or get it from the mod portalfirmwarecontains the software for the ESP32-C3 supermini boardpcbcontains the KiCAD files for a controller board. Or you can breadboard this together, either works fine.3dprintcontains the 3MF files for the Lamp.
How to get it to work
(All of this is intended to be run in a local network that is firewalled/secured against the internet. There is little security besides bare-bones passwords that are written in cleartext in config files locally. If you care deeply about security, there is room for improvement)
Local setup
This sets up runtime config, broker credentials and starts the daemon.
cp config.example.yaml config.yaml
./scripts/create-credentials.sh
docker compose up -d --buildThe config.yaml file is read by the daemon on startup. The secrets created by the script are stored in the secrets directory.
If everything goes well, this is what docker ps should show:
❯ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
208767bb72bf display-daemon "/factorio-display" 6 hours ago Up 6 hours 127.0.0.1:34198->34198/udp display-daemon-1
9c2e8b83e011 eclipse-mosquitto:2.0.22 "/docker-entrypoint.…" 6 hours ago Up 6 hours 0.0.0.0:1883->1883/tcp, [::]:1883->1883/tcp display-mosquitto-1Factorio Setup
-
add the mod from the mod portal (or copy the
factorio-mod/lamp_led_displayfolder into your mod folder). Add--enable-lua-udp 34199to the Factorio start command. If you run Factorio from Steam, you can add this to the "Launch Options" directly in Steam. -
Start Factorio and load a game that has the mod activated. Then run
docker logs -f display-daemon-1from a command line window. You should see something like this:
daemon-1 | {"time":"2026-08-27T01:00:59.183286626Z","level":"INFO","msg":"factorio packet accepted","save_id":"1f0288b3-4937613a","sequence":1,"type":"snapshot","channels":0}If you see this, congrats, Factorio is talking to the locally running daemon and writes MQTT messages.
Get some LEDs
Make sure to get an ESP32-C3 supermini board (most other ESP32-C3 boards should work, too).
-
Install the PlatformIO framework. On a mac, do
brew install platformio. Otherwise, go to PlatformIO Core installation and follow the instructions -
connect your board to the computer with an USB cable
-
run
cd firmware
pio run -e esp32-c3-supermini -t upload
pio device monitorIf all goes well, you should see a Factorio-Display-xxxxxx WiFi network appear. Connect to it (e.g. with a smartphone), it should pop open a capturing portal to enter WiFi credentials, MQTT broker information. Leave the pixel count as "8" and the "channel offset" as 0. Save, reboot and now the device should show (in the shell that does the pio device monitor) something like this:
Connected!
*wm:AutoConnect: SUCCESS
*wm:STA IP Address: 172.16.10.102
Configuration page: http://172.16.10.102/ or http://factorio-display-shop-floor-a.local/running docker logs display-mosquitto-1 should show something like this:
1787807093: New client connected from 192.168.65.1:46373 as factorio-display-shop-floor-a (p2, c1, k30, u'device').Assign a lamp
If you have any Neopixels connected to the ESP32-C3 chip, you are now ready to assign a lamp to them. If you are not running the game right now, after a few seconds, all LEDs should start to slowly pulse cyan to show that "no Factorio game is sending any information". This also happens when you pause the game.
Put a Lamp down, give it some color, make sure that "always on" is checked.
Press ALT/Option + Shift + D. The cursor should now show a lamp.
Click on the Lamp you just placed. In the dialog, set the Channel Number to "1". PRESS ENTER!
The first LED on your ESP32-C3 should now have the same color as the lamp in the game.
Press Control + Shift + D to open the Channel list where you can control other aspects or delete a channel.
Project background
This project owes its existence to the lucky confluence of a few things.
- I found a Factorio Lamp on Makerworld that is designed for RGB (Neopixel) LEDs.
- I really wanted to play around with ESP32-C3 Supermini boards and I had a few lying around.
- Adafruit sells nice 5mm discrete multi-color LEDs that are Neopixel compatible.
And while all of this is great, some obstacles were in the way:
- The Factorio Lamp was single-color white and not gray/translucent. So some remixing was required.
- Besides 3D printing, this project requires some hardware and quite a bit of software.
- Firmware for the ESP32-C3
- Some daemon that takes UDP from Factorio and sends it to the board
- An actual Factorio mod that sends out UDP data messages.
That project was shelved for a year or so. Not much happened.
If you are concerned about AI and can no longer sit back and allow AI infiltration, AI indoctrination, AI subversion and the international AI conspiracy to sap and impurify all of your precious bodily fluids, then this is the moment where you need to stop reading.
I read Matthew Brunelle's Blog and a new AI model arrived (GPT-5.6-sol if you are interested) and anyway, I wanted to find out how good AI really is.
I resurrected that project with a single prompt (typos and all):
"here is what I want to do: I play the game factorio and I want to bring some of the aspects of the game to the real world. For that, I want to connect a few multi-color LEDs to a microcontroller, which can connect to WiFi. The factorio game should send some events out through its UDP interface to a local daemon (same host where the game runs) which in turn can turn these LEDs on and off.
I have a bunch of ESP-C3 microcontrollers, NeoPixel LEDs and passive components that would be needed to breadboard that together. I want to use the PlatformIO for the framework. The code on the ESP-C3 should allow me to configure WiFi when it boots up, then connect to a daemon running on my host using MQTT. In the long run, it should be possible to have multiple microcontrollers. The code on the microcontroller can be written in C or Rust, the daemon should be written in golang. If you have any questions, ask me, then create a plan on what we want to do."~ 15 clarification questions and 20 Minutes later, I had about ~75% of this git repo. It went through a few iterations (some protocol additions, simplification of configuration, adding configuration pages to the microcontroller) afterwards.
And it worked on the first try.
It put together some documentation (the contents of the docs folder and the README-codex). None of those are 100% correct but pretty close.
What this project contains is not just AI generated code. I rewrote the factorio mod from scratch (the AI generated one was functional but ugly and iterating a few times made the code very convoluted) and while I got ChatGPT to put together ~50% of the PCB (KiCAD MCP is difficult to get to work but once it does, codex gets a lot done with it), I ultimately re-layouted it and routed it manually.
AI put together all of the tests (and updated them once I rewrote the factorio mod), the docker setup, all scripts and the docs. It verified the things I did and pointed out errors that I did not notice.
But I never touched (nor read) the ESP32-C3 firmware and the UDP daemon code. And the firmware has way more feature that I would have built myself (configuration pages! mDNS!). I assume the code is ugly for a human but so is the compiler output from a high level language compiler.
Parts
23| Qty | Value | Footprint | References |
|---|---|---|---|
| 4 | M3 | MountingHole:MountingHole_3.2mm_M3 | H1, H2, H3, H4 |
| 1 | +5V TEST | TestPoint:TestPoint_Plated_Hole_D2.0mm | TP1 |
| 1 | 1000uF | Capacitor_THT:CP_Radial_D10.0mm_P5.00mm | C1 |
| 1 | 100nF | Capacitor_THT:C_Disc_D5.0mm_W2.5mm_P5.00mm | C2 |
| 1 | 390R | Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal | R1 |
| 1 | 74AHCT125 | Package_DIP:DIP-14_W7.62mm_Socket | U2 |
| 1 | DATA5V TEST | TestPoint:TestPoint_Plated_Hole_D2.0mm | TP4 |
| 1 | ESP32-C3-SUPER-MINI | display_parts:ESP32-C3-SUPER-MINI-SOCKET | U1 |
| 1 | GND TEST | TestPoint:TestPoint_Plated_Hole_D2.0mm | TP2 |
| 1 | GPIO4 TEST | TestPoint:TestPoint_Plated_Hole_D2.0mm | TP3 |
| 1 | LED 1 5V/GND/DIN/DOUT | Connector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_Vertical | J1 |
| 1 | LED 2 5V/GND/DIN/DOUT | Connector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_Vertical | J2 |
| 1 | LED 3 5V/GND/DIN/DOUT | Connector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_Vertical | J3 |
| 1 | LED 4 5V/GND/DIN/DOUT | Connector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_Vertical | J4 |
| 1 | LED 5 5V/GND/DIN/DOUT | Connector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_Vertical | J5 |
| 1 | LED 6 5V/GND/DIN/DOUT | Connector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_Vertical | J6 |
| 1 | LED 7 5V/GND/DIN/DOUT | Connector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_Vertical | J7 |
| 1 | LED 8 5V/GND/DIN/DOUT | Connector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_Vertical | J8 |
| 1 | LED8 DOUT | TestPoint:TestPoint_Plated_Hole_D2.0mm | TP5 |
| 1 | gear_logo | display_parts:gear_logo | G*** |
More from hgschmie/factorio-lamp-led-display
1- 2 layers13.2 × 18.8 mm

Similar boards
- 2 layers333.4 × 149.9 mm

- 2 layers45 × 54 mm

- 2 layers333.4 × 149.9 mm

- 2 layers273.8 × 109 mm

TrueStrike42
byungyoonc/TrueStrike42
TrueStrike42 is a columnar staggered unibody split keyboard designed to maximize performance and minimize finger fatigue.
167 parts24 - 4 layers65.4 × 53.3 mm

Waterdrop esphome
twasilczyk/waterdrop-esphome
Waterdrop RO system smart Wi-Fi module for Home Assistant
39 parts15MIT - 2 layers345 × 105.6 mm

Pov display
usedhondacivic/ECE-4760-POV-Display
Persistence of vision display. 30 FPS, full RGB color, and 26" diameter. Updates remotely over WIFI.
50 parts13 - 2 layers95.3 × 50.8 mm

TinyDiskII
GLGPrograms/tinyDiskII
Homemade floppy disk emulator for Apple II series computers
52 parts12GPL-3.0 - 2 layers296 × 234 mm

Deck
joshjetson/phosphor
A full fledged DAW in TUI and GUI flavors: Run it in the terminal or run it as a desktop app (Desktop App Coming Soon..maybe)
281 parts12MIT
Questions
How big is the Factorio lamp led display PCB?
It measures 55 × 55 mm and has 2 copper layers, 1.6 mm thick.
What parts does the Factorio lamp led display use?
23 parts, built around the 74AHCT125D. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.
Where can I download the Factorio lamp led display KiCad files?
From the hgschmie/factorio-lamp-led-display repository on GitHub, at the commit this page was made from: the board is pcb/pcb/pcb.kicad_pcb and its schematic pcb/led/led.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Can I use the Factorio lamp led display design in my own project?
Its repository states no licence, so its author keeps all rights: ask hgschmie before reusing the design.