Untitled
unknown
plain_text
4 years ago
4.5 kB
6
Indexable
# 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 docs/Config_Reference.md for a description of parameters. [stepper_x] step_pin: PB13 dir_pin: !PB12 enable_pin: !PB14 microsteps: 16 rotation_distance: 40 endstop_pin: ^PC0 position_endstop: 235 position_max: 235 homing_speed: 30 [tmc2209 stepper_x] uart_pin: PC11 tx_pin: PC10 uart_address: 0 run_current: 0.580 hold_current: 0.500 stealthchop_threshold: 250 [stepper_y] step_pin: PB10 dir_pin: !PB2 enable_pin: !PB11 microsteps: 16 rotation_distance: 40 endstop_pin: ^PC1 position_endstop: 235 position_max: 235 homing_speed: 30 [tmc2209 stepper_y] uart_pin: PC11 tx_pin: PC10 uart_address: 2 run_current: 0.580 hold_current: 0.500 stealthchop_threshold: 250 [stepper_z] step_pin: PB0 dir_pin: !PC5 enable_pin: !PB1 microsteps: 16 rotation_distance: 8 # Use 4 for Ender5 versions after late 2019 endstop_pin: probe:z_virtual_endstop position_min: -10 position_max: 300 [tmc2209 stepper_z] uart_pin: PC11 tx_pin: PC10 uart_address: 1 run_current: 0.580 hold_current: 0.500 stealthchop_threshold: 5 [extruder] max_extrude_only_distance: 100.0 step_pin: PB3 dir_pin: !PB4 enable_pin: !PD2 microsteps: 16 rotation_distance: 31.891 nozzle_diameter: 0.400 filament_diameter: 1.750 heater_pin: PC8 sensor_type: EPCOS 100K B57560G104F sensor_pin: PA0 #control: pid # tuned for stock hardware with 200 degree Celsius target #pid_Kp: 21.527 #pid_Ki: 1.063 #pid_Kd: 108.982 min_temp: 0 max_temp: 275 max_extrude_cross_section: 0.8 pressure_advance: 0.6 pressure_advance_smooth_time: 0.040 [tmc2209 extruder] uart_pin: PC11 tx_pin: PC10 uart_address: 3 run_current: 0.650 hold_current: 0.500 stealthchop_threshold: 5 [heater_bed] heater_pin: PC9 sensor_type: EPCOS 100K B57560G104F sensor_pin: PC3 #control: pid # tuned for stock hardware with 50 degree Celsius target #pid_Kp: 54.027 #pid_Ki: 0.770 #pid_Kd: 948.182 min_temp: 0 max_temp: 130 [heater_fan nozzle_cooling_fan] pin: PC7 [fan] pin: PC6 [mcu] serial: /dev/serial/by-id/usb-Klipper_stm32f103xe_32FFD8054252303737752557-if00 [printer] kinematics: cartesian max_velocity: 300 max_accel: 2500 #Max accel 3100 per input shaper max_z_velocity: 5 max_z_accel: 100 [static_digital_output usb_pullup_enable] pins: !PA14 [board_pins] aliases: # EXP1 header EXP1_1=PB5, EXP1_3=PA9, EXP1_5=PA10, EXP1_7=PB8, EXP1_9=<GND>, EXP1_2=PA15, EXP1_4=<RST>, EXP1_6=PB9, EXP1_8=PB15, EXP1_10=<5V> [bltouch] sensor_pin: ^PC2 control_pin: PA1 x_offset: 41 y_offset: -5 #z_offset: 0 speed: 2.0 samples: 2 sample_retract_dist: 4.0 probe_with_touch_mode: True [safe_z_home] home_xy_position: 80, 130 speed: 50 z_hop: 10 z_hop_speed: 5 [bed_mesh] speed: 100 horizontal_move_z: 8 mesh_min: 50,50 mesh_max: 220,220 probe_count: 3,3 [display] lcd_type: st7920 cs_pin: EXP1_7 sclk_pin: EXP1_6 sid_pin: EXP1_8 encoder_pins: ^EXP1_5, ^EXP1_3 click_pin: ^!EXP1_2 [output_pin beeper] pin: EXP1_1 [gcode_arcs] resolution: 1.0 [bed_screws] screw1: 50,50 screw2: 50,185 screw3: 185,185 screw4: 185,50 [mcu rpi] serial: /tmp/klipper_host_mcu [adxl345] cs_pin: rpi:None [resonance_tester] accel_chip: adxl345 probe_points: 100,100,20 # an example #*# <---------------------- SAVE_CONFIG ----------------------> #*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated. #*# #*# [extruder] #*# control = pid #*# pid_kp = 27.913 #*# pid_ki = 1.772 #*# pid_kd = 109.909 #*# #*# [heater_bed] #*# control = pid #*# pid_kp = 67.955 #*# pid_ki = 1.476 #*# pid_kd = 782.333 #*# #*# [bltouch] #*# z_offset = 2.750 #*# #*# [bed_mesh default] #*# version = 1 #*# points = #*# -0.016250, -0.002500, 0.161250 #*# 0.012500, 0.030000, 0.156250 #*# -0.028750, -0.021250, 0.078750 #*# tension = 0.2 #*# min_x = 50.0 #*# algo = lagrange #*# y_count = 3 #*# mesh_y_pps = 2 #*# min_y = 50.0 #*# x_count = 3 #*# max_y = 220.0 #*# mesh_x_pps = 2 #*# max_x = 220.0 #*# #*# [input_shaper] #*# shaper_type_x = 3hump_ei #*# shaper_freq_x = 65.4 #*# shaper_type_y = 2hump_ei #*# shaper_freq_y = 52.6
Editor is loading...