added extruder and bed

This commit is contained in:
2022-12-08 22:33:52 +01:00
parent ebcd2733d1
commit dde1f0a6cf

View File

@@ -4,7 +4,16 @@
# See docs/Config_Reference.md for a description of parameters.
[include mainsail.cfg]
[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
[mcu EBBCan]
canbus_uuid: 82edf63bd1a9
@@ -67,51 +76,28 @@ pin: PD2
white_pin: PD4
initial_WHITE: 0.7
#[heater_fan fan1]
#pin: PD3
#[heater_fan fan2]
#[bltouch]
#sensor_pin: PC14
#control_pin: PA1
#[adxl345]
#cs_pin: PD9
#spi_bus: spi1
#axes_map: z,y,-x
##############################
# bed leveling #
##############################
#[neopixel rgb1]
#pin: PD0
[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
#[neopixel rgb2]
#pin: PD1
[mcu]
serial: /dev/serial/by-id/usb-Klipper_stm32g0b1xx_hurakan-if00
[printer]
kinematics: cartesian
max_velocity: 180
max_accel: 3000
max_z_velocity: 100
max_z_accel: 100
########################################
# EXP1 / EXP2 (display) pins
########################################
[board_pins]
aliases:
# EXP1 header
EXP1_1=PD6, EXP1_3=PB9, EXP1_5=PA15, EXP1_7=PA9, EXP1_9=<GND>,
EXP1_2=PB8, EXP1_4=PC3, EXP1_6=PA10, EXP1_8=PB5, EXP1_10=<5V>,
# EXP2 header
EXP2_1=PB14, EXP2_3=PC11, EXP2_5=PC12, EXP2_7=PC13, EXP2_9=<GND>,
EXP2_2=PB13, EXP2_4=PA8, EXP2_6=PB15, EXP2_8=<RST>, EXP2_10=<NC>
# See the sample-lcd.cfg file for definitions of common LCD displays.
[bed_mesh]
speed: 120
horizontal_move_z: 5
mesh_min: 15, 50
mesh_max: 190, 200
probe_count: 3, 3
########################################
# TMC2209 configuration
@@ -120,19 +106,62 @@ aliases:
[tmc2209 stepper_x]
uart_pin: PB12
run_current: 0.800
#diag_pin:
[tmc2209 stepper_y]
uart_pin: PC10
run_current: 0.800
#diag_pin:
[tmc2209 stepper_z]
uart_pin: PC9
run_current: 0.800
#diag_pin:
# [tmc2209 extruder]
# uart_pin: PA13
# run_current: 0.600
#diag_pin:
[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
[include mainsail.cfg]
#*# <---------------------- SAVE_CONFIG ---------------------->
#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
#*#
#*#
#*# [extruder]
#*#
#*# [bed_mesh default]
#*# version = 1
#*# points =
#*# 0.725000, 0.715000, 0.660000, 0.610000, 0.570000
#*# 0.660000, 0.650000, 0.600000, 0.575000, 0.485000
#*# 0.695000, 0.650000, 0.605000, 0.585000, 0.495000
#*# x_count = 5
#*# 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