klipper_switchwire/printer.cfg
2023-01-03 16:42:51 -08:00

260 lines
4.4 KiB
INI

[include mainsail.cfg]
[include macros.cfg]
[include print_start.cfg]
[include print_end.cfg]
[include calibration_macros.cfg]
#[include klipper-mini12864.cfg]
[include dock_macros.cfg]
[include timelapse.cfg]
[pause_resume]
[respond]
[force_move]
enable_force_move: true
# Set to true to enable FORCE_MOVE and SET_KINEMATIC_POSITION
# extended G-Code commands. The default is false.
[stepper_x]
step_pin: PB13
dir_pin: PB12
enable_pin: !PB14
endstop_pin: ^PC0
rotation_distance: 40
microsteps: 64
position_endstop: 250
position_min: 0
position_max: 250
homing_speed: 70
homing_positive_dir: true
homing_retract_dist: 0
[tmc2209 stepper_x]
uart_pin: PC11
tx_pin: PC10
uart_address: 0
run_current: .9
interpolate: False
stealthchop_threshold: 0
[stepper_y]
step_pin: PB10
dir_pin: PB2
enable_pin: !PB11
rotation_distance: 40
full_steps_per_rotation: 200
microsteps: 64
endstop_pin: ^PC1
position_endstop: 230
position_min: -21
position_max: 235
homing_speed: 70
homing_positive_dir: true
[tmc2209 stepper_y]
uart_pin: PC11
tx_pin: PC10
uart_address: 2
run_current: .9
interpolate: False
stealthchop_threshold: 0
[stepper_z]
step_pin: PB0
dir_pin: PC5
enable_pin: !PB1
rotation_distance: 40
full_steps_per_rotation: 200
microsteps: 64
endstop_pin: ^PC2
position_endstop: -2.6
position_max: 250
homing_speed: 40
position_min: -8.0
[tmc2209 stepper_z]
uart_pin: PC11
tx_pin: PC10
uart_address: 1
run_current: .9
interpolate: False
stealthchop_threshold: 0
[bed_mesh]
speed: 200
horizontal_move_z: 7.5
mesh_min: 25,35.0
mesh_max: 225.0,220
probe_count: 6
algorithm: lagrange
mesh_pps: 3
fade_start: 1
fade_end: 10
fade_target: 0
[probe]
pin: PC15
x_offset: 0.0
y_offset: 34.5
z_offset = 6.275
speed: 25
samples_result: median
samples_tolerance: 0.05
samples_tolerance_retries: 2
samples: 3
[extruder]
max_extrude_only_distance: 100.0
step_pin: PB3
dir_pin: PB4
enable_pin: !PD2
rotation_distance: 21.820
# Tune for extruder
gear_ratio: 50:17
microsteps: 64
full_steps_per_rotation: 200
nozzle_diameter: 0.400
filament_diameter: 1.750
heater_pin: PC8
pressure_advance: 0.05
pressure_advance_smooth_time: 0.040
sensor_type: ATC Semitec 104GT-2
sensor_pin: PA0
control = pid
pid_kp = 27.402
pid_ki = 1.631
pid_kd = 115.090
min_temp: 0
max_temp: 350
[tmc2209 extruder]
uart_pin: PC11
tx_pin: PC10
uart_address: 3
run_current: 0.6
interpolate: False
[controller_fan basement_fan]
pin: PC14
max_power: 1
kick_start_time: 0.200
shutdown_speed: 0
idle_timeout: 30
idle_speed: .3
fan_speed: 0.6
[heater_bed]
heater_pin: PC9
sensor_type: ATC Semitec 104GT-2
sensor_pin: PC3
pwm_cycle_time: 0.0166
control = pid
pid_kp = 60.996
pid_ki = 0.738
pid_kd = 1260.320
min_temp: 0
max_temp: 120
[thermistor custom_chamber]
temperature1: 8
resistance1: 100000
temperature2: 144
resistance2: 1074
temperature3: 284
resistance3: 82.78
[temperature_sensor chamber]
sensor_type: custom_chamber
sensor_pin: PA6
min_temp: 0
max_temp: 200
[fan]
pin: PC6
# thermally controlled hotend fan
[heater_fan hotend_fan]
pin: PC7
max_power: 1.0
kick_start_time: 0.100
heater: extruder
heater_temp: 50.0
fan_speed: 1.0
[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
[mcu]
serial: /dev/serial/by-id/usb-Klipper_stm32f103xe_33FFD8055646303527842243-if00
[mcu rpi]
serial: /tmp/klipper_host_mcu
[adxl345]
cs_pin: rpi:None
[printer]
kinematics: corexz
max_velocity: 200
max_accel: 7000
max_accel_to_decel: 3500
max_z_velocity: 70
max_z_accel: 7000
square_corner_velocity: 8.0
[static_digital_output usb_pullup_enable]
pins: !PA14
[output_pin LIGHTS]
pin: PC12
value: 0
shutdown_value: 0
[screws_tilt_adjust]
screw1: 125,84.5
screw1_name: center screw
screw2: 20,-21
screw2_name: front left screw
screw3: 125,-21
screw3_name: front center screw
screw4: 230,-21
screw4_name: front right screw
screw5: 230,84.5
screw5_name: center right screw
screw6: 230,180
screw6_name: rear right screw
screw7: 125,180
screw7_name: rear center screw
screw8: 20,180
screw8_name: rear left screw
screw9: 20,84.5
screw9_name: center left screw
horizontal_move_z: 7.5
speed: 200
screw_thread: CCW-M3
[virtual_sdcard]
path: /home/pi/sdcard
[resonance_tester]
accel_chip: adxl345
probe_points:
125,119,20
[firmware_retraction]
retract_length: 0.2
retract_speed: 80
unretract_speed: 80
[input_shaper]
shaper_type_x = mzv
shaper_freq_x = 51.0
shaper_type_y = mzv
shaper_freq_y = 48.8