New to klipper and need some help

siboor switchwire
SKR mini E3 v3
klippy (2).log (341.3 KB)

i keep getting an error ( Unable to parse option ‘max_temp’ in section ‘heater_bed’ )
and many others
and would like if someone could help me get my printer up and running

Hello @AgK9132 !

Your config file seems to be a bit mashed up.

Please attach the printer.cfg to your next post.

2 Likes

@AgK9132 as Eddy requested, please attach your printer.cfg and DO NOT paste it into the message.

2 Likes

printer.cfg (10.9 KB)

thank you two so much and insight would be perfect

Welcome AgK9132,

Probably the space sign before ‘max_temp’ in section ‘heater_bed’ in line 214 of your ‘printer.cfg’. Just a typo :wink:

One question, is this your first Klipper printer?

#####################################################################
# 	Displays
#####################################################################
## 	For the mini12864 Display, the [display] and [neopixel] must be uncommented
 mini12864 LCD Display
 connected to exp1/2
[display]
 # mini12864 LCD Display
lcd_type: uc1701
cs_pin: PB8
a0_pin: PB15
rst_pin: PB9
encoder_pins: ^PA9,^PA10
click_pin: ^!PB5
contrast: 63
spi_software_sclk_pin: PA5
spi_software_mosi_pin: PA7
spi_software_miso_pin: PA6
menu_reverse_navigation: True

Lines 5 and 6 need to be commented out.

#####################################################################
# 	Probe
#####################################################################

######
#Z Max Connector on Z(main) Board
 Inductive Probe
###############
[probe]
##      If your probe is NO instead of NC, add change pin to !z:P1.24
pin: ^PC2
x_offset: 0
y_offset: 25
z_offset: 0
samples: 3
samples_result: median
sample_retract_dist: 3
samples_tolerance: 0.006
samples_tolerance_retries: 3

Same here on line 7

#####################################################################
#   Extruder Settings
#####################################################################

######
#Motor - EM
###############
[extruder]
# E0_STEP_PIN        PB3
# E0_DIR_PIN         PB4
# E0_ENABLE_PIN      PB1
# E0_UART_RX         PC11
# E0_UART_TX         PC10
step_pin: PB3
dir_pin: PB4
enable_pin: !PD1
##  Update value below when you perform extruder calibration
##  If you ask for 100mm of filament, but in reality it is 98mm:
##  rotation_distance = <previous_rotation_distance> * <actual_extrude_distance> / 100
##  22.6789511 is a good starting point
rotation_distance: 4.637   #Bondtech 5mm Drive Gears
##  Update Gear Ratio depending on your Extruder Type
##  Use 50:10 for Stealthburner/Clockwork 2
##  Use 50:17 for Afterburner/Clockwork (BMG Gear Ratio)
##  Use 80:20 for M4, M3.1
gear_ratio: 7.5:1 
microsteps: 16
full_steps_per_rotation: 200
nozzle_diameter: 0.400
filament_diameter: 1.75
heater_pin: PC8
##  Validate the following thermistor type to make sure it is correct
##  See https://www.klipper3d.org/Config_Reference.html#common-thermistors for additional options
 sensor_type: Generic 3950
sensor_pin: PA0
min_temp: 10
max_temp: 270
max_power: 1.0
min_extrude_temp: 170
control: pid
pid_kp: 26.213
pid_ki: 1.304
pid_kd: 131.721
#Set appropriate once tuning your printer
pressure_advance: .025
##	Default is 0.040, leave stock
# pressure_advance_smooth_time: 0.040
max_extrude_only_distance: 500.0
max_extrude_only_velocity: 120

On line 34 you have to delete the leading space

#####################################################################
#   Y Stepper Settings
#####################################################################

######
# Motor -YM
# Endstop - Y-STOP
###############
[stepper_y]
step_pin: PB10
dir_pin: PB2
enable_pin: !PB11
microsteps: 16
rotation_distance: 20.0
full_steps_per_rotation: 200
## Ucomment one of the following:
 # Switch-based endstop for Y
#endstop_pin: ^PC1 
 Sensorless endstop for Y
endstop_pin: tmc2209_stepper_y:virtual_endstop
homing_retract_dist: 0 # Uncomment this line too
position_endstop: 250
position_min: 0
position_max: 250
homing_speed: 70
homing_positive_dir: true

Line 19 needs to be commented out.

#####################################################################
# 	X Stepper Settings
#####################################################################

# Motor -XM
# Endstop - X-STOP
###############
[stepper_x]
step_pin: PB10
dir_pin: PB2
enable_pin: !PB11
microsteps: 16
rotation_distance: 20.0
full_steps_per_rotation: 200
## Ucomment one of the following:
 # Switch-based endstop for X
#endstop_pin: ^PC1 
 Sensorless endstop for X
endstop_pin: tmc2209_stepper_x:virtual_endstop
homing_retract_dist: 0 # Uncomment this line too
position_endstop: 220
position_min: 0
position_max: 220
homing_speed: 70
homing_positive_dir: true

Same here on line 18

#####################################################################
# 	Bed Heater
#####################################################################

######
# BED Connector
###############
[heater_bed]
heater_pin: PC9
sensor_type: EPCOS 100K B57560G104F
sensor_pin: PC4
control: pid
# tuned for stock hardware with 50 degree Celsius target
#pid_Kp: 54.027
#pid_Ki: 0.770
#pid_Kd: 948.182
min_temp: 10
 max_temp: 110

The leading space in line 18 has to be deleted.

2 Likes

I have try deleting that space infront of the max_temp and it still reads the same error

This is also my first klipper printer

all changes you have mentioned i have changed i saved but now no errors
many thanks
how do i get the klipper bin file to flash my fireware

1 Like

Please review Klipper Documentation for board setup.