Edited klipper neopixel script that is making automatic Neopixel led bargraph.
19
129
0
1240
updated January 16, 2023

Description

PDF

This is my edited version of neopixel script that is making automatic Neopixel led bargraph. Original author is “digitalninja-ro”, i have rewritten parts of scripts, so now it is working in automatic mode.

When printer is in IDLE, bargraph reacts to nozzle temperature - red for nozzle and blue for bed. When both is hot, whole pargrph is bright pink-white.

When Printer is PRINTING, bargraph is acting as progress bar with green leds.

 

How to use software

  1. Save contents of led_progress.txt into klipper config folder as led_progress.cfg
  2. Into printer.cfg add line [include led_progress.cfg]
  3. Define your neopixel strip in printer.cfg (see code lower)
  4. In led_progress.cfg edit line NEOPIXEL_DISPLAY LED="neopixel_strip" and fill in your neopixel strip name
  5. Restart printer
[neopixel neopixel_strip]
pin: P1.24 # See mainboard documentation for right pin
chain_count: 10
color_order: GRB
#   Set the pixel order required by the LED hardware. Options are GRB,
#   RGB, BRG, GRBW, or RGBW. The default is GRB.
initial_RED: 0.0
initial_GREEN: 0.0
initial_BLUE: 0.0

Required hardware

2x M3x8 SHCS or BHCS screw

2x M3 T-nut for aluminium profile

10pcs WS2812 neopixel leds in a strip (5V, 144leds/m)

Thin 3-wire cable, maximum diameter 3mm. Preferably with JST connector on one end.

Piece of black insulation tape

How to use hardware

  1. Print Neopixel_holder_10LED.stl and destroy integrated supports in screw holes (push screw through hole / use 3mm drill bit)
  2. Solder wire of adequate length to one end of Neopixel strip
  3. Put Neopixel strip into printed holder and fix it with insulation tape (this is important, make sure to cover whole strip)
  4. Mount prepared Neopixel assembly to any free aluminium profile, where it will be safe from moving parts
  5. Crimp adequate connector to loose end of cable (if you dont have JST on it) and plug into free Neopixel output on printers mainboard (look into mainboard documentation for right wiring)

 

 

Tags



Model origin

The author remixed this model.

License