doom-micron/printer.cfg
2023-07-01 00:21:55 +00:00

184 lines
4.3 KiB
INI

# This file contains common pin mappings for the BIGTREETECH Manta M8P V1.1
# To use this config, the firmware should be compiled for the
# STM32G0B1 with a "8KiB bootloader" and USB communication.
# See docs/Config_Reference.md for a description of parameters.
## THINGS TO CHANGE/CHECK: ***
## Fine tune E steps [extruder] section
[mcu]
serial: /dev/serial/by-id/usb-Klipper_stm32g0b1xx_4700270009504B4633373520-if00
restart_method: command
[printer]
kinematics: corexy
max_velocity: 500
max_accel: 5000
max_z_velocity: 15
max_z_accel: 350
square_corner_velocity: 8
[firmware_retraction]
retract_length: 0.4
retract_speed: 50
unretract_speed: 50
[include steppers.cfg]
[include fans.cfg]
[include basic_macros.cfg]
[include sensorless.cfg]
[include autoz.cfg]
[include calibration_macros.cfg]
[include purge_bucket.cfg]
[include force_move.cfg]
[include timelapse.cfg]
[include bedfans.cfg]
[virtual_sdcard]
path: ~/printer_data/gcodes
[display_status]
[pause_resume]
[exclude_object]
[gcode_arcs]
resolution: 0.1
#####################################################################
# Bed Heater
#####################################################################
[heater_bed]
heater_pin: PE1
sensor_type: Generic 3950
sensor_pin: PA0
max_power: 1
min_temp: 0
max_temp: 120
control: pid
pid_kp: 55.331
pid_ki: 3.208
pid_kd: 238.614
# For 50%
#pid_kp: 31.756
#pid_ki: 1.217
#pid_kd: 207.207
#####################################################################
# Probe
#####################################################################
[dockable_probe]
# Uses the TH3 port as we ran out of endstops
pin: PA4
x_offset: 0
y_offset: 26.0
z_offset: 3.6
samples: 3
samples_result: median
sample_retract_dist: 1.0
samples_tolerance: 0.05
samples_tolerance_retries: 3
dock_position: 153,188
approach_position: 153,150
detach_position: 110,188
z_hop: 18
dock_retries: 3
attach_speed: 50
detach_speed: 15
travel_speed: 300
auto_attach_detach: True
check_open_attach: True
speed: 10.0
lift_speed: 10
#####################################################################
# Homing and Gantry Adjustment Routines
#####################################################################
[idle_timeout]
timeout: 1800
[quad_gantry_level]
# Gantry Corners for Micron+ Build
# Uncomment for Micron+ build
gantry_corners:
-60.2,-10.4
244.1,234.5
# Probe points
points:
3,2
3,120
160,120
160,2
speed: 500
horizontal_move_z: 15
retries: 5
retry_tolerance: 0.0075
max_adjust: 10
[bed_mesh]
speed: 500
horizontal_move_z: 5
mesh_min: 2,26
mesh_max: 170,156
zero_reference_position: 90, 90
probe_count: 3,3
mesh_pps: 2,2
algorithm: bicubic
bicubic_tension: 0.2
########################################
# EXP1 / EXP2 (display) pins
########################################
[board_pins]
aliases:
# EXP1 header
EXP1_1=PE9, EXP1_2=PE10,
EXP1_3=PE11, EXP1_4=PE12,
EXP1_5=PE13, EXP1_6=PE14, # Slot in the socket on this side
EXP1_7=PE15, EXP1_8=PB10,
EXP1_9=<GND>, EXP1_10=<5V>,
# EXP2 header
EXP2_1=PB14, EXP2_2=PB13,
EXP2_3=PF7, EXP2_4=PB12,
EXP2_5=PE7, EXP2_6=PB11, # Slot in the socket on this side
EXP2_7=PE8, EXP2_8=<RST>,
EXP2_9=<GND>, EXP2_10=PC5
#[z_thermal_adjust]
#temp_coeff: #23.4 μm/m·°C for Misumi A6N01SS-T5 6005A-T5 aluminum alloy
# The temperature coefficient of expansion, in mm/degC. For example, a
# temp_coeff of 0.01 mm/degC will move the Z axis downwards by 0.01 mm for
# every degree Celsius that the temperature sensor increases. Defaults to
# 0.0 mm/degC, which applies no adjustment.
#smooth_time:
# Smoothing window applied to the temperature sensor, in seconds. Can reduce
# motor noise from excessive small corrections in response to sensor noise.
# The default is 2.0 seconds.
#z_adjust_off_above:
# Disables adjustments above this Z height [mm]. The last computed correction
# will remain applied until the toolhead moves below the specified Z height
# again. The default is 99999999.0 mm (always on).
#max_z_adjustment:
# Maximum absolute adjustment that can be applied to the Z axis [mm]. The
# default is 99999999.0 mm (unlimited).
#sensor_type:
#sensor_pin:
#min_temp:
#max_temp:
# Temperature sensor configuration.
# See the "extruder" section for the definition of the above
# parameters.
#gcode_id:
# See the "heater_generic" section for the definition of this
# parameter.