4_Neopixel_LED_Installation_Guide - MushuDG/MakerFr_I3-RS32-K GitHub Wiki

🌈 Neopixel LED Installation with Klipper on BTT Manta M5P

This guide will walk you through installing and configuring Neopixel LEDs on your BTT Manta M5P with Klipper. We’ll cover the physical installation, wiring, and configuring the Klipper firmware for dynamic LED control.

Table of Contents

  1. πŸ”§ Materials Needed
  2. πŸ› οΈ Step 1: Physical Installation of LEDs
  3. πŸ–₯️ Step 2: Klipper Configuration for LEDs
  4. πŸš€ Step 3: Installing Klipper-LED_Effect Plugin
  5. βœ… Step 4: Testing and Verifying LED Installation
  6. πŸ“š References

πŸ”§ Materials Needed

  • Neopixel LEDs – We used Black PCB, 1m 74 IP30, but feel free to choose your desired density (e.g., 144 LEDs/m).
  • Wires – Three wires for power, ground, and signal.
  • Soldering Kit – Ensure to solder correctly, following the directional arrow on the PCB!
  • Connector JST – For connecting to the Manta board.
  • BTT Manta M5P – Your baseboard where the LEDs will be connected.

πŸ› οΈ Step 1: Physical Installation of LEDs

  1. Unboxing and Preparing LEDs: Start by preparing your Neopixel LEDs. You can use 74 LEDs/m or opt for 144 LEDs/m for a more consistent lighting effect.
  2. Wiring and Soldering: Solder the three wires to the LED strip, ensuring to follow the directional arrow on the PCB that indicates signal direction.
    • Common mistake: Don’t solder on the wrong side (the direction of the arrow is crucial).
  3. Connecting to the Manta Board:
    • Use a JST connector to hook up the LEDs directly to the RGB1 port of the Manta board: Manta_M5P_LEDS_Wiring

πŸ–₯️ Step 2: Klipper Configuration for LEDs

  1. Download the Configuration File: Download the leds.cfg from this GitHub link and place it in the ~/printer_data/config/ directory.

  2. Edit printer.cfg:

    • In your printer.cfg, include the line [include leds.cfg] to load the LED configuration file. Uncomment this line by removing the #.
  3. Configure the LED settings: In the leds.cfg file, adjust the following parameters:

    • Pin: Specify the pin depending on where the LEDs are connected. Use PC11 for RGB1 and PC14 for RGB2.
    • Chain Count: Specify the number of LEDs in your chain. For example, chain_count: 22.
    pin: PC11  # Pin connected to the Neopixel LEDs.
    chain_count: 22  # Number of Neopixels in the chain.
    

πŸš€ Step 3: Installing Klipper-LED_Effect Plugin

  1. SSH into Your CB1: Open a terminal and SSH into your CB1 board.

  2. Run the following commands to clone and install the Klipper-LED_Effect plugin:

    cd ~
    git clone https://github.com/julianschill/klipper-led_effect.git
    cd klipper-led_effect
    ./install-led_effect.sh
    
  3. Configure LED Effects: Follow the instructions in the Klipper-LED_Effect repository to set up and customize various LED effects.

βœ… Step 4: Testing and Verifying LED Installation

  1. Restart Klipper: Once everything is installed, restart Klipper for the changes to take effect.
  2. Test LED Operation: Use commands in the Klipper console to check if the LEDs are functioning correctly. Adjust the effects or configurations as needed.
  3. Troubleshooting: If the LEDs don’t light up or behave unexpectedly, double-check the wiring and ensure that the leds.cfg file is correctly configured.

Happy printing with your glowing setup! 🌟

Optional: Go to BTT TFT35 SPI installation

πŸ“š References

  1. Klipper LED Effects Plugin Documentation
  2. BTT Manta M5P Documentation