Added source for gantry leveling. Added macros.cfg. Many minor adjustments to printer.cfg.

This commit is contained in:
Bassam Husain
2022-12-25 21:39:27 -05:00
parent 7152a12bf7
commit 72de539b78
3 changed files with 239 additions and 8 deletions

View File

@@ -9,14 +9,16 @@
# that was flashed.
# See docs/Config_Reference.md for a description of parameters.
[include mainsail.cfg]
[include macros.cfg]
[include mechanical_level_tmc2209.cfg]
[mcu]
#####################################################################
# Obtain definition by "ls -l /dev/serial/by-id/"
#####################################################################
serial: /dev/serial/by-id/usb-1a86_USB2.0-Serial-if00-port0
restart_method: command
[adxl345]
cs_pin: rpi:None
@@ -34,8 +36,14 @@ probe_points: 110, 110, 20
kinematics: cartesian
max_velocity: 300
max_accel: 3000
max_accel_to_decel: 1500
max_z_velocity: 5
max_z_accel: 100
# square_corner_velocity: 6.0
#####################################################################
# X/Y Stepper Settings
#####################################################################
[stepper_x]
step_pin: PC2
@@ -81,6 +89,10 @@ uart_address: 3
driver_SGTHRS: 82
diag_pin: PA6
#####################################################################
# Z Stepper Settings
#####################################################################
[stepper_z]
step_pin: PB6
dir_pin: !PB5
@@ -101,13 +113,12 @@ sense_resistor: 0.150
uart_address: 3
diag_pin: PA7
[thermistor sovol_thermistor]
temperature1: 25
resistance1: 94162
beta: 4160
#####################################################################
# Extruder
#####################################################################
[extruder]
max_extrude_only_distance: 100.0
max_extrude_only_distance: 150.0
step_pin: PB4
dir_pin: !PB3
enable_pin: !PC3
@@ -124,6 +135,7 @@ pid_kp: 21.479
pid_ki: 1.326
min_temp: 0
max_temp: 260
min_extrude_temp: 190
[tmc2209 extruder]
uart_pin: PC14
@@ -133,6 +145,15 @@ interpolate: False
sense_resistor: 0.150
uart_address: 3
#####################################################################
# Misc
#####################################################################
[thermistor sovol_thermistor]
temperature1: 25
resistance1: 94162
beta: 4160
[heater_bed]
heater_pin: PA2
sensor_type: EPCOS 100K B57560G104F
@@ -158,6 +179,7 @@ samples_tolerance_retries: 5
[safe_z_home]
home_xy_position: 85,135
# speed: 50.0
z_hop: 10
z_hop_speed: 5