Files
klipperum2BTTMantaM4P/printer.cfg
2022-12-14 20:51:41 +01:00

182 lines
3.4 KiB
INI

# This file contains common pin mappings for the BIGTREETECH Manta M4P
# 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.
[printer]
kinematics: cartesian
max_velocity: 180
max_accel: 3000
max_z_velocity: 100
max_z_accel: 100
[mcu]
#serial: /dev/serial/by-id/usb-Klipper_stm32g0b1xx_hurakan-if00
serial: /dev/serial/by-id/usb-Klipper_stm32g0b1xx_27004F000A50414733303120-if00
[mcu EBBCan]
canbus_uuid: 82edf63bd1a9
[include toolhead.cfg]
[stepper_x]
step_pin: PC6
dir_pin: !PA14
enable_pin: !PC7
microsteps: 16
rotation_distance: 40
endstop_pin: ^!PC0
position_endstop: 0
position_max: 220
homing_speed: 80
[stepper_y]
step_pin: PB10
dir_pin: PB2
enable_pin: !PB11
microsteps: 16
rotation_distance: 40
endstop_pin: ^!PC1
position_endstop: 220
position_max: 220
homing_speed: 80
[stepper_z]
step_pin: PB0
dir_pin: !PC5
enable_pin: !PB1
microsteps: 16
rotation_distance: 8
endstop_pin: ^!PC2
position_endstop: 207.890
position_max: 232
position_min: -10
homing_speed: 40
[extruder]
step_pin: PB3
dir_pin: !PB4
enable_pin: !PD5
microsteps: 16
rotation_distance: 10.07
nozzle_diameter: 0.400
filament_diameter: 1.74
heater_pin: EBBCan: PB13
control: pid
pid_Kp: 21.527
pid_Ki: 1.063
pid_Kd: 108.982
min_temp: 0
max_temp: 270
sensor_type:MAX31865
sensor_pin: EBBCan: PA4
spi_bus: spi1
rtd_nominal_r: 100
rtd_reference_r: 430
rtd_num_of_wires: 2
pressure_advance: 0.78
[filament_switch_sensor extruder_filament_sensor]
switch_pin: ^!PC15
[heater_bed]
heater_pin: PD8
sensor_type: MAX31865
spi_speed: 400000
spi_bus: spi1
sensor_pin: PD9
min_temp: 0
max_temp: 120
rtd_nominal_r: 100
rtd_reference_r: 430
control = pid
pid_kp = 62.901
pid_ki = 1.808
pid_kd = 547.241
[fan]
pin: PD2
[led WhiteLeds]
white_pin: PD4
initial_WHITE: 0.7
##############################
# bed leveling #
##############################
[bed_screws]
screw1: 120, 185
screw1_name: "rear mid screw"
screw2: 20 ,20
screw2_name: "front left screw"
screw3: 220, 20
screw3_name: "front right screw"
horizontal_move_z: 5
[bed_mesh]
speed: 150
horizontal_move_z: 5
mesh_min: 15, 50
mesh_max: 190, 200
probe_count: 5, 5
[bltouch]
sensor_pin: ^EBBCan:PB8
control_pin: EBBCan:PB9
z_offset: 1.210
########################################
# TMC2209 configuration
########################################
[tmc2209 stepper_x]
uart_pin: PB12
run_current: 0.800
[tmc2209 stepper_y]
uart_pin: PC10
run_current: 0.800
[tmc2209 stepper_z]
uart_pin: PC9
run_current: 0.800
[tmc2209 extruder]
uart_pin: PA13
run_current: 0.600
[include mainsail.cfg]
#*# <---------------------- SAVE_CONFIG ---------------------->
#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
#*#
#*# [bed_mesh default]
#*# version = 1
#*# points =
#*# 0.862500, 0.700000, 0.632500, 0.605000, 0.615000
#*# 0.902500, 0.810000, 0.715000, 0.602500, 0.547500
#*# 0.922500, 0.830000, 0.770000, 0.657500, 0.567500
#*# 1.000000, 0.955000, 0.875000, 0.707500, 0.635000
#*# 1.080000, 1.020000, 0.965000, 0.785000, 0.730000
#*# x_count = 5
#*# y_count = 5
#*# mesh_x_pps = 2
#*# mesh_y_pps = 2
#*# algo = lagrange
#*# tension = 0.2
#*# min_x = 15.0
#*# max_x = 190.0
#*# min_y = 50.0
#*# max_y = 200.0