Files
KlipperUM2/printer.cfg
2022-12-07 15:50:50 +01:00

143 lines
2.8 KiB
INI

# This file contains common pin mappings for Ultimaker UltiMainboard v2
# boards. To use this config, the firmware should be compiled for the
# AVR atmega2560.
# See docs/Config_Reference.md for a description of parameters.
[include macros.cfg]
[mcu]
serial: /dev/serial/by-id/usb-Arduino__www.arduino.cc__0042_8543034383735181D1B1-if00
[mcu EBBCan]
canbus_uuid: 82edf63bd1a9
[include UM2_v2.1.cfg]
[include bigtreetech-ebb-canbus-v1.2.cfg]
[printer]
kinematics: cartesian
max_velocity: 500
max_accel: 3000
max_z_velocity: 25
max_z_accel: 30
#steppers
[stepper_z]
step_pin: PC2
dir_pin: !PC1
enable_pin: !PC3
microsteps: 16
rotation_distance: 16
endstop_pin: ^!PA7
position_endstop = 207.890
position_min: -10
position_max: 232
homing_speed: 20.0
[stepper_x]
step_pin: PA3
dir_pin: !PA1
enable_pin: !PA5
microsteps: 16
rotation_distance: 40
endstop_pin: ^!PA0
position_endstop: 0
position_max: 230
homing_speed: 80.0
[stepper_y]
step_pin: PC5
dir_pin: PC4
enable_pin: !PC6
microsteps: 16
rotation_distance: 40
endstop_pin: ^!PA4
position_endstop: 225
position_max: 225
homing_speed: 80.0
[extruder]
step_pin: PL7
dir_pin: !PL6
enable_pin: !PC0
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
##############################
# 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: 120
horizontal_move_z: 5
mesh_min: 15, 50
mesh_max: 190, 200
probe_count: 3, 3
##############################
# Sensors #
##############################
[filament_motion_sensor runout]
detection_length: 7.0
extruder: extruder
pause_on_runout: FALSE
runout_gcode:
{action_respond_info("RUNOUT: Filament runout")}
PAUSE
insert_gcode: {action_respond_info("RUNOUT: Filament inserted")}
switch_pin: PB7
[include mainsail.cfg]
#*# <---------------------- SAVE_CONFIG ---------------------->
#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
#*#
#*# [extruder]
#*#
#*# [bed_mesh default]
#*# version = 1
#*# points =
#*# 1.265000, 1.140000, 1.065000
#*# 1.185000, 1.060000, 0.890000
#*# 1.095000, 0.960000, 0.815000
#*# x_count = 3
#*# y_count = 3
#*# 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