Created
June 13, 2021 20:13
-
-
Save pbaja/1e53c1f78d36ed3af0a5febd26987cb9 to your computer and use it in GitHub Desktop.
Klipper configuration for Ender 3 with MKS Gen L board
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Ender 3 | |
# MKS Gen L board (ATmega 2560) | |
# Titan Extruder (3:1 ratio) | |
# 1. Change serial path | |
# 2. Make sure "rotation_distance" in the "extruder" section is correct or modify | |
# 3. Make sure "dir_pin" is setup correctly in the "extruder" section | |
# 4. Make sure hotend fan is connected to the E1 connector (or change in the "heater_fan" section) | |
# 5. Have fun | |
[mcu] | |
serial: /dev/serial/by-id/usb-1a86_USB2.0-Serial-if00-port0 # Change this | |
pin_map: arduino | |
[printer] | |
kinematics: cartesian | |
max_velocity: 300 | |
max_accel: 3000 | |
max_z_velocity: 20 | |
max_z_accel: 100 | |
[fan] # Part cooling fan | |
pin: ar9 | |
[heater_fan hotend_fan] # Hotend cooling fan | |
pin: ar7 # Connected to the E1 connector | |
heater: extruder | |
heater_temp: 50.0 # Stop fan below 50C | |
fan_speed: 1.0 | |
[stepper_x] | |
step_pin: ar54 | |
dir_pin: ar55 | |
enable_pin: !ar38 | |
microsteps: 16 | |
rotation_distance: 40 | |
endstop_pin: ^ar3 | |
position_endstop: 0 | |
position_max: 220 | |
homing_speed: 45 | |
[stepper_y] | |
step_pin: ar60 | |
dir_pin: ar61 | |
enable_pin: !ar56 | |
microsteps: 16 | |
rotation_distance: 40 | |
endstop_pin: ^ar14 | |
position_endstop: 0 | |
position_max: 220 | |
homing_speed: 45 | |
[stepper_z] | |
step_pin: ar46 | |
dir_pin: !ar48 | |
enable_pin: !ar62 | |
microsteps: 16 | |
rotation_distance: 8 | |
endstop_pin: ^ar18 | |
position_endstop: 0.5 | |
position_max: 400 | |
homing_speed: 45 | |
[extruder] | |
pressure_advance: 0.25 | |
step_pin: ar26 | |
dir_pin: !ar28 # Inversed. Default: ar28 | |
enable_pin: !ar24 | |
microsteps: 16 | |
rotation_distance: 8 # Works with 3:1 geared extruders. Default: 34.4 | |
nozzle_diameter: 0.400 # Make sure this matches your nozzle | |
filament_diameter: 1.750 | |
heater_pin: ar10 | |
sensor_type: EPCOS 100K B57560G104F | |
sensor_pin: analog13 | |
control: pid | |
pid_Kp: 24.255 | |
pid_Ki: 1.064 | |
pid_Kd: 138.254 | |
min_temp: 0 | |
max_temp: 270 | |
[heater_bed] | |
heater_pin: ar8 | |
sensor_type: EPCOS 100K B57560G104F | |
sensor_pin: analog14 | |
control: pid | |
pid_Kp: 690.34 | |
pid_Ki: 111.47 | |
pid_Kd: 1068.83 | |
min_temp: 0 | |
max_temp: 130 | |
[verify_heater extruder] | |
heating_gain: 0.75 # Default: 2.0 | |
check_gain_time: 90 | |
hysteresis: 5 | |
max_error: 200 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment