Last active
March 7, 2023 14:07
-
-
Save neoyagami/6eac92dd994f2553b686de3bf46b8062 to your computer and use it in GitHub Desktop.
klipper config skr1.4 ender 3 bltouch tmc2209 uart
This file contains hidden or 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
| # This file contains pin mappings for the stock 2020 Creality Ender 3 | |
| # Pro with the 32-bit Creality 4.2.2 board. 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. | |
| [stepper_x] | |
| step_pin: P2.2 | |
| dir_pin: !P2.6 | |
| enable_pin: !P2.1 | |
| endstop_pin: P1.29 | |
| microsteps: 16 | |
| rotation_distance: 40 | |
| position_endstop: 0 | |
| position_max: 235 | |
| homing_speed: 50 | |
| [tmc2209 stepper_x] | |
| uart_pin: P1.10 | |
| #microsteps: 16 | |
| interpolate: True | |
| run_current: 0.550 | |
| stealthchop_threshold: 250 | |
| #sense_resistor: 0.110 | |
| diag_pin: PXDIAG1 | |
| driver_SGTHRS: 250 # tuning value for sensor-less homing, set to 250 as a start | |
| [stepper_y] | |
| step_pin: P0.19 | |
| dir_pin: !P0.20 | |
| enable_pin: !P2.8 | |
| endstop_pin: P1.28 | |
| microsteps: 16 | |
| rotation_distance: 40 | |
| position_endstop: 0 | |
| position_max: 235 | |
| homing_speed: 50 | |
| [tmc2209 stepper_y] | |
| uart_pin: P1.9 | |
| #microsteps: 16 | |
| interpolate: True | |
| run_current: 0.550 | |
| stealthchop_threshold: 250 | |
| #sense_resistor: 0.110 | |
| diag_pin: PYDIAG1 | |
| driver_SGTHRS: 250 # tuning value for sensor-less homing, set to 250 as a start | |
| [stepper_z] | |
| step_pin: P0.22 | |
| dir_pin: P2.11 | |
| enable_pin: !P0.21 | |
| microsteps: 16 | |
| rotation_distance: 8 | |
| #endstop_pin: ^PA7 | |
| endstop_pin: probe:z_virtual_endstop | |
| position_max: 235 | |
| position_max: 250 | |
| position_min:-2 | |
| [tmc2209 stepper_z] | |
| uart_pin: P1.8 | |
| #microsteps: 16 | |
| interpolate: True | |
| run_current: 0.700 | |
| stealthchop_threshold: 250 | |
| #sense_resistor: 0.110 | |
| diag_pin: PXDIAG1 | |
| driver_SGTHRS: 250 # tuning value for sensor-less homing, set to 250 as a start | |
| [extruder] | |
| step_pin: P2.13 | |
| dir_pin: !P0.11 | |
| enable_pin: !P2.12 | |
| heater_pin: P2.7 | |
| sensor_pin: P0.24 | |
| max_extrude_only_distance: 100.0 | |
| microsteps: 16 | |
| #rotation_distance: 64.762 | |
| rotation_distance: 32.336 | |
| nozzle_diameter: 0.400 | |
| filament_diameter: 1.750 | |
| sensor_type: EPCOS 100K B57560G104F | |
| #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: -250 | |
| max_temp: 250 | |
| [tmc2209 extruder] | |
| uart_pin: P1.4 | |
| run_current: 0.700 | |
| stealthchop_threshold: 5 | |
| [heater_bed] | |
| heater_pin: P2.5 | |
| sensor_pin: P0.25 | |
| sensor_type: EPCOS 100K B57560G104F | |
| #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 | |
| [fan] | |
| pin: P2.3 | |
| [mcu] | |
| serial: /dev/serial/by-id/usb-Klipper_lpc1768_13B00219081CD595C010D461C12000F5-if00 | |
| restart_method: command | |
| [printer] | |
| kinematics: cartesian | |
| max_velocity: 300 | |
| max_accel: 1000 | |
| max_z_velocity: 5 | |
| max_z_accel: 100 | |
| # Pin mappings for BL_T port | |
| [bltouch] | |
| sensor_pin: ^P0.10 | |
| control_pin: P2.0 | |
| #z_offset = 0 | |
| x_offset: -40 | |
| y_offset: -12 | |
| [safe_z_home] | |
| home_xy_position: 165, 130 # Change coordinates to the center of your print bed | |
| speed: 150 | |
| z_hop: 10 # Move up 10mm | |
| z_hop_speed: 5 | |
| [bed_mesh] | |
| speed: 150 | |
| horizontal_move_z: 7 | |
| mesh_min: 50, 50 | |
| mesh_max: 180, 200 | |
| probe_count: 5, 3 | |
| #[display] | |
| #lcd_type: st7920 | |
| #cs_pin: PB12 | |
| #sclk_pin: PB13 | |
| #sid_pin: PB15 | |
| #encoder_pins: ^PB14, ^PB10 | |
| #click_pin: ^!PB2 | |
| [output_pin beeper] | |
| pin: P1.30 | |
| [bed_screws] | |
| screw1: 50, 50 | |
| screw2: 180, 50 | |
| screw3: 50, 200 | |
| screw4: 180,200 | |
| [board_pins] | |
| aliases: | |
| # EXP1 header | |
| EXP1_1=P1.30, EXP1_3=P1.18, EXP1_5=P1.20, EXP1_7=P1.22, EXP1_9=<GND>, | |
| EXP1_2=P0.28, EXP1_4=P1.19, EXP1_6=P1.21, EXP1_8=P1.23, EXP1_10=<5V>, | |
| # EXP2 header | |
| EXP2_1=P0.17, EXP2_3=P3.26, EXP2_5=P3.25, EXP2_7=P1.31, EXP2_9=<GND>, | |
| EXP2_2=P0.15, EXP2_4=P0.16, EXP2_6=P0.18, EXP2_8=<RST>, EXP2_10=<NC> | |
| # Pins EXP2_1, EXP2_6, EXP2_2 are also MISO, MOSI, SCK of bus "ssp0" | |
| [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 | |
| [gcode_arcs] | |
| resolution = 1.0 | |
| [gcode_macro G29] | |
| gcode: | |
| G28 | |
| BED_MESH_CALIBRATE | |
| G1 X0 Y0 Z5 F4000 | |
| [menu __main __octoprint __poweroff] | |
| type: command | |
| #enable: !toolhead.is_printing | |
| name: Turn off Octopi | |
| gcode: | |
| {action_respond_info('action:poweroff')} | |
| #*# <---------------------- SAVE_CONFIG ----------------------> | |
| #*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated. | |
| #*# | |
| #*# [heater_bed] | |
| #*# control = pid | |
| #*# pid_kp = 69.977 | |
| #*# pid_ki = 1.360 | |
| #*# pid_kd = 900.080 | |
| #*# | |
| #*# [extruder] | |
| #*# control = pid | |
| #*# pid_kp = 23.851 | |
| #*# pid_ki = 1.325 | |
| #*# pid_kd = 107.332 | |
| #*# | |
| #*# [bed_mesh default] | |
| #*# version = 1 | |
| #*# points = | |
| #*# 0.275000, 0.232500, 0.182500, 0.137500, 0.100000 | |
| #*# 0.170000, 0.127500, 0.105000, 0.067500, 0.027500 | |
| #*# 0.067500, 0.042500, 0.012500, -0.007500, -0.017500 | |
| #*# tension = 0.2 | |
| #*# min_x = 50.0 | |
| #*# algo = lagrange | |
| #*# y_count = 3 | |
| #*# mesh_y_pps = 2 | |
| #*# min_y = 50.0 | |
| #*# x_count = 5 | |
| #*# max_y = 200.0 | |
| #*# mesh_x_pps = 2 | |
| #*# max_x = 180.0 | |
| #*# | |
| #*# [bed_mesh p1] | |
| #*# version = 1 | |
| #*# points = | |
| #*# 0.157500, 0.257500, -0.022500, -1.127500, -0.615000 | |
| #*# 0.427500, 0.500000, 0.172500, -0.147500, -0.437500 | |
| #*# 0.400000, 0.540000, 0.287500, -0.010000, -0.332500 | |
| #*# tension = 0.2 | |
| #*# min_x = 20.0 | |
| #*# algo = lagrange | |
| #*# y_count = 3 | |
| #*# mesh_y_pps = 2 | |
| #*# min_y = 30.0 | |
| #*# x_count = 5 | |
| #*# max_y = 200.0 | |
| #*# mesh_x_pps = 2 | |
| #*# max_x = 180.0 | |
| #*# | |
| #*# [bltouch] | |
| #*# z_offset = 1.650 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment