TEXT   181

Klipper Config

Guest on 5th March 2022 01:41:00 PM

  1. [filament_switch_sensor my_sensor]
  2. pause_on_runout: True
  3. switch_pin: !PE4
  4.  
  5. [stepper_x]
  6. microsteps: 16
  7. step_pin: PF0
  8. dir_pin: PF1
  9. enable_pin: !PD7
  10. rotation_distance: 31.455
  11. endstop_pin: !PE5
  12. position_endstop: 0
  13. position_max: 300
  14. homing_speed: 60
  15.  
  16. [stepper_y]
  17. microsteps: 16
  18. step_pin: PF6
  19. dir_pin: PF7
  20. enable_pin: !PF2
  21. rotation_distance: 31.746
  22. endstop_pin: !PJ1
  23. position_endstop: 0
  24. position_max: 300
  25. homing_speed: 60
  26.  
  27. [stepper_z]
  28. microsteps: 16
  29. step_pin: PL3
  30. dir_pin: !PL1
  31. enable_pin: !PK0
  32. rotation_distance: 1.983
  33. endstop_pin: probe:z_virtual_endstop
  34. position_min: 0
  35. position_max: 350
  36. homing_speed: 8
  37.  
  38. [extruder]
  39. microsteps: 16
  40. step_pin: PA4
  41. dir_pin: PA6
  42. enable_pin: !PA2
  43. rotation_distance: 7.538
  44. nozzle_diameter: 0.400
  45. filament_diameter: 1.750
  46. heater_pin: PB4
  47. sensor_type: ATC Semitec 104GT-2
  48. sensor_pin: PK5
  49. control: pid
  50. pid_Kp: 22.2
  51. pid_Ki: 1.08
  52. pid_Kd: 114
  53. min_temp: 0
  54. max_temp: 250
  55.  
  56. [tmc2209 stepper_x]
  57. uart_pin: PK1
  58. run_current: 0.9
  59. hold_current: 0.5
  60. stealthchop_threshold: 9999999
  61.  
  62.  
  63. [tmc2209 stepper_y]
  64. uart_pin: PK2
  65. run_current: 0.9
  66. hold_current: 0.5
  67. stealthchop_threshold: 9999999
  68.  
  69.  
  70. [tmc2209 stepper_z]
  71. uart_pin: PK3
  72. run_current: 0.9
  73. hold_current: 0.5
  74. stealthchop_threshold: 9999999
  75.  
  76.  
  77. [tmc2209 extruder]
  78. uart_pin: PK4
  79. run_current: 0.9
  80. hold_current: 0.5
  81. stealthchop_threshold: 9999999
  82.  
  83.  
  84. [heater_fan extruder_fan]
  85. pin: PH4
  86. heater: extruder
  87. heater_temp: 50.0
  88.  
  89. [heater_bed]
  90. heater_pin: PH5
  91. sensor_type: Generic 3950
  92. sensor_pin: PK6
  93. control: pid
  94. pid_Kp: 56.401
  95. pid_Ki: 1.649
  96. pid_Kd: 482.228
  97. min_temp: 0
  98. max_temp: 130
  99.  
  100. [bltouch]
  101. sensor_pin: PD3
  102. control_pin: PB5
  103. # Please read the documentation to configure x, y and z offsets
  104. # https://github.com/KevinOConnor/klipper/blob/master/docs/Probe_Calibrate.md
  105. x_offset: -44
  106. y_offset: 0
  107. #z_offset: 0.0
  108. #x_offset:
  109. #y_offset:
  110. #z_offset:
  111.  
  112. [bed_mesh]
  113. speed: 150
  114. horizontal_move_z: 5
  115. mesh_min: 25,25
  116. mesh_max: 275,275
  117. probe_count: 4,4
  118. mesh_pps: 2,2
  119.  
  120. [safe_z_home]
  121. home_xy_position: 150, 150 # Change coordinates to the center of your print bed
  122. speed: 50
  123. z_hop: 10                 # Move up 10mm
  124. z_hop_speed: 5
  125.  
  126. [fan]
  127. pin: PH6
  128.  
  129. [mcu]
  130. # WARNING: Replace by your own path see http://github.com/KevinOConnor/klipper/blob/master/docs/FAQ.md#wheres-my-serial-port
  131. serial: /dev/serial/by-id/usb-1a86_USB_Serial-if00-port0
  132.  
  133. [printer]
  134. kinematics: cartesian
  135. max_velocity: 250
  136. max_z_velocity: 27
  137. max_accel: 2000
  138. max_z_accel: 120
  139.  
  140. [virtual_sdcard]
  141. path: ~/gcode_files
  142.  
  143. [display_status]
  144.  
  145. [pause_resume]
  146.  
  147. # "RepRapDiscount 128x64 Full Graphic Smart Controller" type displays
  148. [display]
  149. lcd_type: st7920
  150. cs_pin: PH1
  151. sclk_pin: PA1
  152. sid_pin: PH0
  153. encoder_pins: ^PC6, ^PC4
  154. click_pin: ^!PC2
  155. menu_timeout: 40
  156.  
  157. # Beeper pin
  158. [output_pin BEEPER_pin]
  159. pin: PC0
  160. pwm: True
  161. value: 0
  162. shutdown_value: 0
  163. cycle_time: 0.001
  164. scale: 1000

Raw Paste


Login or Register to edit or fork this paste. It's free.