BossTheTuga

Enderinsana Klipper cfg

Aug 19th, 2023 (edited)
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.96 KB | None | 0 0
  1. # !Ender-3 V2 ABL
  2.  
  3. [virtual_sdcard]
  4. path: ~/gcode_files
  5. [display_status]
  6.  
  7. [stepper_x]
  8. step_pin: PC2
  9. dir_pin: PB9
  10. enable_pin: !PC3
  11. microsteps: 16
  12. rotation_distance: 40
  13. endstop_pin: ^PA5
  14. position_endstop: 0
  15. position_max: 245
  16. homing_speed: 80
  17.  
  18. [stepper_y]
  19. step_pin: PB8
  20. dir_pin: PB7
  21. enable_pin: !PC3
  22. microsteps: 16
  23. rotation_distance: 40
  24. endstop_pin: ^PA6
  25. position_endstop: 0
  26. position_max: 225
  27. homing_speed: 100
  28.  
  29. [stepper_z]
  30. step_pin: PB6
  31. dir_pin: !PB5
  32. enable_pin: !PC3
  33. microsteps: 16
  34. rotation_distance: 8
  35. endstop_pin: probe:z_virtual_endstop #enable to use bltouch
  36. # endstop_pin: ^PA7 #disable to use bltouch
  37. # position_endstop: 0.0 #disable to use bltouch
  38. position_max: 220
  39. position_min: -10
  40. homing_speed: 8
  41. second_homing_speed: 2
  42. homing_retract_dist: 2.0
  43.  
  44. [extruder]
  45. max_extrude_only_distance: 101.0
  46. step_pin: PB4
  47. dir_pin: PB3
  48. enable_pin: !PC3
  49. microsteps: 16
  50. rotation_distance: 7.92816 #32.473 SONIC PAD
  51. nozzle_diameter: 0.400
  52. filament_diameter: 1.750
  53. heater_pin: PA1
  54. sensor_type: EPCOS 100K B57560G104F
  55. sensor_pin: PC5
  56. #control: pid
  57. # tuned for stock hardware with 200 degree Celsius target
  58. #pid_Kp: 29.291
  59. #pid_Ki: 1.743
  60. #pid_Kd: 123.021
  61. min_temp: 0
  62. max_temp: 265
  63.  
  64. [verify_heater extruder]
  65. check_gain_time: 200
  66. hysteresis: 5
  67.  
  68.  
  69. [heater_bed]
  70. heater_pin: PA2
  71. sensor_type: EPCOS 100K B57560G104F
  72. sensor_pin: PC4
  73. control: pid
  74. # tuned for stock hardware with 50 degree Celsius target
  75. pid_Kp: 67.104
  76. pid_Ki: 0.544
  77. pid_Kd: 2068.466
  78. min_temp: 0
  79. max_temp: 130
  80.  
  81. [fan]
  82. pin: PA0
  83.  
  84. [fan_generic extruder_partfan]
  85. # pin: PB15
  86. pin: PC6
  87. #max_power:
  88. #shutdown_speed:
  89. #cycle_time:
  90. #hardware_pwm:
  91. #kick_start_time:
  92. #off_below:
  93. #tachometer_pin:
  94. #tachometer_ppr:
  95. #tachometer_poll_interval:
  96. # See the "fan" section for a description of the above parameters.
  97. #heater: extruder
  98. # Name of the config section defining the heater that this fan is
  99. # associated with. If a comma separated list of heater names is
  100. # provided here, then the fan will be enabled when any of the given
  101. # heaters are enabled. The default is "extruder".
  102. #heater_temp: 50.0
  103. # A temperature (in Celsius) that the heater must drop below before
  104. # the fan is disabled. The default is 50 Celsius.
  105. #fan_speed: 1.0
  106. # The fan speed (expressed as a value from 0.0 to 1.0) that the fan
  107. # will be set to when its associated heater is enabled. The default
  108. # is 1.0
  109.  
  110.  
  111. [heater_fan heater_partfan]
  112. pin: PB14
  113. #max_power:
  114. #shutdown_speed:
  115. #cycle_time:
  116. #hardware_pwm:
  117. #kick_start_time:
  118. #off_below:
  119. #tachometer_pin:
  120. #tachometer_ppr:
  121. #tachometer_poll_interval:
  122. # See the "fan" section for a description of the above parameters.
  123. #heater: extruder
  124. # Name of the config section defining the heater that this fan is
  125. # associated with. If a comma separated list of heater names is
  126. # provided here, then the fan will be enabled when any of the given
  127. # heaters are enabled. The default is "extruder".
  128. #heater_temp: 50.0
  129. # A temperature (in Celsius) that the heater must drop below before
  130. # the fan is disabled. The default is 50 Celsius.
  131. #fan_speed: 1.0
  132. # The fan speed (expressed as a value from 0.0 to 1.0) that the fan
  133. # will be set to when its associated heater is enabled. The default
  134. # is 1.0
  135.  
  136. [mcu]
  137. serial: /dev/serial/by-id/usb_serial_1
  138. restart_method: command
  139.  
  140. [printer]
  141. kinematics: cartesian
  142. max_velocity: 750
  143. max_accel: 10000
  144. # max_accel_to_decel: 7000
  145. max_z_velocity: 5
  146. square_corner_velocity: 5.0
  147. max_z_accel: 100
  148.  
  149. [exclude_object]
  150.  
  151. # [mcu rpi]
  152. # serial: /tmp/klipper_host_mcu
  153.  
  154. # [adxl345]
  155. # cs_pin: rpi:None
  156. # spi_speed: 2000000
  157. # spi_bus: spidev2.0
  158.  
  159. # [resonance_tester]
  160. # accel_chip: adxl345
  161. # accel_per_hz: 70
  162. # probe_points:
  163. # 117.5,117.5,10
  164.  
  165. [idle_timeout]
  166. timeout: 172800
  167.  
  168. [input_shaper]
  169. #shaper_type_x = mzv
  170. #shaper_freq_x = 89.8
  171. #shaper_type_y = mzv
  172. #shaper_freq_y = 35.2
  173.  
  174. [bltouch]
  175. sensor_pin: ^PB1
  176. control_pin: PB0
  177. x_offset: -54
  178. y_offset: -5
  179. z_offset: 4.29
  180. speed: 20
  181. samples: 1
  182. sample_retract_dist: 8.0
  183. stow_on_each_sample = false #high speed for bltoch
  184.  
  185. [safe_z_home]
  186. home_xy_position: 175,120 # Change coordinates to the center of your print bed
  187. speed: 150
  188. z_hop: 10 # Move up 10mm
  189. z_hop_speed: 10
  190.  
  191. [bed_mesh]
  192. speed: 120
  193. mesh_min: 30,30 #need to handle head distance with bl_touch
  194. mesh_max: 180,200 #max probe range
  195. probe_count: 5,5
  196. fade_start: 1
  197. fade_end: 10
  198. fade_target: 0
  199. algorithm: bicubic
  200.  
  201. # [output_pin my_led]
  202. # pin: PB12
  203. # The pin to configure as an output. This parameter must be
  204. # provided.
  205. #pwm: False
  206. # Set if the output pin should be capable of pulse-width-modulation.
  207. # If this is true, the value fields should be between 0 and 1; if it
  208. # is false the value fields should be either 0 or 1. The default is
  209. # False.
  210. #static_value:
  211. # If this is set, then the pin is assigned to this value at startup
  212. # and the pin can not be changed during runtime. A static pin uses
  213. # slightly less ram in the micro-controller. The default is to use
  214. # runtime configuration of pins.
  215. #value:
  216. # The value to initially set the pin to during MCU configuration.
  217. # The default is 0 (for low voltage).
  218. #shutdown_value:
  219. # The value to set the pin to on an MCU shutdown event. The default
  220. # is 0 (for low voltage).
  221. #maximum_mcu_duration:
  222. # The maximum duration a non-shutdown value may be driven by the MCU
  223. # without an acknowledge from the host.
  224. # If host can not keep up with an update, the MCU will shutdown
  225. # and set all pins to their respective shutdown values.
  226. # Default: 0 (disabled)
  227. # Usual values are around 5 seconds.
  228. #cycle_time: 0.100
  229. # The amount of time (in seconds) per PWM cycle. It is recommended
  230. # this be 10 milliseconds or greater when using software based PWM.
  231. # The default is 0.100 seconds for pwm pins.
  232. #hardware_pwm: False
  233. # Enable this to use hardware PWM instead of software PWM. When
  234. # using hardware PWM the actual cycle time is constrained by the
  235. # implementation and may be significantly different than the
  236. # requested cycle_time. The default is False.
  237. #scale:
  238. # This parameter can be used to alter how the 'value' and
  239. # 'shutdown_value' parameters are interpreted for pwm pins. If
  240. # provided, then the 'value' parameter should be between 0.0 and
  241. # 'scale'. This may be useful when configuring a PWM pin that
  242. # controls a stepper voltage reference. The 'scale' can be set to
  243. # the equivalent stepper amperage if the PWM were fully enabled, and
  244. # then the 'value' parameter can be specified using the desired
  245. # amperage for the stepper. The default is to not scale the 'value'
  246. # parameter.
  247.  
  248. #*# <---------------------- SAVE_CONFIG ---------------------->
  249. #*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
  250. #*#
  251. #*# [input_shaper]
  252. #*# shaper_type_x = ei
  253. #*# shaper_freq_x = 41.8
  254. #*# shaper_type_y = 2hump_ei
  255. #*# shaper_freq_y = 52.2
  256. #*#
  257. #*# [extruder]
  258. #*# control = pid
  259. #*# pid_kp = 22.699
  260. #*# pid_ki = 1.261
  261. #*# pid_kd = 102.145
  262.  
Advertisement
Add Comment
Please, Sign In to add comment