This is my backup place for my currently used klipper config file.
It is base on MainsailOS and includes all of my custom files.
- Klipper Config Ref
- Klipper TMC
- Klipper GCodes
- Moonraker (API) Config
- KlipperScreen (Touchscreen) Config
- CrowsNest (CamProxy) Config
- Spoolman
- Klipper Adaptive Meshing & Purging
- Klipper LED effects
Issue with instructions: Klipper3d/klipper#2913
The following lines worked for me:
enable_uart=1
dtoverlay=disable-bt
dtoverlay=pi3-miniuart-bt
Make sure no console is specified for UART debugging.
[mcu]
serial: /dev/ttyAMA0
restart_method: command
- Comment out line
dtoverlay=vc4-kms-v3d
➡#dtoverlay=vc4-kms-v3d
- Add line
display_rotate=2
to rotate for 180°
⚠ DON'T ever use the install scripts of them ⚠ (They will overwrite all existing config and do strange stuff)
https://joy-it.net/de/products/RB-LCD-5
Setup instructions: https://www.waveshare.com/wiki/5inch_HDMI_LCD
Add the following lines
hdmi_group=2
hdmi_mode=87
hdmi_cvt 800 480 60 6 0 0 0
hdmi_drive=1
dtoverlay=ads7846,cs=1,penirq=25,penirq_pull=2,speed=50000,keep_vref_on=0,swapxy=0,pmax=255,xohms=150,xmin=200,xmax=3900,ymin=200,ymax=3900
# Install packages
sudo apt-get install xserver-xorg-input-evdev xinput-calibrator -y
# Copy configs to later time executed
sudo cp -rf /usr/share/X11/xorg.conf.d/10-evdev.conf /usr/share/X11/xorg.conf.d/45-evdev.conf
# Add touch panel options
sudo tee /usr/share/X11/xorg.conf.d/99-calibration.conf > /dev/null <<EOT
Section "InputClass"
Identifier "calibration"
MatchProduct "ADS7846 Touchscreen"
Option "Calibration" "157 3965 164 3902"
Option "TransformationMatrix" "-1 0 1 0 -1 1 0 0 1" # This turns also the touch 180°
Option "SwapAxes" "0"
Option "EmulateThirdButton" "1"
Option "EmulateThirdButtonTimeout" "1000"
Option "EmulateThirdButtonMoveThreshold" "300"
EndSection
EOT
- Calibrate with
DISPLAY=:0 xinput_calibrator
- Adjust
/usr/share/X11/xorg.conf.d/99-calibration.conf
with the new values ofCalibration
if the differ a lot
To customize the KlipperScreen UI switch the files below with the red dice png
- main.svg
- klipper.svg