Skip to content

Latest commit

 

History

History

Klipper_Config

⏬ Download Folder

This Klipper configuration is set up for the following wiring setup

Using the parts listed in the BOM

Ebox Wiring

Contents:


Prerequisites


📘 It is recommended to perform the installation in the order listed below.

Host

BTT PI 1.2

Download the OS image: https://github.com/bigtreetech/CB1/releases (Choose CB1_Debian11_minimal )
Use Balena Etcher to burn the image onto the PI SD Card.

WIFI configuration:

Re-insert the SD card into your computer, open the BOOT drive and edit system.cfg

Raspberry PI

Read the following guide to install the MainsailOS https://docs-os.mainsail.xyz/getting-started/raspberry-pi-os-based

WIFI configuration:

A. Set up your WIFI connection in the Raspberry Pi Imager before burning the image.
B. Re-insert the SD card into your computer, open the BOOT drive and edit mainsailos-wpa-supplicant.txt


SSH

Tools

To communicate with your Host you will need a SSH and an SFTP client
The easiest way is to install MobaXterm which provides both of these functions.

IP

If you pre-configured your PI SSID and WIFI Password correctly, or if you connect though a ethernet cable, you can try the following ways to find your Host IP address:

A. Open command prompt and run : ping mainsailos.local -4
B. Look at the device list inside your router dashboard
C. Install and run Angry IP Scanner


KIAUH

KIAUH is a rich featured script that makes it extremely easy to perform any Klipper related software installation, setup and firmware flashing starting from a bare OS.
This should be the first thing to install after finishing your OS installation.

https://github.com/dw-0/kiauh/tree/master

From Kiauh install:

  • Klipper
  • Moonraker

Firmware

💡 The firmware setup process can be easily done directly from KIAUH

Octopus PRO

Follow the steps starting from "Build your own firmware" and make sure to choose the appropriate settings for your own MCU type (The BOM recommendation is the Octopus Pro V1.1 with the H723 chip)

These are also mentioned in the header of printer.cfg file above.

https://github.com/bigtreetech/BIGTREETECH-OCTOPUS-V1.0/tree/master/Firmware/Klipper#build-firmware-image

FYSETC Spider 3 H7

For the FYSETC board included in the LH Stinger kits please follow the following firmware flashing guide:

https://github.com/lhndo/LH-Stinger/wiki/FYSETC-S3-H7-Firmware-Guide



Configuration


Klipper

  • Copy the files from this folder to: ~/printer_data/config
    • This can be done directly thought the Mainsail web interface or though a SFTP client such as MobaXterm or WinSCP

🚸 If you are building a FYSETC LH Stinger kit with a Spider H7 board, then please use these configuration files instead: https://github.com/lhndo/LH-Stinger/tree/main/KITS/FYSETC/Klipper_Config_FYSETC


For more information please consult:
Klipper Configuration Reference
Ebox Guide
Breakout Guide
FYSETC Kit Guide



Klipper Modules

🚸 The following modules are required for the LH Stinger setup

Before installing the modules below, make sure that your klipper installation is up to date.


XZ Dockable Probe

The XZ Dockable Probe module incorporates some unique homing features and is required for the QuickDraw probe.

The following commands in the SSH console will install the module:

cd ~/klipper/klippy/extras/
wget https://raw.githubusercontent.com/lhndo/klipper/red/klippy/extras/xz_dockable_probe.py
cd ../..
echo "klippy/extras/xz_dockable_probe.py" >> .git/info/exclude
git update-index --assume-unchanged klippy/extras/xz_dockable_probe.py > /dev/null 2>&1
systemctl restart klipper

by Dalegaard and Churls


ResHelper

ResHelper is an utility script that simplifies and streamlines the resonance testing process. Follow the installation steps from the following link or the code commands below.
https://github.com/lhndo/ResHelper


Installation:

cd ~
git clone https://github.com/lhndo/ResHelper.git
cd ResHelper
./install.sh

Resonance Holder

For debugging resonance peaks

cd ~/klipper/klippy/extras/
wget https://raw.githubusercontent.com/lhndo/danger-klipper/bleeding-edge-v2/klippy/plugins/resonance_holder.py
cd ../..
echo "klippy/extras/resonance_holder.py" >> .git/info/exclude
git update-index --assume-unchanged klippy/extras/resonance_holder.py > /dev/null 2>&1
systemctl restart klipper

Usage: Uncomment [resonance_holder] in printer.cfg and use the VIBRATION TEST macro for testing.



Themes

Mainsail Fluidd


Moonraker

Power Relay (Optional)

If using a Power Relay to control the AC supply to the Ebox, then add the following section to your moonraker.conf .
Note: The PI should be on its own independent power supply.

Relay

[power Printer]
type: gpio
pin: gpiochip0/gpio262
off_when_shutdown: True
initial_state: off
restart_klipper_when_powered: True

For more information on the BTT Pi GPIO pinout please consult this table: https://github.com/bigtreetech/CB1#40-pin-gpio


Slicers

Bed Origin

The printer supports multiple bed sizes. For ease of use, the bed position is defined in the slicer by changing the Origin Offsets, and not in Klipper's printer.cfg by changing position_endstop and position_min for X/Y axis.

Move the nozzle manually to the front left corner of the bed, and note the position, eg. X18 Y38.
Add those values in the Origin section as negative values.

Slicer Bed Settings


Slicer Start Gcode

Orca Slicer

If not using the provided LH Stinger- Orca Profiles, then set the following G-code in Printer section:

Machine Start G-Code:

PRINT_START_LHS BED=[bed_temperature_initial_layer_single] HOTEND=[nozzle_temperature_initial_layer] AUTOMESH=1 AUTOPURGE=1 QUIETMODE={if print_preset =~ /.*Quiet.*/ }1{else}0{endif}

Machine End G-Code:

PRINT_END


Prusa Slicer

In Printer Settings > Custom G-Code set:

Start G-Code:

PRINT_START_LHS BED=[first_layer_bed_temperature] HOTEND=[first_layer_temperature[initial_extruder]] AUTOMESH=1 AUTOPURGE=1 QUIETMODE=0

End G-Code:

PRINT_END


▶️ For more information please visit: Wiki>Macros>Slicers


Support

For support please join the LH Stinger Discord, or the Klipper Discord