Individually Designed LED Lamp Made with 3D Printing
The “Leon” lamp is a self-developed RGB LED lamp based on a Wemos D1 Mini and 11 WS2812 LEDs. The housing was fully designed for 3D printing and is made from PETG in red, white, and black.
Control is handled via a single push button with multiple functions such as program switching and brightness control.
Images
Front view
Rear CAD view
Installed electronics
The two small covers for wall mounting are attached using a small amount of super glue.
The Wemos D1 Mini is fixed at the corners using UV epoxy resin (this has proven reliable for simple DIY projects).
Features
9 programmed lighting modes
Static colors
Color transitions
Smooth RGB fades
Dynamic animations
5 brightness levels
Saves last settings automatically
Controlled via a single button
Operation
Action
Function
Short press
Switch lighting program
Long press
Adjust brightness
The last used program number and brightness level are automatically saved and restored after power-up.geladen.
Electronics
The lamp uses:
Wemos D1 Mini
11× WS2812 RGB LEDs
Push button
10kΩ resistor
The button is wired as a pull-up configuration:
GPIO5 → 10kΩ → 3.3V
GPIO5 → Button → GND
The button PCB measures 25 × 25 mm.
Materials
Component
Material
Housing
PETG Red
Diffuser
PETG White
Logo
PETG Black
3D Printing Settings
My 3D prints are typically produced using the following standard settings:
Nozzle: 0.4 mm
Layer height: 0.2 mm
This setup provides a good balance between detail quality, mechanical strength, and print time, making it ideal for both technical parts and decorative prints.
Screws
Quantity
Type
Use
2×
M2 × 5 mm
Button PCB
4×
M3 × 12 mm
Housing cover
Bill of Materials
Quantity
Type
1x
Wemos D1 Mini
11x
WS2812 RGB LEDs
1x
Push button
1x
10kΩ resistor
2x
M2 x 5 mm screws
4x
M3 x 12 mm screws
1× Wemos D1 Mini
11× WS2812 RGB LEDs
1× Push button
1× 10kΩ resistor
2× M2 × 5 mm screws
4× M3 × 12 mm screws
Conclusion
The lamp works very well technically and fulfills all planned functions. Visually, the red housing looks generally consistent during operation.
However, testing showed that with a 2 mm wall thickness in red PETG, too much unwanted light shines through, reducing contrast and overall lighting quality.
For better light control, two options are reasonable:
Thicker wall design (simple but material-heavy)
Dual-color housing with a black inner layer (recommended)
Due to multi-material printing capabilities, the dual-color version is the cleanest solution and will be preferred for the next iteration.