Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # This file contains pin mappings for the stock 2020 Creality Ender 3
- # V2. To use this config, during "make menuconfig" select the
- # STM32F103 with a "28KiB bootloader" and serial (on USART1 PA10/PA9)
- # communication.
- # If you prefer a direct serial connection, in "make menuconfig"
- # select "Enable extra low-level configuration options" and select
- # serial (on USART3 PB11/PB10), which is broken out on the 10 pin IDC
- # cable used for the LCD module as follows:
- # 3: Tx, 4: Rx, 9: GND, 10: VCC
- # Flash this firmware by copying "out/klipper.bin" to a SD card and
- # turning on the printer with the card inserted. The firmware
- # filename must end in ".bin" and must not match the last filename
- # that was flashed.
- # See docs/Config_Reference.md for a description of parameters.
- ## *** THINGS TO CHANGE/CHECK: ***
- ## MCU paths [mcu] section
- ## Thermistor types [extruder] and [heater_bed] sections - See 'sensor types' list at end of file
- ## Z Endstop Switch location [homing_override] section
- ## Z Endstop Switch offset for Z0 [stepper_z] section
- ## Leadscrew type settings for Z Rotation_Distance for both steppers
- ## Probe points [z_tilt] section
- ## PID tune [extruder] and [heater_bed] sections
- ## Enable Heated Bed [Heater_bed] section
- ## Fine tune E steps [extruder] section
- ###################################################################
- # Include Mainsail Settings/Config and Macros
- ###################################################################
- [include mainsail.cfg]
- # Macros
- [include macros.cfg]
- [include prime_line.cfg]
- #[include macros/buzzer.cfg]
- #[include macros/hotend_leds.cfg]
- #[include macros/linear_advance.cfg]
- #[include macros/move_nozzle.cfg]
- [include macros/nozzle_prime.cfg]
- [include macros/print_cancel.cfg]
- [include macros/print_end.cfg]
- [include macros/print_pause.cfg]
- [include macros/print_resume.cfg]
- [include macros/print_start.cfg]
- #[include macros/safe_park.cfg]
- #[include macros/safe_retract.cfg]
- #[include macros/test_speed.cfg]
- [include mainsail.cfg]
- #[include timelapse.cfg]
- #====================================================================
- # INPUT SHAPER
- #====================================================================
- [input_shaper]
- shaper_freq_x: 70.0
- shaper_type_x: mzv
- shaper_freq_y: 45.4
- shaper_type_y: ei
- #====================================================================
- # BED MESH PARAMETERS
- #====================================================================
- [bed_mesh]
- speed: 120
- horizontal_move_z: 5
- mesh_min: 15,15
- mesh_max: 186,195
- probe_count: 10,10
- algorithm: bicubic
- fade_start: 1
- fade_end: 10
- fade_target: 0
- #====================================================================
- # BLTOUCH CONFIG
- #====================================================================
- [bltouch]
- sensor_pin: ^PB1
- control_pin: PB0
- pin_move_time: 0.675
- #stow_on_each_sample: True
- probe_with_touch_mode: True
- pin_up_touch_mode_reports_triggered: False
- x_offset: -40 # mm left of the nozzle
- y_offset: -33 # mm forward of the nozzle
- #z_offset: 1.380
- stow_on_each_sample: True
- samples: 1
- speed: 5
- sample_retract_dist: 5
- [safe_z_home]
- home_xy_position: 111,123
- z_hop: 10 # Move up 10mm
- z_hop_speed: 10
- #====================================================================
- # MANUAL BED LEVELING
- #====================================================================
- [bed_screws]
- screw1: 35,35
- screw1_name: front left screw
- screw2: 35,195
- screw2_name: rear left screw
- screw3: 195,195
- screw3_name: rear right screw
- screw4: 195,35
- screw4_name: front right screw
- #====================================================================
- # SCREW ADJUSTMENT
- #====================================================================
- [screws_tilt_adjust]
- screw1: 75,35
- screw1_name: front left screw
- screw2: 75,192
- screw2_name: rear left screw
- screw3: 230,192
- screw3_name: rear right screw
- screw4: 230,35
- screw4_name: front right screw
- horizontal_move_z: 5
- speed: 50
- screw_thread: CW-M4
- #====================================================================
- # ARC SUPPORT
- #====================================================================
- [gcode_arcs]
- resolution: 0.2
- #====================================================================
- # Stepper X
- #====================================================================
- [stepper_x]
- step_pin: PC2
- dir_pin: PB9
- enable_pin: !PC3
- microsteps: 16
- rotation_distance: 40
- endstop_pin: ^PA5
- position_endstop: 0
- position_max: 235
- homing_speed: 50
- position_min: -50
- #====================================================================
- # Stepper y
- #====================================================================
- [stepper_y]
- step_pin: PB8
- dir_pin: PB7
- enable_pin: !PC3
- microsteps: 16
- rotation_distance: 40
- endstop_pin: ^PA6
- position_endstop: 0
- position_max: 235
- homing_speed: 50
- position_min: -50
- #====================================================================
- # Stepper Z
- #====================================================================
- [stepper_z]
- step_pin: PB6
- dir_pin: !PB5
- enable_pin: !PC3
- microsteps: 16
- rotation_distance: 8
- endstop_pin: probe:z_virtual_endstop
- position_max: 250
- position_min: -10
- #====================================================================
- # Extruder Z
- #====================================================================
- [extruder]
- max_extrude_only_distance: 200.0
- step_pin: PB4
- dir_pin: PB3
- enable_pin: !PC3
- microsteps: 16
- rotation_distance: 25.6
- #rotation_distance: 34.406 # Initial Settings
- nozzle_diameter: 0.400
- filament_diameter: 1.750
- heater_pin: PA1
- sensor_type: EPCOS 100K B57560G104F
- sensor_pin: PC5
- min_extrude_temp: 170
- gear_ratio: 42:12
- min_temp: 0
- max_temp: 250
- pressure_advance: 0.0325
- [heater_bed]
- heater_pin: PA2
- sensor_type: EPCOS 100K B57560G104F
- sensor_pin: PC4
- 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
- #====================================================================
- # FANS
- #====================================================================
- [fan]
- pin: PA0
- #====================================================================
- # MCU
- #====================================================================
- [mcu]
- serial: /dev/serial/by-id/usb-1a86_USB_Serial-if00-port0
- restart_method: command
- #====================================================================
- # Printer Limit Settings
- #====================================================================
- [printer]
- kinematics: cartesian
- max_velocity: 300
- max_accel: 3000
- max_accel_to_decel: 1000
- max_z_velocity: 5
- max_z_accel: 100
- square_corner_velocity: 5
- #*# <---------------------- SAVE_CONFIG ---------------------->
- #*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
- #*#
- #*# [bltouch]
- #*# z_offset = 3.500
- #*#
- #*# [extruder]
- #*# control = pid
- #*# pid_kp = 21.111
- #*# pid_ki = 1.224
- #*# pid_kd = 91.039
- #*#
- #*# [heater_bed]
- #*# pid_kp = 73.324
- #*# pid_ki = 1.347
- #*# pid_kd = 998.121
- #*#
- #*# [bed_mesh default]
- #*# version = 1
- #*# points =
- #*# 0.055000, 0.007500, -0.052500, -0.072500, -0.110000, -0.135000, -0.112500, -0.137500, -0.152500, -0.145000
- #*# 0.060000, 0.017500, -0.032500, -0.057500, -0.095000, -0.125000, -0.105000, -0.132500, -0.155000, -0.145000
- #*# 0.062500, 0.030000, -0.020000, -0.050000, -0.090000, -0.117500, -0.097500, -0.130000, -0.155000, -0.160000
- #*# 0.090000, 0.052500, -0.007500, -0.032500, -0.077500, -0.105000, -0.092500, -0.120000, -0.137500, -0.130000
- #*# 0.122500, 0.090000, 0.030000, 0.007500, -0.045000, -0.065000, -0.047500, -0.075000, -0.087500, -0.092500
- #*# 0.117500, 0.082500, 0.020000, -0.012500, -0.050000, -0.075000, -0.050000, -0.080000, -0.095000, -0.087500
- #*# 0.122500, 0.090000, 0.025000, -0.005000, -0.047500, -0.072500, -0.062500, -0.090000, -0.107500, -0.115000
- #*# 0.090000, 0.045000, -0.015000, -0.042500, -0.077500, -0.095000, -0.087500, -0.107500, -0.127500, -0.117500
- #*# 0.070000, 0.037500, -0.022500, -0.047500, -0.077500, -0.100000, -0.090000, -0.117500, -0.142500, -0.150000
- #*# 0.065000, 0.015000, -0.050000, -0.075000, -0.102500, -0.140000, -0.142500, -0.170000, -0.205000, -0.215000
- #*# tension = 0.2
- #*# min_x = 15.0
- #*# algo = bicubic
- #*# y_count = 10
- #*# mesh_y_pps = 2
- #*# min_y = 15.0
- #*# x_count = 10
- #*# max_y = 195.0
- #*# mesh_x_pps = 2
- #*# max_x = 186.0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement