Use Neopixels Ring Light - Guilouz/Klipper-Flsun-Speeder-Pad GitHub Wiki

Neopixels

Neopixels can be controlled from the screen on the Neopixels menu or with these macros:

  • Turn On Neopixels with NEOPIXEL_ON macro
  • Turn Off Neopixels with NEOPIXEL_OFF macro
  • Turn On Neopixels in blue with NEOPIXEL_BLUE macro
  • Turn On Neopixels in red with NEOPIXEL_RED macro
  • Turn On Neopixels in green with NEOPIXEL_GREEN macro
  • Turn On Neopixels in yellow with NEOPIXEL_YELLOW macro
  • Turn On Neopixels in orange with NEOPIXEL_ORANGE macro
  • Turn On Neopixels in violet with NEOPIXEL_VIOLET macro
  • Turn on Neopixels based on nozzle temperature (All LEDs) with HOTEND_GLOW macro
  • Turn on Neopixels based on nozzle temperature (LED by LED) with HOTEND_PROGRESS macro
  • Turn on Neopixels based on bed temperature (All LEDs) with BED_GLOW macro
  • Turn on Neopixels based on bed temperature (LED by LED) with BED_PROGRESS macro
  • Turn on Neopixels based on printing progress (All LEDs) with PERCENT_GLOW macro
  • Turn on Neopixels based on printing progress (LED by LED) with PERCENT_PROGRESS macro
  • Turn on Neopixels based on printing speed (All LEDs) with SPEED_GLOW macro
  • Turn on Neopixels based on printing speed (LED by LED) with SPEED_PROGRESS macro

Necessary:

  • Neon Flexible Tube 1m T1616-Side 10mm PCB: Here

  • LED Strip WS2812 1 m 60 IP 30: Here

  • Cable Ties 2.5mm

  • Support (STL) : Here


Wiring for V400 (MKS Robin Nano V2.0 & Nano V2.1 Clone):

Wiring for V400 & Super Racer (MKS Robin Nano V3.0/V3.1):

Wiring for Super Racer (BigTreeTech SKR 1.3):

Wiring for Super Racer (BigTreeTech SKR 2.0):

Configuration:

  • Go to your Mainsail Web interface then click on Machine tab.

  • Open the printer.cfg file and modify the following lines by removing the # at the very beginning:

    #[neopixel NeoPixels]
    #pin: PB2
    #chain_count: 34
    #color_order: GRB
    #initial_RED: 1.0
    #initial_GREEN: 1.0
    #initial_BLUE: 1.0
    
  • And if you want some macros to control your NeoPixels modify the following line by removing the # at the very beginning:

    [include neopixels.cfg]  #Enable if you want to use Neopixels
    
  • Once done, click on SAVE & RESTART at the top right to save the file.

⚠️ **GitHub.com Fallback** ⚠️