- Let’s try klipper
- Good resource here on Reddit
- get config, follow compiling comment at the top of the config file, found in github src
- get the Serial ID -
ls /dev/serial/by-id/*
- put this ID in the config file
- Check out these macros
Game Plan #
- Note the original Firmware - Initial Upgrades
- Compile klipper and install on to controller board
- Plug in USB, with RPi and set up
printer.cfg
- Slice using PrusaSlicer
- Push the speed
Setting Up Klipper #
Installing Klipper on Rpi #
- Used rpi-imager to get Octoprint on to USB stick - for rp4 (load image from usb)
- OctoPrint.org - Download & Setup OctoPrint
- press
ctrl+shift+x
to open the advanced menu to set wifi and ssh for rpi - This is nice and quick, no need to get out the monitor and keyboard
- following instructions from Installation - Klipper documentation
Setting up Klipper #
For K8200
- configuration for RAMPS 1.4 on MEGA
- used configuration to get the pinout correct
Ender 3 Pro
- configuration for Creality Ender 4.2.2 board
- use
STEPPER_BUZZ STEPPER=stepper_x
to make sure the steppers are moving the the correct directions This command will move it in the positive, then negative direction
Tune your PID #
For heater bed and extruder. Make sure to run SAVE_CONFIG
after
PID_CALIBRATE HEATER=heater_bed TARGET=100
PID_CALIBRATE HEATER=extruder TARGET=245
PID Heated Bed Tuning #
PID_CALIBRATE HEATER=heater_bed TARGET 200
Calibrate X and Y Steppers with Rotation Distance #
- Unable to resolve reference to ../../../../wiki/r-140iwbqp from projs/3d-printers/klipper/klipper-setup/index.mdKlipper Rotation Distance Calibrate for Stepper Motors
Flow Calibration #
- print hollow cube with one wall
- wall thickness of nozzle size
- measure wall thickness after cube is cooled
- compensate by adjust flow percentage
Input Shaper Tuning #
with Accelerometer #
see Unable to resolve reference to ../../../../wiki/hxn3ekb4 from projs/3d-printers/klipper/klipper-setup/index.mdSetting up Raspberry Pi Pico with ADXL345 for Klipper Calibration
This should be done BEFORE pressure advanced Tunning. Because outcome of this will affect pressure advanced tuning. Tuning the printer to take out resonance at high speed, so we’ll know the acceleration limit of our machine. Could be done without Accelerometer.. but its more accurate with accel.
- hook up an accelerometer for crazy fast printing
- compile to rpi to take the accelerometer - here
- run
ACCELEROMETER_QUERY
to check, if things are correctly hooked up
- run
- run the resonance tests, for x and y axis.
- using
TEST_RESONANCES AXIS=X
andTEST_RESONANCES AXIS=Y
- when doing this, make sure the accelerometer is rigidly mounted
- used nut to tied it to the bltouch on hotend for X
- used kapton tape and a clip to hold it down to bed for Y axis
- run the script to generate the png files
~/klipper/scripts/calibrate_shaper.py /tmp/resonances_x_*.csv -o /tmp/shaper_calibrate_x.png
~/klipper/scripts/calibrate_shaper.py /tmp/resonances_y_*.csv -o /tmp/shaper_calibrate_y.png
- when executing these scripts suggested values are given
- using
[input_shaper]
shaper_freq_x: 97
shaper_type_x: mzv
shaper_freq_y: 38
shaper_type_y: mzv
Pressure Advanced Tune #
adjusting flow around the corner
-
do one print.. then follow video?
-
0.643 = 0+32.15mm*0.020(bowden)
-
NOTE check speed settings on your slicer. make sure it is fast at 100m/s. If this is not the case, check out the “time to cool” settings in the filament section. this could override the speed and slow down the print.
Square Corner Velocity (aka Jerk XY in OrcaSlicer) #
- faster speed need lower corner velocity
Bed Leveling #
Bed mesh with BL touch #
- bl touch offset is calculated by
# ================================================================================
# BLTouch Definition
# ================================================================================
[bltouch]
sensor_pin: ^PB1
control_pin: PB0
x_offset: -47
y_offset: -7
# ender3 v2
# z_offset: 1.32
# ender 3 pro
z_offset: 0.14
speed: 20
samples: 2
sample_retract_dist: 8.0
[safe_z_home]
home_xy_position: 164, 124
speed: 100
z_hop: 10
z_hop_speed: 100
# ================================================================================
# Look at https://github.com/Klipper3d/klipper/blob/master/docs/Bed_Mesh.md
[bed_mesh]
speed: 150
horizontal_move_z: 5
mesh_min: 10, 10
# mesh_max: 205, 205
# mesh_max: 245, 220
# using x_position_max-y_offset(bltouch) - 10(padding) = mesh_max for X
mesh_max: 193, 202
probe_count: 5,5
algorithm: bicubic
fade_start: 1
fade_end: 10
fade_target: 0
Screw Tilt Adjust #
use BL touch to determine how to bring bed back to level
use G1 X<VAL> Y<VAL>
to get the BL touch to line up with the screws
then run SCREWS_TILT_ADJUST
Camera #
Setting up the USB cam #
- used logitech C920
sudo v4l2-ctl --set-ctrl=focus_auto=0
sudo v4l2-ctl --set-ctrl=focus_absolute=32
- make it permanent with a script
Setting up Legacy camera #
sudo raspi-config
enable legacy camera
Final Configuration #
- Note that the file
printer.cfg
gets edited