3dprintref

Firmware / Configuration

Klipper configurator

Assign components to MCU pins and generate a starter printer.cfg configuration. Works with stock Klipper and Kalico (a more cutting-edge community fork — configs are largely interchangeable).

Start from a preset

1

LED hardware

Most common addressable LED. Used in most Klipper builds.

2

Effect

3

Tune it

Palette
Only part of the strip, autostart

Live preview

Breathing · 10 × WS2812B

Simulated at your frame rate. Heater, stepper and progress effects are shown with a sweeping stand-in value.

printer.cfg — paste below your board config

# ------------------------------------------------------------------
# LED strip "my_leds": 10 x WS2812B (GRB)
#   Wire data to your mainboard or toolhead board LED header; 5V LEDs.
# ------------------------------------------------------------------
[neopixel my_leds]
pin: LED_PIN    # set to your board's RGB / Neopixel header
chain_count: 10
color_order: GRB
initial_RED: 0.0
initial_GREEN: 0.0
initial_BLUE: 0.0

# ------------------------------------------------------------------
# Effect "my_effect": Breathing
#   Smooth fade in/out cycle. Each palette color gets a full breathe cycle.
#   Needs the klipper-led_effect plugin: https://github.com/julianschill/klipper-led_effect
#   Control it with SET_LED_EFFECT EFFECT=my_effect (add STOP=1 to turn it off).
# ------------------------------------------------------------------
[led_effect my_effect]
leds:
    neopixel:my_leds
autostart: true
frame_rate: 24
# layers: <effect> <rate> <cutoff> <blend> <palette of (R, G, B) colours, 0.0-1.0>
layers:
    breathing 4 0 top (0.5, 0.5, 1.0)
Installing klipper-led_effect

Effects need Julian Schill's plugin. On the printer host:

cd ~
git clone https://github.com/julianschill/klipper-led_effect.git
cd klipper-led_effect
./install-led_effect.sh

Then add it to Moonraker's update manager so it stays current, as described in the project README. A plain [neopixel] section works without the plugin; only [led_effect] needs it.