andrewmcgr / klipper_tmc_autotune

TMC stepper driver autotuning Klipper python extra
GNU General Public License v3.0
631 stars 138 forks source link

Klipper reports: ERROR Could not find stepper config section '[exturder]' required by TMC autotuning #184

Closed luemonkey123 closed 4 months ago

luemonkey123 commented 4 months ago

Sorry if this is stupid, but i get this error after configuring TMC autotune. `[include shell_command.cfg] [include fluidd.cfg]

[virtual_sdcard] path: /home/biqu/printer_data/gcodes on_error_gcode: CANCEL_PRINT

[include timelapse.cfg] [include macros.cfg]

[include Adaptive_Mesh.cfg]

[include Line_Purge.cfg] [include mainsail.cfg]

This file contains common pin mappings for the BIGTREETECH Manta E3EZ

To use this config, the firmware should be compiled for the

STM32G0B1 with a "8KiB bootloader" "8 MHz crystal"

and "USB (on PA11/PA12)" or "CAN bus (on PB12/PB13)".

See docs/Config_Reference.md for a description of parameters.

[stepper_x] step_pin: PA14 dir_pin: !PA10 enable_pin: !PA13 microsteps: 16 rotation_distance: 40 endstop_pin: ^PC4 position_endstop: 0 position_max: 235 homing_speed: 50

[stepper_y] step_pin: PC8 dir_pin: !PA15 enable_pin: !PC14 microsteps: 16 rotation_distance: 40 endstop_pin: ^PB0 position_endstop: 0 position_max: 235 homing_speed: 50

[stepper_z] step_pin: PD2 dir_pin: PD4 enable_pin: !PD3 microsteps: 16 rotation_distance: 8 endstop_pin: probe:z_virtual_endstop

position_endstop: 0

position_max: 250 position_min: -10

[extruder] max_extrude_only_distance: 200 max_extrude_cross_section: 5 min_extrude_temp: 0 step_pin: PD5 dir_pin: !PD6 enable_pin: !PB3 microsteps: 16 full_steps_per_rotation: 200 gear_ratio: 45:10, 37:16 rotation_distance: 44.290116 nozzle_diameter: 0.400 filament_diameter: 1.75 heater_pin: PB11 #HE0 sensor_type: EPCOS 100K B57560G104F sensor_pin: PA5 #TH0

control: pid

pid_Kp: 21.527

pid_Ki: 1.063

pid_Kd: 108.982

min_temp: 0 max_temp: 300

[filament_switch_sensor material_0]

switch_pin: PC5

[extruder1]

step_pin: PB7

dir_pin: PB6

enable_pin: !PB4

heater_pin: PB10 # HE1

sensor_pin: PA5 # T1

[filament_switch_sensor material_1]

switch_pin: PB1

[heater_bed] heater_pin: PB2 #HB sensor_type: EPCOS 100K B57560G104F #Generic 3950 sensor_pin: PA3 #TB 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: 0 max_temp: 130

hotend fan

[fan] pin: PA8

heatsink fan

[heater_fan fan1] heater: extruder pin: PB15

[temperature_fan manta_fan] pin: PB14 control: watermark max_delta: 3 sensor_type: temperature_host min_temp: 0 max_temp: 100 target_temp: 60

[filament_motion_sensor btt] detection_length: 7 extruder: extruder switch_pin: ^PC5 pause_on_runout: True insert_gcode: M117 Insert Detected runout_gcode: FILAMENT_RUNOUT

[mcu] serial: /dev/serial/by-id/usb-Klipper_stm32g0b1xx_290007000B504B5735313920-if00

[printer] kinematics: cartesian max_velocity: 300 max_accel: 3000 max_z_velocity: 5 max_z_accel: 100

[exclude_object]

[gcode_arcs] resolution: 0.1

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

TMC2209 configuration

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

[tmc2209 stepper_x] uart_pin: PB8

diag_pin: PC4

run_current: 0.800 stealthchop_threshold: 999999 interpolate: true

[tmc2209 stepper_y] uart_pin: PC9

diag_pin: PB0

run_current: 0.800 stealthchop_threshold: 999999 interpolate: true

[tmc2209 stepper_z] uart_pin: PD0

diag_pin: PC6

run_current: 0.650 stealthchop_threshold: 999999 interpolate: true

[tmc2209 extruder] uart_pin: PD1 run_current: 0.800 stealthchop_threshold: 0 interpolate: true

TMC auto_tune

[autotune_tmc stepper_x] motor: creality-42-34

[autotune_tmc stepper_y] motor: creality-42-34

[autotune_tmc stepper_z] motor: creality-42-40

[autotune_tmc exturder] motor: moons-cse14hra1l410a

[temperature_sensor raspberry_pi] sensor_type: temperature_host min_temp: 10 max_temp: 100

[temperature_sensor mcu_temp] sensor_type: temperature_mcu min_temp: 0 max_temp: 100

[safe_z_home] home_xy_position: 175, 175 # Change coordinates to the center of your print bed speed: 50 z_hop: 10 # Move up 10mm z_hop_speed: 5 `

luemonkey123 commented 4 months ago

Nevermind, I spelled the extruder section wrong. I'm dumb sometimes.