Giter Site home page Giter Site logo

klipper-neopixel's Introduction

Klipper NeoPixel Templates

Info

This is a collection of NeoPixel led templates for Klipper firmware. It uses the array of leds as a progress bar for different printer actions. The refresh rate is faster than delayed_gcode.

The template of NeoPixel is changed by a macro. This is very handy in case you want to change the template during start macro or during a print. For example in the start macro you could set the template for temperature during preheat and then change to the template for print progress or printer speed for the same NeoPixel.

Installation

  1. Assuming you have a working NeoPixel led

    [neopixel my_led]
    pin: PB9
    chain_count: 32
    
  2. Download / clone led_progress.cfg to your klipper_config folder

  3. Include this file in your printer.cfg

[include led_progress.cfg]

Use

NEOPIXEL_DISPLAY LED="led_name" TYPE=template_type MODE=template_mode

LED

Your led name from neopixel cfg section

TYPE

extruder_temp extruder temperature relative to target temperature (if is set) or to maxim temperature

bed_temp bed temperature relative to target temperature (if is set) or to maxim temperature

print_percent progress of current print

printer_speed current speed relative to maximum printer speed

MODE

glow all leds will fade from one color (or non) to an other color

progress the leds will light up one by one

You can combine any TYPE with any MODE.

Examples

NEOPIXEL_DISPLAY LED="my_led" TYPE=extruder_temp MODE=glow

This macro command will show the extruder temperature in glow mode.

NEOPIXEL_DISPLAY LED="my_led" TYPE=print_percent MODE=progress

This macro command will show print completion in progress mode.

NEOPIXEL_DISPLAY LED="my_led" TYPE=print_speed MODE=progress

This macro command will show print speed in progress mode.

klipper-neopixel's People

Contributors

digitalninja-ro avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.