klipper_cfg_a10m/printer.cfg

249 lines
4.3 KiB
INI
Raw Normal View History

2021-09-06 23:31:37 +02:00
# This file contains common pin mappings for the Geeetech GT2560 in an A10M mod
# GT2560 board uses a firmware compiled for the AVR
# atmega2560.
# See docs/Config_Reference.md for a description of parameters.
[stepper_x]
step_pin: PC0
dir_pin: PG2
enable_pin: !PC2
microsteps: 16
rotation_distance: 39.850 #40
endstop_pin: !PA2
position_endstop: 0
position_max: 240
homing_speed: 30
[stepper_y]
step_pin: PC6
dir_pin: PC4
enable_pin: !PA7
microsteps: 16
rotation_distance: 39.604 #40
endstop_pin: !PA6
position_endstop: 0
position_max: 230
homing_speed: 30
[bltouch]
sensor_pin: ^PC7
control_pin: PB5
x_offset: -36.5 #40 #113-76,5
y_offset: 10.8 #-3 #1-11.8
z_offset: 1.660
[safe_z_home]
home_xy_position: 110,110
speed: 50
z_hop: 5
z_hop_speed: 5
[stepper_z]
step_pin: PA3
dir_pin: !PA1
enable_pin: !PA5
microsteps: 16
rotation_distance: 8
endstop_pin: probe:z_virtual_endstop
position_max: 247
position_min: 0.0
[screws_tilt_adjust]
screw1: 75,24
screw1_name: front left screw
screw2: 235,24
screw2_name: front right screw
screw3: 235,193
screw3_name: rear right screw
screw4: 75,193
screw4_name: rear left screw
horizontal_move_z: 10.
speed: 50.
screw_thread: CW-M3
[extruder]
step_pin: PL3
dir_pin: !PL5
enable_pin: !PB6
microsteps: 16
rotation_distance: 7.413 #33.500
nozzle_diameter: 0.4
filament_diameter: 1.750
heater_pin: PB4
sensor_type: EPCOS 100K B57560G104F
# pid_kp = 36.471
# pid_ki = 1.749
# pid_kd = 190.106
sensor_pin: PK3
min_temp: 0
max_temp: 250
#control: pid
# sensor_type: ATC Semitec 104GT-2
# pid_kp: 41.047
# pid_ki: 1.955
# pid_kd: 215.497
# sensor_type: NTC 100K beta 3950
# pid_kp = 34.876
# pid_ki = 1.761
# pid_kd = 172.634
[extruder1]
step_pin: PL0
dir_pin: !PL2
enable_pin: !PL1
microsteps: 16
rotation_distance: 7.413 #33.500
nozzle_diameter: 0.4
filament_diameter: 1.750
shared_heater: extruder
[filament_switch_sensor filament]
switch_pin: !PK4
[filament_switch_sensor filament1]
switch_pin: !PK5
[heater_bed]
heater_pin: PG5
sensor_type: EPCOS 100K B57560G104F
# pid_kp = 68.215
# pid_ki = 3.272
# pid_kd = 355.570
sensor_pin: PK2
min_temp: 0
max_temp: 120
# control: pid
# sensor_type: ATC Semitec 104GT-2
# pid_kp: 68.748
# pid_ki: 3.446
# pid_kd: 342.880
# sensor_type: NTC 100K beta 3950
# pid_kp = 67.318
# pid_ki = 3.117
# pid_kd = 363.515
[bed_mesh]
speed: 120
horizontal_move_z: 5
mesh_min: 20,30
mesh_max: 198, 210
probe_count: 5,5
[tmc2209 stepper_x]
uart_pin: PJ1
uart_address: 0
run_current: 0.8
stealthchop_threshold: 99999
[tmc2209 stepper_y]
uart_pin: PJ1
uart_address: 1
run_current: 0.8
stealthchop_threshold: 99999
[tmc2209 stepper_z]
uart_pin: PJ1
uart_address: 3
run_current: 0.8
# stealthchop_threshold: 99999
[tmc2209 extruder]
uart_pin: PJ0
uart_address: 0
run_current: 0.8
stealthchop_threshold: 99999
[tmc2209 extruder1]
uart_pin: PJ0
uart_address: 1
run_current: 0.8
stealthchop_threshold: 99999
[fan]
pin: PH6
[mcu]
serial: /dev/serial0
restart_method: rts
[printer]
kinematics: cartesian
max_velocity: 200
max_accel: 1500
max_z_velocity: 10
max_z_accel: 100
[output_pin light]
pin: PH3
[output_pin buzzer]
pin: PD3
[display]
lcd_type: hd44780
rs_pin: PD1
e_pin: PH0
d4_pin: PH1
d5_pin: PD0
d6_pin: PE3
d7_pin: PC1
encoder_pins: ^PL7, ^PG1
menu_reverse_navigation: True
click_pin: ^!PD2
hd44780_protocol_init: False
[mcu rpi]
serial: /tmp/klipper_host_mcu
#disable ads7846 in boot/config.txt to use spi!
# [adxl345]
# cs_pin: rpi:None
# [resonance_tester]
# accel_chip: adxl345
# probe_points:
# 100,100,20 # an example
[include fluidd.cfg]
[include macros.cfg]
#*# <---------------------- SAVE_CONFIG ---------------------->
#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
#*#
#*# [bed_mesh default]
#*# version = 1
#*# points =
#*# 0.150000, 0.115000, 0.135000, 0.125000, 0.030000
#*# -0.092500, -0.120000, -0.055000, -0.037500, -0.092500
#*# -0.015000, -0.032500, 0.030000, 0.020000, -0.052500
#*# 0.150000, 0.082500, 0.107500, 0.085000, 0.007500
#*# 0.245000, 0.177500, 0.167500, 0.122500, 0.005000
#*# tension = 0.2
#*# min_x = 20.0
#*# algo = lagrange
#*# y_count = 5
#*# mesh_y_pps = 2
#*# min_y = 30.0
#*# x_count = 5
#*# max_y = 210.0
#*# mesh_x_pps = 2
#*# max_x = 197.99
#*#
#*# [extruder]
#*# pid_kp = 36.471
#*# pid_ki = 1.749
#*# pid_kd = 190.106
#*# control = pid
#*#
#*# [heater_bed]
#*# control = pid
#*# pid_kp = 68.215
#*# pid_ki = 3.272
#*# pid_kd = 355.570