diff --git a/printer.cfg b/printer.cfg index 59721f8..c05ffb1 100644 --- a/printer.cfg +++ b/printer.cfg @@ -7,6 +7,9 @@ serial: /tmp/klipper_host_mcu [mcu] canbus_uuid: a39755b6c75c +[mcu printhead] +canbus_uuid: 000000000000 + [printer] kinematics: corexy max_velocity: 500 @@ -112,48 +115,47 @@ microsteps: 16 # Extruder ##################################################################### -# [multi_pin hotend_heater] -# pins: PA0, PA1 +[extruder] +step_pin: printhead: PA9 +dir_pin: !printhead: PA8 +enable_pin: !printhead: PA10 +rotation_distance: 8 +gear_ratio: 1:1 +microsteps: 16 +full_steps_per_rotation: 200 #200 for 1.8 degree, 400 for 0.9 degree +nozzle_diameter: 0.400 +filament_diameter: 1.75 +heater_pin: printhead: PB1 +sensor_type:MAX31865 +sensor_pin: printhead: PA15 +spi_bus: spi1a +rtd_nominal_r: 1000 +rtd_reference_r: 430 +rtd_num_of_wires: 2 +rtd_use_50Hz_filter: True +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 +## Try to keep pressure_advance below 1.0 +#pressure_advance: 0.05 +## Default is 0.040, leave stock +#pressure_advance_smooth_time: 0.040 -# # E0 on Motor8, Temperature Sensor on Motor4 -# [extruder] -# step_pin: PC7 -# dir_pin: PC8 -# enable_pin: !PD2 -# rotation_distance: 8 -# gear_ratio: 1:1 -# microsteps: 16 -# full_steps_per_rotation: 200 #200 for 1.8 degree, 400 for 0.9 degree -# nozzle_diameter: 0.400 -# filament_diameter: 1.75 -# heater_pin: multi_pin:hotend_heater -# sensor_type: MAX31865 -# sensor_pin: PB5 -# spi_software_mosi_pin: PG6 -# spi_software_miso_pin: PG7 -# spi_software_sclk_pin: PG8 -# rtd_nominal_r: 1000 -# rtd_reference_r: 430 -# rtd_num_of_wires: 2 -# rtd_use_50Hz_filter: True -# 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 -# ## Try to keep pressure_advance below 1.0 -# #pressure_advance: 0.05 -# ## Default is 0.040, leave stock -# #pressure_advance_smooth_time: 0.040 +[tmc2209 extruder] +uart_pin: printhead: PA13 +interpolate: false +run_current: 0.47 +stealthchop_threshold: 0 -# [tmc2209 extruder] -# uart_pin: PD5 -# interpolate: false -# run_current: 0.5 -# stealthchop_threshold: 0 +[adxl345] +cs_pin: printhead: PB12 +spi_bus: spi2 +axes_map: x,y,z ##################################################################### # Bed Heater @@ -198,20 +200,16 @@ samples_tolerance_retries: 3 [fan] ## Print Cooling Fan - CNC_FAN0 pin: PA4 -kick_start_time: 0.5 -## Depending on your fan, you may need to increase this value -## if your fan will not start. Can change cycle_time (increase) -## if your fan is not able to slow down effectively off_below: 0.10 -# [heater_fan hotend_fan] -# ## Hotend Fan - CNC_FAN1 -# pin: PF8 -# max_power: 1.0 -# kick_start_time: 0.5 -# heater: extruder -# heater_temp: 50.0 -# fan_speed: 1.0 +[heater_fan hotend_fan] +## Hotend Fan - CNC_FAN1 +pin: printhead: PA13 +max_power: 1.0 +kick_start_time: 0.5 +heater: extruder +heater_temp: 50.0 +fan_speed: 1.0 [heater_fan exhaust_fan] # Exhaust fan - CNC_FAN3 @@ -244,6 +242,11 @@ pin: PD15 chain_count: 30 color_order: GRB +[neopixel hotend_rgb] +pin: printhead: PA3 +chain_count: 3 +color_order: GRB + ##################################################################### # Homing and Gantry Adjustment Routines #####################################################################