Using the parts listed in the BOM
📘 It is recommended to perform the installation in the order listed below.
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
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
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.
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 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
💡 The firmware setup process can be easily done directly from KIAUH
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.
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
- Copy the files from this folder to: ~/printer_data/config
🚸 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
🚸 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.
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
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
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.
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.
[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
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.
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
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 support please join the LH Stinger Discord, or the Klipper Discord