Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # This file contains common pin mappings for the 2019 Creality
- # Ender 5. To use this config, the firmware should be compiled for the
- # AVR atmega1284p.
- # Note, a number of Melzi boards are shipped with a bootloader that
- # requires the following command to flash the board:
- # avrdude -p atmega1284p -c arduino -b 57600 -P /dev/ttyUSB0 -U out/klipper.elf.hex
- # If the above command does not work and "make flash" does not work
- # then one may need to flash a bootloader to the board - see the
- # Klipper docs/Bootloaders.md file for more information.
- # See the example.cfg file for a description of available parameters.
- #####################################################################################
- # Configuration for Ender 5 with a MKS GEN L
- # X,Y are TMC2208 in UART Mode.
- # Z is a TMC2208 in Drop In mode
- # E is an LV8729
- #
- # a BLTouch is present
- #####################################################################################
- [printer]
- kinematics: cartesian
- max_velocity: 300
- max_accel: 2000
- max_z_velocity: 50
- max_z_accel: 150
- #max_extrude_only_velocity: 120
- #max_extrude_only_accel: 1500
- #####################################################################################
- [tmc2208 stepper_x]
- uart_pin: ar63
- #tx_pin: ar40
- microsteps: 16
- interpolate: True
- run_current: 0.71
- stealthchop_threshold: 200
- driver_PWM_AUTOGRAD: True
- driver_PWM_AUTOSCALE: True
- [stepper_x]
- step_pin: ar54
- dir_pin: ar55
- enable_pin: !ar38
- step_distance: .0125
- endstop_pin: ^ar3
- position_endstop: 0
- position_min: 0
- position_max: 220
- homing_speed: 100
- #####################################################################################
- [tmc2208 stepper_y]
- uart_pin: ar64
- #tx_pin: ar59
- microsteps: 16
- interpolate: True
- run_current: 0.71
- stealthchop_threshold: 200
- driver_PWM_AUTOGRAD: True
- driver_PWM_AUTOSCALE: True
- [stepper_y]
- step_pin: ar60
- dir_pin: ar61
- enable_pin: !ar56
- step_distance: .0125
- endstop_pin: ^ar14
- position_endstop: 0
- position_min: 0
- position_max: 220
- homing_speed: 100
- #####################################################################################
- #[tmc2208 stepper_z]
- #uart_pin: ar65
- #tx_pin: ar59
- #microsteps: 16
- #interpolate: True
- #run_current: 0.71
- #stealthchop_threshold: 200
- #driver_PWM_AUTOGRAD: True
- #driver_PWM_AUTOSCALE: True
- [stepper_z]
- step_pin: ar46
- dir_pin: !ar48
- enable_pin: !ar62
- step_distance: .0025
- #endstop_pin: ^ar18
- endstop_pin: probe:z_virtual_endstop
- #position_endstop: 0
- position_min: -5
- position_max: 300
- homing_retract_dist: 10 # to fix bltouch clone error
- #####################################################################################
- [extruder]
- step_pin: ar26
- dir_pin: !ar28
- enable_pin: !ar24
- step_distance: 0.0023640661 # 423 esteps Bondtech bmg
- nozzle_diameter: 0.400
- filament_diameter: 1.750
- heater_pin: PB4
- sensor_type: EPCOS 100K B57560G104F
- sensor_pin: analog13
- control: pid
- pid_Kp: 22.2
- pid_Ki: 1.08
- pid_Kd: 114
- min_temp: 10
- max_temp: 260
- pressure_advance: 0.08
- #pressure_advance_lookahead_time: 0.05
- max_extrude_only_distance: 350.00
- #####################################################################################
- [heater_bed]
- heater_pin: PH5
- sensor_type: EPCOS 100K B57560G104F
- sensor_pin: analog14
- #control: pid
- #pid_Kp: 54.027
- #pid_Ki: 0.770
- #pid_Kd: 948.182
- min_temp: 10
- max_temp: 130
- #####################################################################################
- [fan]
- pin: ar9
- max_power: 1.0
- [heater_fan noozle_fan]
- heater: extruder
- max_power: 1.0
- shutdown_speed: 0
- cycle_time: 0.010
- hardware_pwm: True
- kick_start_time: 0.100
- heater_temp: 50
- fan_speed: 1.0
- pin: ar7
- #####################################################################################
- [bltouch]
- sensor_pin: ^ar18
- control_pin: ar11
- x_offset: -46
- y_offset: -14
- #z_offset: 0
- pin_up_touch_mode_reports_triggered: False
- speed: 15.0
- #####################################################################################
- #[homing_override]
- #axes: z
- #gcode:
- # G90
- # G1 Z10 F600
- # G28 X0 Y0 F3000
- # G1 X110 Y110 F3000
- # G28 Z0
- #set_position_z: 5
- [homing_override]
- #set_position_z: 5
- #axes: z
- gcode:
- G90
- G1 Z10
- G28 X Y
- G1 X110 Y110 F6000
- G28 Z0
- G1 Z10 F600
- set_position_z: 5
- [bed_mesh]
- #samples: 2
- speed: 100
- horizontal_move_z: 10
- min_point: 0,0
- max_point: 171,207
- probe_count: 3,3
- #split_delta_z: 0.025
- #move_check_distance: 7.0
- #mesh_pps: 2,2
- algorithm: lagrange
- [gcode_macro G29]
- gcode:
- G1 Z10 F600
- BED_MESH_CALIBRATE
- #####################################################################################
- [mcu]
- serial: /dev/ttyUSB0
- pin_map: arduino
- [display]
- lcd_type: st7920
- cs_pin: ar16
- sclk_pin: ar23
- sid_pin: ar17
- encoder_pins: ^ar31, ^ar33
- click_pin: ^!ar35
- #[display]
- #lcd_type: st7920
- #cs_pin: ar16
- #sclk_pin: PA3
- #sid_pin: PA7
- #encoder_pins: ^ar23, ^PH0
- #click_pin: ^!PC2
- #####################################################################################
- #*# <---------------------- SAVE_CONFIG ---------------------->
- #*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
- #*#
- #*# [bed_mesh default]
- #*# points =
- #*# 0.292500, 0.150000, 0.150000
- #*# 0.107500, 0.062500, 0.057500
- #*# -0.030000, -0.075000, -0.027500
- #*# x_count = 3
- #*# y_count = 3
- #*# min_x = 0.0
- #*# max_x = 171.0
- #*# min_y = 0.0
- #*# max_y = 207.0
- #*# x_offset = -46.0
- #*# y_offset = -17.0
- #*# mesh_x_pps = 2
- #*# mesh_y_pps = 2
- #*# algo = lagrange
- #*# tension = 0.2
- #*#
- #*# [heater_bed]
- #*# control = pid
- #*# pid_kp = 67.894
- #*# pid_ki = 1.146
- #*# pid_kd = 1005.679
- #*#
- #*# [bltouch]
- #*# z_offset = 3.500
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement