Tuesday, March 21, 2023

KLIPPER INSTALL

 KLIPPER INSTALL

Klipper installation with raspberry 3.5" LCD

1. Install Raspberry OS to pi

RaspiOS

Upgrade lite to desktop:

 

sudo apt update

sudo apt upgrade

sudo apt dist-upgrade

sudo reboot

sudo apt install xserver-xorg

sudo apt install raspberrypi-ui-mods -y

sudo apt install lightdm

sudo reboot


--------------------------------------------------------

--------------------------------------------------------


Instal LCD 3.5inch driver


sudo apt install git -y

sudo apt-get install xinput-calibrator


Ysudo raspi-config

Advanced -> Display -> GL


git clone https://github.com/waveshare/LCD-show.git

cd LCD-show/


option 1 (desktop):

chmod +x LCD35-show

 ./LCD35-show



--------------------------------------------------------

inverted touch (?) edit:

sudo nano /usr/share/X11/xorg.conf.d/99-calibration.conf


--------------------------------------------------------

From :

Section "InputClass"

        Identifier      "calibration"

        MatchProduct    "ADS7846 Touchscreen"

        Option  "Calibration"   "3932 300 294 3801"

        Option  "SwapAxes"      "1"

        Option "EmulateThirdButton" "1"

        Option "EmulateThirdButtonTimeout" "1000"

        Option "EmulateThirdButtonMoveThreshold" "300"

EndSection

-------------------------------------------------------

To :


Section "InputClass"

        Identifier      "calibration"

        MatchProduct    "ADS7846 Touchscreen"

        Option  "Calibration"   "3932 300 294 3801"

        Option  "SwapAxes"      "0"

        Option "EmulateThirdButton" "1"

        Option "EmulateThirdButtonTimeout" "1000"

        Option "EmulateThirdButtonMoveThreshold" "300"

EndSection

------------------------------------------------------


sudo reboot


Click the "Menu" button on the taskbar, choose "Preference" -> "Calibrate Touchscreen".


------------------------------------------------------------

2. Install klipper:

Easy way is to install klipper KIAUH 


cd ~

git clone https://github.com/th33xitus/kiauh.git

./kiauh/kiauh.sh


install 

klipper

moonraker

mainsail

klipperscreen

-----------------------------------------------------

Klipperscreen too wide(?) edit

sudo nano /boot/config.txt

-----------------------------------------------------

--------------------------------------------------------------

Led Effect


cd ~

git clone https://github.com/julianschill/klipper-led_effect.git

cd klipper-led_effect

./install-led_effect.sh

No comments:

Post a Comment