artichoke-klipper-backup/printer_data/config/printer.cfg

432 lines
9 KiB
INI

[include mainsail.cfg]
[include shaketune.cfg]
[include KAMP_Settings.cfg]
[include macros/fan_tach_monitor.cfg]
[include macros/homing.cfg]
[include macros/print_start.cfg]
[include macros/print_end.cfg]
[include macros/stealthburner_leds.cfg]
[virtual_sdcard]
path: /home/macocha/printer_data/gcodes
on_error_gcode: CANCEL_PRINT
[exclude_object]
[respond]
# Needed for sensorless homing
[force_move]
enable_force_move: True
[mcu]
canbus_uuid: 5079b671fcdd
[printer]
kinematics: corexy
max_velocity: 300
max_accel: 3000 #Max 4000
max_z_velocity: 15 #Max 15 for 12V TMC Drivers, can increase for 24V
max_z_accel: 350
square_corner_velocity: 5.0
[temperature_sensor MCU]
sensor_type: temperature_mcu
[temperature_sensor SoC]
sensor_type: temperature_host
#####################################################################
# X/Y Stepper Settings
#####################################################################
[stepper_x]
step_pin: PE6
dir_pin: PE5
enable_pin: !PC14
microsteps: 16
rotation_distance: 40
full_steps_per_rotation:200
# endstop_pin: ^EBBCan:gpio24
endstop_pin: tmc2209_stepper_x:virtual_endstop # sensorless
position_min: 0
position_endstop: 350
position_max: 350
# homing_speed: 25 #Max 100
homing_speed: 20 # sensorless
# homing_retract_dist: 5
homing_retract_dist: 0 # sensorless
homing_positive_dir: true
[tmc2209 stepper_x]
uart_pin: PC13
interpolate: true
run_current: 0.8
sense_resistor: 0.110
stealthchop_threshold: 0
diag_pin: ^PF4
driver_SGTHRS: 255
[stepper_y]
step_pin: PE2
dir_pin: PE1
enable_pin: !PE4
microsteps: 16
rotation_distance: 40
endstop_pin: tmc2209_stepper_y:virtual_endstop
full_steps_per_rotation:200
position_min: 0
position_endstop: 350
position_max: 350
# homing_speed: 25 #Max 100
homing_speed: 20 # sensorless
# homing_retract_dist: 5
homing_retract_dist: 0 # sensorless
homing_positive_dir: true
[tmc2209 stepper_y]
uart_pin: PE3
interpolate: true
run_current: 0.8
sense_resistor: 0.110
stealthchop_threshold: 0
diag_pin: ^PF3
driver_SGTHRS: 255
#####################################################################
# Z Stepper Settings
#####################################################################
## Z0 Stepper - Front Left on MOTOR3_A
[stepper_z]
step_pin: PB8
dir_pin: PB7
enable_pin: !PE0
rotation_distance: 40
gear_ratio: 80:16
microsteps: 16
endstop_pin: probe:z_virtual_endstop
position_max: 340
position_min: -5
homing_speed: 8
second_homing_speed: 3
homing_retract_dist: 3
[tmc2209 stepper_z]
uart_pin: PB9
interpolate: true
run_current: 0.8
sense_resistor: 0.110
stealthchop_threshold: 0
[stepper_z1]
step_pin: PG13
dir_pin: !PG12
enable_pin: !PG15
rotation_distance: 40
gear_ratio: 80:16
microsteps: 16
[tmc2209 stepper_z1]
uart_pin: PG14
interpolate: true
run_current: 0.8
sense_resistor: 0.110
stealthchop_threshold: 0
[stepper_z2]
step_pin: PG9
dir_pin: PD7
enable_pin: !PG11
rotation_distance: 40
gear_ratio: 80:16
microsteps: 16
[tmc2209 stepper_z2]
uart_pin: PG10
interpolate: true
run_current: 0.8
sense_resistor: 0.110
stealthchop_threshold: 0
[stepper_z3]
step_pin: PD4
dir_pin: !PD3
enable_pin: !PD6
rotation_distance: 40
gear_ratio: 80:16
microsteps: 16
[tmc2209 stepper_z3]
uart_pin: PD5
interpolate: true
run_current: 0.8
sense_resistor: 0.110
stealthchop_threshold: 0
# Steppers Autotune
[autotune_tmc stepper_x]
motor: moons-ms17hd6p420I-05
[autotune_tmc stepper_y]
motor: moons-ms17hd6p420I-05
[autotune_tmc stepper_z]
motor: moons-ms17hd6p420I-05
[autotune_tmc stepper_z1]
motor: moons-ms17hd6p420I-05
[autotune_tmc stepper_z2]
motor: moons-ms17hd6p420I-05
[autotune_tmc stepper_z3]
motor: moons-ms17hd6p420I-05
[autotune_tmc extruder]
motor: moons-cse14hra1l410a
#####################################################################
# Bed Heater
#####################################################################
[heater_bed]
heater_pin: PA1
sensor_type: Generic 3950
sensor_pin: PB1
max_power: 1.0
min_temp: 0
max_temp: 120
#####################################################################
# Toolhead
#####################################################################
[mcu EBBCan]
canbus_uuid: 92dc26a3e9fc
[temperature_sensor EBB_NTC]
sensor_type: Generic 3950
sensor_pin: EBBCan:gpio28
[adxl345]
cs_pin: EBBCan:gpio1
spi_software_sclk_pin: EBBCan:gpio2
spi_software_mosi_pin: EBBCan:gpio0
spi_software_miso_pin: EBBCan:gpio3
axes_map: z,-y,x
[resonance_tester]
probe_points: 175, 175, 20
accel_chip: adxl345
[neopixel sb_leds]
pin: EBBCan:gpio16
chain_count: 3
color_order: GRBW
initial_RED: 1.0
initial_GREEN: 0.0
initial_BLUE: 1.0
initial_WHITE: 0.0
[probe]
pin: ^EBBCan:gpio22
x_offset: 0
y_offset: 0
activate_gcode:
{% set PROBE_TEMP = 150 %}
{% set MAX_TEMP = PROBE_TEMP + 5 %}
{% set ACTUAL_TEMP = printer.extruder.temperature %}
{% set TARGET_TEMP = printer.extruder.target %}
{% if TARGET_TEMP > PROBE_TEMP %}
{ action_respond_info('Extruder temperature target of %.1fC is too high, lowering to %.1fC' % (TARGET_TEMP, PROBE_TEMP)) }
M109 S{ PROBE_TEMP }
{% else %}
# Temperature target is already low enough, but nozzle may still be too hot.
{% if ACTUAL_TEMP > MAX_TEMP %}
{ action_respond_info('Extruder temperature %.1fC is still too high, waiting until below %.1fC' % (ACTUAL_TEMP, MAX_TEMP)) }
TEMPERATURE_WAIT SENSOR=extruder MAXIMUM={ MAX_TEMP }
{% endif %}
{% endif %}
# z_offset: 0
speed: 10.0
samples: 3
samples_result: median
sample_retract_dist: 3.0
samples_tolerance: 0.006
samples_tolerance_retries: 3
# #####################################################################
# # Extruder
# #####################################################################
[extruder]
step_pin: EBBCan:gpio18
dir_pin: EBBCan:gpio19
enable_pin: !EBBCan:gpio17
rotation_distance: 22.6789511
gear_ratio: 50:10
microsteps: 16
full_steps_per_rotation: 200
nozzle_diameter: 0.400
filament_diameter: 1.75
heater_pin: EBBCan:gpio7
max_power: 1.0
min_extrude_temp: 170
pressure_advance: 0.05
pressure_advance_smooth_time: 0.040
max_extrude_only_distance: 101 # for calibration
max_extrude_cross_section: 5
min_temp: 10
max_temp: 275
sensor_type: MAX31865
sensor_pin: EBBCan:gpio9
spi_software_sclk_pin: EBBCan:gpio10
spi_software_mosi_pin: EBBCan:gpio8
spi_software_miso_pin: EBBCan:gpio11
rtd_nominal_r: 100
rtd_reference_r: 430
rtd_num_of_wires: 2
[tmc2209 extruder]
uart_pin: EBBCan:gpio20
interpolate: true
run_current: 0.5
sense_resistor: 0.110
stealthchop_threshold: 0
#####################################################################
# Fan Control
#####################################################################
[fan]
pin: EBBCan:gpio13
[heater_fan hotend_fan]
pin: EBBCan:gpio15
tachometer_pin: EBBCan:gpio12
heater: extruder
heater_temp: 50.0
[controller_fan electronics_fan]
pin: PA6
tachometer_pin: PC2
heater:
stepper: stepper_x,stepper_y,stepper_z,stepper_z1,stepper_z2,stepper_z3
[fan_generic exhaust_fan]
pin: PF8
[fan_generic bed_fans]
pin: PF6
#####################################################################
# LED Control
#####################################################################
#[output_pin caselight]
# Chamber Lighting - HE2 Connector (Optional)
#pin: PA3
#pwm:true
#shutdown_value: 0
#value:1
#cycle_time: 0.01
#####################################################################
# Homing and Gantry Adjustment Routines
#####################################################################
[idle_timeout]
timeout: 1800
# [safe_z_home]
# home_xy_position:175,175
# speed:100
# z_hop:10
[quad_gantry_level]
gantry_corners:
-60,-10
410,420
points:
50,25
50,275
300,275
300,25
speed: 100
horizontal_move_z: 10
retries: 5
retry_tolerance: 0.0075
max_adjust: 10
[bed_mesh]
speed: 300
horizontal_move_z: 10
mesh_min: 40, 40
mesh_max: 310,310
fade_start: 0.6
fade_end: 10.0
probe_count: 5,5
algorithm: bicubic
[board_pins]
aliases:
# EXP1 header
EXP1_1=PE7, EXP1_2=PG1,
EXP1_3=PG0, EXP1_4=PF15,
EXP1_5=PF14, EXP1_6=PF13, # Slot in the socket on this side
EXP1_7=PF12, EXP1_8=PF11,
EXP1_9=<GND>, EXP1_10=<5V>,
# EXP2 header
EXP2_1=PE13, EXP2_2=PE12,
EXP2_3=PE15, EXP2_4=PE11,
EXP2_5=PE10, EXP2_6=PE14, # Slot in the socket on this side
EXP2_7=PE8, EXP2_8=<RST>,
EXP2_9=<GND>, EXP2_10=<NC>
#*# <---------------------- SAVE_CONFIG ---------------------->
#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
#*#
#*# [heater_bed]
#*# control = pid
#*# pid_kp = 56.947
#*# pid_ki = 2.287
#*# pid_kd = 354.497
#*#
#*# [extruder]
#*# control = pid
#*# pid_kp = 20.003
#*# pid_ki = 1.102
#*# pid_kd = 90.759
#*#
#*# [probe]
#*# z_offset = -1.490
#*#
#*# [bed_mesh default]
#*# version = 1
#*# points =
#*# -0.072500, -0.052500, -0.050000, -0.067500
#*# -0.040000, -0.050000, -0.027500, -0.032500
#*# -0.005000, -0.037500, -0.045000, -0.032500
#*# -0.042500, -0.025000, -0.025000, -0.047500
#*# x_count = 4
#*# y_count = 4
#*# mesh_x_pps = 2
#*# mesh_y_pps = 2
#*# algo = lagrange
#*# tension = 0.2
#*# min_x = 97.38059999999999
#*# max_x = 253.17059999999998
#*# min_y = 91.4158
#*# max_y = 258.7858