Structured Klipper config for Prusa MK3s/MK3s+ 3D printer, inspired by https://github.com/Rat-OS/RatOS-configuration
- Get Z offset value from your current firmware (Menu -> Calibration -> Z-offset), you will need it for the Klipper config.
- Your bed needs to be perpendicular (based on XYZ Calibration). If not you will have to do the skew calibration before printing or you risk crashing your nozzle to the bed.
- Read https://github.com/dz0ny/klipper-prusa-mk3s/blob/main/printer.template.cfg
- Read https://www.klipper3d.org/Installation.html#building-and-flashing-the-micro-controller
- Install https://docs.mainsail.xyz/setup/mainsail-os to SDCard and RPI Zero 2 W
- Connect as described in https://help.prusa3d.com/en/article/raspberry-pi-zero-w-preparation-and-installation_2180
- Update all components under Machine tab, otherwise config might not be able to load
- Clone config
git clone https://github.com/dz0ny/klipper-prusa-mk3s.git ~/printer_data/config/klipper-prusa-mk3s
If you are adding this configuration after installing Klipper via KIAUH, the directory might be different - typically following
~/[printer_name]/printer_data/config
, where[printer_name]
is the name you selected during the Kiauh installation
- Add the following to the to
moonraker.conf
to enable automatic updates
[update_manager prusa]
type: git_repo
origin: https://github.com/dz0ny/klipper-prusa-mk3s.git
path: ~/printer_data/config/klipper-prusa-mk3s
primary_branch: main
is_system_service: False
managed_services: klipper
- Copy https://github.com/dz0ny/klipper-prusa-mk3s/blob/main/printer.template.cfg to
printer.cfg
in your klipper config - Adjust config to your hardware
- Flash Klipper to your printer https://www.klipper3d.org/Installation.html#building-and-flashing-the-micro-controller
You will still need a USB cable as you cannot flash via an internal serial port. You can also use any other computer to compile your firmware.
To use this config, the firmware should be compiled for the AVR atmega2560. To use via serial, in "make menuconfig" select "Enable extra low-level configuration options" and select serial1 (the RasPi serial) or serial0 when you plan to connect via the USB.
To flash:
make flash FLASH_DEVICE=/dev/serial/by-id/usb-Prusa_Research__prusa3d.com__Original_Prusa_i3_MK3_CZPX0620X004XK70128-if00