How to Prepare Klipper Firmware for Kingroon KP3S Using Fluiddpi

Klipper is a 3D printer firmware. It helps your 3D printers to print faster and better. Today we are going to talk about how to prepare Klipper firmware for Kingroon KP3S 3.0 3D printer by using Fluiddpi.

* Please be noted the tutorial only applys to Kingroon KP3S with MCU STM32 F103 mainboard and MCU GD32F303 mainboard. The Kingroon KP3S with MCU STM32F407 version of mainboard does NOT apply to this tutorial.

Get Kingroon KP3S Mianbord with Klipper firmware flashed HERE.

Klipper

To use Klipper, we need the help of Fluiddpi, it’s a powerful project like Octopi. It contains Klipper in its image, so you don’t have to download and install it from the beginning. Of course, we will show you a better plan on Kliiper soon, which is how to use it on Octopi. You can get all the information you need on docs.fluidd.xyz.

Fluiddpi for Klipper 

Step 1 - Flash Fluiddpi

First, visit https://github.com/cadriel/FluiddPI/releases/latest to download the latest Fluiddpi image.

Flash Fluiddpi

Once you finished, use the Raspberry Pi Imager to flash it. Click “Choose OS”, scroll to the bottom, select “Use custom”, then choose the file you just downloaded. Then press keys to preset wifi(On Windows control shift x. On Mac comand shift x). If you don’t know how, please check our last tutorial on how to set up Octopi to print on your KP3S. Please enable ssh and remember the password. And the WIFI signal cannot be 5G.

After flashing the image, you can set your Pi up, our last tutorial will show you how. If you have an extra SD card, you can switch between Octopi and Fluiddpi, all you need to do is changing the SD card.

Step 2 - Update Fluiddpi

Power up the pi, wait for a while, then visit http://fluiddpi.local to go to Fluiddpi’s dashboard. Please make sure your computer and pi are at the same network. If you don’t have a WIFI adapter, you can use cable network to instead.

Fluiddpi’s dashboard

Scroll down to the bottom, click the gear icon, update everything to the latest, it will take some time.

Since Klipper has changed its configure rules recently, the old “printer.cfg” files you download is no longer working. So we will use the latest Klipper as a start, and next time we will show you how to config this version to print.

 

Step 3 - Prepare Klipper Firmware

Once you finished, proceed to the next step. Open terminal on your computer, enter following commands.

ssh pi@fluiddpi.local

Prepare Klipper Firmware

If this doesn’t work, you need to go find out the Pi’s IP address and use that instead of “fluiddpi.local”. For example, ssh pi@192.168.50.177. Then you need to enter the SSH password.

After that enter the following command to config the firmware.

Mac Users:
cd ~/klipper/
export LC_ALL=en_GB.UTF-8
make menuconfig

Windows Users:
cd ~/klipper/
make menuconfig
Klipper config settings

Then you will enter the config settings. Here are what you need to do:

1.Enable extra low-level configuration options

2.Set the Bootloader offeset as 28 KiB

3.Set the “Micro-controller Architecture” as “STMicroelectronics STM32”

4.Set the Communication interface as “USART3 PB11/PB10”

5.Enter the last option, enter “!PC6, !PD13”, the. Press enter key

Then press Q and enter “yes”, after that, the setup is done.

flash klipper firmware 

After that, enter “make” to build the firmware. It will take some time. Once you see “klipper.bin”, you’re successful. Then enter the rest two commands to finish this step.

/scripts/update_mks_robin.py ./out/klipper.bin ./out/Robin_nano.bin

cp out/Robin_nano.bin ~/fluidd/

Klipper firmware

Next, go to the browser, visit “http://fluiddpi.local/Robin_nano.bin” .  You will get a bin file, put it into the SD card. You are ready to flash the Klipper firmware to Kingroon KP3S 3D printer.

Klipper firmware to Kingroon KP3S

Step 4 - Flash Klipper Firmware

Put the SD Card into KP3S, turn it on, the firmware should start to flash. Once you see “100%”, you are all set. Now you are ready to use Klipper Firmware on Kingroon KP3S. We will show you guys how to config Klipper to print on the coming blogs. 

After that, connect the printer with raspberry.  Then go to the Terminal, enter below command.

ssh pi@fluiddpi.local 

(Then enter password to login)

cd ~/klipper/ 

ls /dev/serial/by-id/*

Then copy the marked line, paste it to the note, you will use it later.

Kingroon KP3S Klipper Firmware

Step 5, Configuration

Go visit this link and download its file.

https://github.com/nehilo/klipper_KP3S

Kingroon KP3S Klipper Firmware

After that, unzip the file and go to http://fluiddpi.local/#/configure

Upload all the config files.

Klipper Firmware for Kingroon KP3S

Since KP3S use a Titan extruder, it is necessary to correct the microsteps from 64 to 32. Click to open the stepper.cfg, rewrite the microsteps to 32.

Kingroon KP3S Klipper Firmware

After that, click “save&restart”.

Next, open the printer.cfg, find the [mcu] area, overwrite the serial with the line we copied on the note. (Ours are /dev/serial/by-id/usb-1a86_USB_Serial-if00-port0)

Klipper firmware of Kingroon KP3S

Then click “save&restart”. 

If you get below error.

Kingroon KP3S Klipper Firmware

Enter the following command:

cd ~/moonraker/scripts

./set-policykit-rules.sh

Klipper Firmware for Kingroon KP3S 3D Printer

If it is still not working, open “moonraker.conf” and modify the server area as below: 

[server]

host: 0.0.0.0

port: 7125

[file_manager]

config_path: ~/klipper_config

log_path: ~/klipper_logs

[data_store]

temperature_store_size: 600

gcode_store_size: 1000

 

the Orignal look like following:

[server]

host: 0.0.0.0

port: 7125

temperature_store_size: 600

gcode_store_size: 1000

config_path: ~/klipper_config

log_path: ~/klipper_logs

Kingroon KP3S Klipper Firmware

You can find the reference in https://moonraker.readthedocs.io/en/latest/configuration/#option-moved-deprecations

Kingroon KP3S Klipper Firmware

After that, you are all set.

Kingroon KP3S Klipper Firmware

You should revise the downloaded configuration file according to your own situation, for example, whether you're using auto bed leveling or not, or if you're using Klipper screen or not. If you want to save time, you can just download file through below links.

Please be aware that Klipper is a third-party project that may cause warranty loss, you are doing it at your own risk. Please follow the steps and choose the right bundles. Those models don’t share the settings. If you are using different models or different boards, please check https://www.klipper3d.org/ to find more help. 

 

KP3S Klipper Bundles:

https://drive.google.com/drive/folders/1ofdt3cI-jaq-3vhi_M0x7jDb05TNDMH6?usp=sharing

 

KP5L Klipper Bundles:

https://drive.google.com/drive/folders/1usUqXXuqWOOKNAJOO1SQJdmYKYkSXeEB?usp=sharing

 

KP5M Klipper Bundles:

https://drive.google.com/drive/folders/1nwKD_oI6Vh5pbRGr2isVEDNofsdcVhZM?usp=sharing

 

KP3S Pro Klipper Bundles:

https://drive.google.com/drive/folders/1wlxhkYVkU_tr-NuFbUkt7umakp2xaN5K?usp=sharing

 

Orange Pi Zero 2 Klipper Bundles(Tutorial Available Soon):

https://drive.google.com/drive/folders/1ZK4M_jXE4-4-cLwCiCDr9w8sy6MrX7j3?usp=sharing

Also, you can watch this video and learn Klipper configuration set-up for Kingroon KP3S 3D printer.

Next, we are going to publish further settings and show you what Klipper can do.

 

Previous article 3D Printer Heat Creep Issue and How to Fix It

Comments

Luciano Oliveira - March 18, 2024

I printed the calibration cube (XYZ), it has a difference in measurements, it is not 20 mm. How I fixed this in Klipper everything else works

Ryan - August 9, 2023

DO NOT use an SD card larger than 16GB when flashing with different firmware!! Spent forever on trying to get this working with a 32GB SD card. It would act like it was flashing, but wouldn’t rename the Robin_nano.bin firmware to ROBIN_NANO.CUR indicating it wasn’t flashing. I could, however, flash back to the original Kingroon firmware using the 32GB card (at least initially) which led me to believe I was good to use the larger card. You are not.

JulianLu - May 20, 2023

Is there any different of config file between kp3s pro and kp3s pro s1?

DrMono - May 9, 2023

If anyone has this error:
Unable to read tmc uart ‘stepper_x’ register IFCNT
on a KP3s (no pro, just stock)

just go to your printer cfg and disable the tmc section

David Mendez - April 28, 2023

Please add STM32F407 Klipper Firmware

Manoel Gomes - April 27, 2023

So, after set everything right, I’m getting the following error:

Unable to read tmc uart ‘stepper_x’ register IFCNT
Once the underlying issue is corrected, use the
“FIRMWARE_RESTART” command to reset the firmware, reload the
config, and restart the host software.
Printer is shutdown

It happens everytime. Any clue on how to solve this?

Juzzy - April 1, 2023

@Jacson

This works for me

#####################################

BLtouch #
##################################### [include bltouch.cfg]
[safe_z_home] # enable for BLTouch
home_xy_position: 70,90
speed: 50
z_hop: 10
z_hop_speed: 15

[bltouch] # enable for BLTouch
sensor_pin: ^PA11
control_pin: PA8

probe_with_touch_mode: True # for original BLTouch v 3.0
x_offset: 30
y_offset: 3
#z_offset: 3.873750
speed: 10

[bed_mesh] # enable for BLTouch
speed: 120
mesh_min: 30, 23
mesh_max: 180, 180
horizontal_move_z: 5
algorithm: bicubic
probe_count: 6,6

Jacson - March 29, 2023

Does anyone have a Klipper [bltouch] setup for touch sensor 3d clone

Guy Lanzone - February 8, 2023

Keep getting this error;
Moonraker warnings found.
[file_manager]: Option ‘config_path’ is deprecated, see the configuration documention at https://moonraker.readthedocs.io/en/latest/configuration/
[file_manager]: Option ‘log_path’ is deprecated, see the configuration documention at https://moonraker.readthedocs.io/en/latest/configuration/

simon - January 2, 2023

works perfectly for KP3S Pro , thanks

Leave a comment

* Required fields