Tyzen9 Solutions

Ender 3 Pro - Klipper

Before moving on from the Ender 3 Pro, I converted it to use Klipper

Klipper

Klipper differs from Marlin by using a distributed architecture where a host computer, such as a Raspberry Pi, handles most of the computation and passes step instructions to the printer’s microcontroller, whereas Marlin runs solely on the printer’s main board and is limited by its hardware capabilities.

Upgrading to Klipper on an Ender 3 Pro enables advanced features like input shaping and pressure advance, which greatly improve high-speed print quality by reducing vibration and extrusion artifacts. Additionally, Klipper allows for far easier real-time configuration and can achieve higher print speeds with greater precision, benefiting users seeking more control and efficiency from their printer.

Hardware

Here is the hardware being used

Creality Ender3 Pro

Raspberry Pi

Mainsail Installation

This was super easy, just use the Raspberry Pi Imager with a A1 micro SD card, and choose to install the 64-bit MainsailOS.

I followed the instructions on this page to build the RasPi.

Custom options to conisder:

After the OS is installed on the SD card, insert it into the RasPi, boot it up and access the MainSail portal at http://hostname.

Follow the first-boot instuctions and make sure all the Mainsail software has been updated.

Klipper Build

Next we need to build the Klipper formware to install on the Ender 3 Pro itself. To do this I am following the guide

I get the Klipper printer config for the Ender 3 Pro from here.

  1. Clone the githib repo
  2. Open printer.cfg and comment out the line below in the [printer] section:
max_accel_to_decel: 3000
  1. On the machine tab of the Mainsail installation, click the upload button and upload the files: printer.cfg, macros.cfg, Line_Purge.cfg, and Adaptive_Meshing.cfg
  2. Click the file moonraker.conf and make sure this line is set to true:
[file_manager]
# post processing for object cancel. Not recommended for low resource SBCs such as a Pi Zero. Default False
enable_object_processing: True

SSH to the Klipper PI and run the commands:

cd ~/klipper/
make menuconfig

Set these settings:

[ ] Enable extra low-level configuration options
    Micro-controller Architecture (STMicroelectronics STM32)  --->
    Processor model (STM32F103)  --->
    Bootloader offset (28KiB bootloader)  --->
    Communication interface (Serial (on USART1 PA10/PA9))  --->

press "Q" to exit, and then "Y" to save. Then run:

make

Copy the resulting klipper.bin file to the SD card for the Ender3. Make sure it is the only .bin file in the directory and power on the ender 3.

The Ender 3 Pro screen will be blank! I enevtually removed the screen and only used the web application.

PID Tuning

PID Tuning is an important step before the first print. It is essential for maintaining consistent temperatures in your 3D printer’s hot end and heat bed, leading to better print quality. I found these instructions useful for this process.

Extruder

Back in Mainsail, issue this command in the Console to PID tune the Extruder, where 205 is the temperature to calibrate with:

PID_CALIBRATE HEATER=extruder TARGET=205

This process will take 4-5 minutes, and output something like: PID parameters: pid_Kp=27.516 pid_Ki=1.542 pid_Kd=122.790

Once completed issue this command, to save the config, and restart the printer.

SAVE_CONFIG

Issue this command in the Mainsail console, where 65 is the temperature to calibrate with:

PID_CALIBRATE HEATER=heater_bed TARGET=65

This process will take 15-20 minutes, and output something like: PID parameters: pid_Kp=73.339 pid_Ki=1.150 pid_Kd=1168.843

Once completed issue this command, to save the config, and restart the printer.

SAVE_CONFIG

Z-Offset