# Klipper-What do you put in printer.cfg file?

**URL:** <https://forum.sovol3d.com/t/klipper-what-do-you-put-in-printer-cfg-file/5712>\
**Category:** Sovol SV06 Fully Open Source 3D Printer\
**Tags:** klipper\
**Created:** [September 23, 2024, 2:44am UTC](https://forum.sovol3d.com/t/klipper-what-do-you-put-in-printer-cfg-file/5712 "2024-09-23T02:44:40Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chief](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.sovol3d.com/chief/32/2025_2.png) [@Chief](https://forum.sovol3d.com/u/Chief)\
**Post date:** [September 23, 2024, 2:44am UTC](https://forum.sovol3d.com/t/klipper-what-do-you-put-in-printer-cfg-file/5712/1 "2024-09-23T02:44:40Z")

</div>

I am using octoprint with klipper on my sv06 and it is giving me a ton of warnings related to the printer.cfg file and I cant really figure out what exactly I’m supposed to put in the file, I’ve tried different things and they haven’t worked. is there anything I can just copy paste and put in there?

---

<div class="post-metadata">

**Author:** ![sovol3d](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.sovol3d.com/sovol3d/32/9_2.png) [@sovol3d](https://forum.sovol3d.com/u/sovol3d)\
**Post date:** [September 25, 2024, 3:09am UTC](https://forum.sovol3d.com/t/klipper-what-do-you-put-in-printer-cfg-file/5712/2 "2024-09-25T03:09:48Z")

</div>

Thank you so much for buying from Sovol, and I apologize for all the inconvenience.  
Did you already send an email to [info@sovol3d.com](mailto:info@sovol3d.com)? If not, please send the above situation with videos and pictures and your order number, and we will check with the engineers asap.

---

<div class="post-metadata">

**Author:** ![zogthegreat](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.sovol3d.com/zogthegreat/32/2437_2.png) [@zogthegreat](https://forum.sovol3d.com/u/zogthegreat)\
**Post date:** [December 4, 2024, 1:36pm UTC](https://forum.sovol3d.com/t/klipper-what-do-you-put-in-printer-cfg-file/5712/3 "2024-12-04T13:36:26Z")

</div>

Hi @Chief , I just saw your post, I’m hoping that you got things going already. But if you haven’t, here is an example of my printer.cfg for the SV06. Do not to just copy and paste, my setup will be different from yours. But this will give you a general idea of what you need:

[mcu]

# NOTE Obtain definition by “ls -l /dev/serial/by-path/” or “ls -l /dev/serial/by-id/”

serial: /dev/serial/by-id/usb-1a86\_USB\_Serial-if00-port0  
restart\_method: command

[printer]  
kinematics: cartesian  
max\_velocity: 200  
max\_accel: 3000  
max\_z\_velocity: 15  
max\_z\_accel: 45  
square\_corner\_velocity: 8.0

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

# X/Y/Z Stepper Settings

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

[stepper\_x]  
step\_pin: PC2  
dir\_pin: !PB9  
enable\_pin: !PC3  
microsteps: 128  
;microsteps: 16  
rotation\_distance: 40  
endstop\_pin: tmc2209\_stepper\_x:virtual\_endstop  
position\_endstop: 0  
position\_max: 223 # NOTE You can adjust this if you have more room  
homing\_speed: 40  
homing\_retract\_dist: 0

[tmc2209 stepper\_x]  
uart\_pin: PC1  
run\_current: 0.85 ;1.0  
stealthchop\_threshold: 0  
interpolate: False  
sense\_resistor: 0.150  
uart\_address: 3  
driver\_SGTHRS: 81  
diag\_pin: PA5

[stepper\_y]  
step\_pin: PB8  
dir\_pin: !PB7  
enable\_pin: !PC3  
microsteps: 128  
;microsteps: 16  
rotation\_distance: 40  
endstop\_pin: tmc2209\_stepper\_y:virtual\_endstop  
position\_endstop: 0  
position\_max: 223 # NOTE You can adjust this if you have more room  
homing\_speed: 40  
homing\_retract\_dist: 0

[tmc2209 stepper\_y]  
uart\_pin: PC0  
run\_current: 0.85 ;1.0  
stealthchop\_threshold: 0  
interpolate: False  
sense\_resistor: 0.150  
uart\_address: 3  
driver\_SGTHRS: 81  
diag\_pin: PA6

[stepper\_z]  
step\_pin: PB6  
dir\_pin: PB5  
enable\_pin: !PC3  
microsteps: 128  
;microsteps: 16  
rotation\_distance: 4  
endstop\_pin: probe:z\_virtual\_endstop  
position\_min: -4  
position\_max: 258 # NOTE You can adjust this if you have more room  
homing\_speed: 5

[tmc2209 stepper\_z]  
uart\_pin: PA15  
run\_current: 0.85 ;1.0  
stealthchop\_threshold: 0  
interpolate: False  
sense\_resistor: 0.150  
uart\_address: 3  
diag\_pin: PA7

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

# Extruder

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

[extruder]  
step\_pin: PB4  
dir\_pin: !PB3  
enable\_pin: !PC3  
microsteps: 16  
rotation\_distance: 4.65 # NOTE Calibrate e-steps [Rotation distance - Klipper documentation](https://www.klipper3d.org/Rotation_Distance.html#calibrating-rotation_distance-on-extruders), [https://github.com/bassamanator/everything-sovol-sv06/blob/main/howto.md#calibrate-esteps](https://github.com/bassamanator/everything-sovol-sv06/blob/main/howto.md#calibrate-esteps)  
nozzle\_diameter: 0.400  
filament\_diameter: 1.750  
heater\_pin: PA1  
sensor\_type: EPCOS 100K B57560G104F  
sensor\_pin: PC5  
#control: pid  
#pid\_kd: 86.991  
#pid\_kp: 21.479  
#pid\_ki: 1.326  
min\_temp: 0  
max\_temp: 300  
max\_extrude\_only\_distance: 150.0  
max\_extrude\_cross\_section: 5 # NOTE Needed for KAMP purge

[tmc2209 extruder]  
uart\_pin: PC14  
run\_current: 0.550  
stealthchop\_threshold: 0  
interpolate: False  
sense\_resistor: 0.150  
uart\_address: 3

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

# Bed Heater

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

[heater\_bed]  
heater\_pin: PA2  
sensor\_type: EPCOS 100K B57560G104F  
sensor\_pin: PC4  
#control: pid  
#pid\_kp: 64.440  
#pid\_ki: 0.773  
#pid\_kd: 1343.571  
min\_temp: 0  
max\_temp: 110

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

# Probe Related

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

[probe]  
pin: PB1  
x\_offset: 27  
y\_offset: -20  
#z\_offset: 0  
samples: 3  
samples\_result: median  
samples\_tolerance: 0.01  
samples\_tolerance\_retries: 5

[safe\_z\_home]  
home\_xy\_position: 84.50, 135 # NOTE The probe is at the center of the bed.  
speed: 100.0  
z\_hop: 10  
z\_hop\_speed: 15

[bed\_mesh]  
speed: 175  
mesh\_min: 27, 6 # probe as close to origin as possible while remaining fully on the bed  
mesh\_max: 222, 203 # (x.position\_max - 1), (y.position\_max - abs(y\_offset)) ; probe as far as possible from the origin while remaining fully on the bed  
probe\_count: 5,5  
algorithm: bicubic  
fade\_start: 1  
fade\_end: 10  
fade\_target: 0

[axis\_twist\_compensation]  
calibrate\_start\_x: 27 # probe x coor at furthest left ; abs(x\_offset)  
calibrate\_end\_x: 195 # probe x coor at furthest right ; (x.position\_max - abs(x\_offset) - 1)  
calibrate\_y: 115

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

# Fans

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

[fan]  
pin: PA0

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

# Misc

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

[display]  
lcd\_type: st7920  
cs\_pin: PB12  
sclk\_pin: PB13  
sid\_pin: PB15  
encoder\_pins: ^PB14, ^PB10  
click\_pin: ^!PB2

[bed\_screws]  
screw1\_name: front left  
screw1: 26.5, 31  
screw2\_name: front right  
screw2: 196.75, 31  
screw3\_name: back right  
screw3: 196.75, 201  
screw4\_name: back left  
screw4: 26.5, 201

[screws\_tilt\_adjust]  
screw1\_name: center  
screw1: 84.50, 135  
screw2\_name: front left  
screw2: 0, 51  
screw3\_name: front right  
screw3: 169.75, 51  
screw4\_name: back right  
screw4: 169.75, 221  
screw5\_name: back left  
screw5: 0, 221  
horizontal\_move\_z: 10  
screw\_thread: CCW-M4

[output\_pin beeper]  
pin: PC6  
value: 0  
shutdown\_value: 0  
pwm: True  
cycle\_time: 0.0005 ; Default beeper tone in kHz. 1 / 0.0005 = 2000Hz (2kHz)

[filament\_switch\_sensor filament\_sensor]  
switch\_pin: !PA4 # “Pulled-high”  
pause\_on\_runout: True  
insert\_gcode:  
M117 Insert Detected  
{ action\_respond\_info(“Insert Detected”) }  
runout\_gcode:  
M117 Runout Detected  
{ action\_respond\_info(“Runout Detected”) }  
CONDITIONAL\_BEEP i=3 dur=300 freq=400
