klipper-config/printer.cfg
2024-12-13 18:31:22 +00:00

182 lines
3.3 KiB
INI

# This file contains common pin mappings for the BIGTREETECH Manta E3EZ
# To use this config, the firmware should be compiled for the
# STM32G0B1 with a "8KiB bootloader" "8 MHz crystal"
# and "USB (on PA11/PA12)" or "CAN bus (on PB12/PB13)".
# See docs/Config_Reference.md for a description of parameters.
[include mainsail.cfg]
[include btt-ebb36.cfg]
[include stealthburner_leds.cfg]
[include OrbiterSensor.cfg]
[include KAMP_Settings.cfg]
[include macros.cfg]
[mcu]
canbus_uuid: f4ecb7c12108
[stepper_x]
step_pin: PA14
dir_pin: !PA10
enable_pin: !PA13
microsteps: 16
rotation_distance: 40
endstop_pin: ^PC4
position_endstop: 0
position_min: 0
position_max: 245
homing_speed: 50
[stepper_y]
step_pin: PC8
dir_pin: !PA15
enable_pin: !PC14
microsteps: 16
rotation_distance: 40
endstop_pin: ^PB0
position_endstop: -20
position_min: -20
position_max: 210
homing_speed: 50
[stepper_z]
step_pin: PD2
dir_pin: !PD4
enable_pin: !PD3
microsteps: 16
rotation_distance: 8
endstop_pin: probe:z_virtual_endstop
position_min: -1
position_max: 260
[stepper_z1]
step_pin: PB7
dir_pin: !PB6
enable_pin: !PB4
microsteps: 16
rotation_distance: 8
[heater_bed]
heater_pin: PB2 #HB
sensor_type: EPCOS 100K B57560G104F #Generic 3950
sensor_pin: PA3 #TB
control: pid
pid_Kp: 68.457
pid_Ki: 1.138
pid_Kd: 1029.416
min_temp: 0
max_temp: 130
[printer]
kinematics: cartesian
max_velocity: 450
max_accel: 10000
max_z_velocity: 5
max_z_accel: 100
########################################
# TMC2209 configuration
########################################
[tmc2209 stepper_x]
uart_pin: PB8
run_current: 0.580
interpolate: True
[tmc2209 stepper_y]
uart_pin: PC9
run_current: 0.580
interpolate: True
[tmc2209 stepper_z]
uart_pin: PD0
run_current: 0.580
interpolate: True
[tmc2209 stepper_z1]
uart_pin: PB5
run_current: 0.580
interpolate: True
[firmware_retraction]
retract_length: 0.5
retract_speed: 35
unretract_speed: 35
[adxl345 bed]
cs_pin: PC15
spi_software_miso_pin: PC11
spi_software_mosi_pin: PC12
spi_software_sclk_pin: PC10
[resonance_tester]
accel_chip_x: adxl345 hotend
accel_chip_y: adxl345 bed
probe_points: 115,82.5,10
[bed_screws]
screw1: 30, 30
screw2: 200, 30
screw3: 200, 200
screw4: 30, 200
[screws_tilt_adjust]
screw1: 30, 7.5
screw1_name: front left screw
screw2: 200, 7.5
screw2_name: front right screw
screw3: 200, 177.5
screw3_name: rear right screw
screw4: 30, 177.5
screw4_name: rear left screw
horizontal_move_z: 10
speed: 50
screw_thread: CW-M4 # Use CW for Clockwise and CCW for Counter Clockwise
[z_tilt]
speed: 200
z_positions:
-30,110
260,110
points:
20,110
210,110
retries: 20
retry_tolerance: 0.0075
[bed_mesh]
speed: 200
mesh_min: 10,10 # Need to handle head distance with cr-touch (bl_touch)
mesh_max: 220,200 # Max probe range
probe_count: 11,11
fade_start: 1
fade_end: 10
fade_target: 0
algorithm: bicubic
bicubic_tension: 0.5
[shaketune]
result_folder: ~/printer_data/config/ShakeTune_results
number_of_results_to_keep: 3
keep_raw_csv: False
show_macros_in_webui: True
timeout: 300
[input_shaper]
shaper_freq_x: 59.6
shaper_freq_y: 56.4
shaper_type_x: ei
shaper_type_y: ei
damping_ratio_x: 0.040
damping_ratio_y: 0.039
[virtual_sdcard]
path: /home/biqu/printer_data/gcodes
on_error_gcode: CANCEL_PRINT
# Mainsail macro variables
[gcode_macro _CLIENT_VARIABLE]
variable_speed_move : 50.0
variable_use_fw_retract : True
variable_idle_timeout : 3600
gcode: