Guest User

Untitled

a guest
Feb 3rd, 2024
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.62 KB | None | 0 0
  1. [mcu]
  2. serial: /dev/serial/by-id/usb-1a86_USB_serial-if00-port0
  3. restart_method: command
  4.  
  5. [printer]
  6. kinematics: cartesian
  7. max_velocity: 500
  8. max_accel: 3000
  9. max_z_velocity: 5
  10. max_z_accel: 100
  11. square_corner_velocity: 5
  12. # Use those higher values just to configure Input Shaper
  13. #max_accel: 10000
  14. #max_accel_to_decel: 10000
  15.  
  16. [stepper_x]
  17. step_pin: !PC12
  18. dir_pin: PB3
  19. enable_pin: !PD2
  20. microsteps: 16
  21. rotation_distance: 40
  22. endstop_pin: PA13
  23. position_endstop: 0
  24. position_max: 235
  25. homing_speed: 50
  26.  
  27. [stepper_y]
  28. step_pin: PC11
  29. dir_pin: PA15
  30. enable_pin: !PC10
  31. microsteps: 16
  32. rotation_distance: 40
  33. endstop_pin: PB8
  34. position_endstop: 0
  35. position_max: 235
  36. homing_speed: 50
  37.  
  38. [stepper_z]
  39. step_pin: PC7
  40. dir_pin: !PC9
  41. enable_pin: !PC8
  42. rotation_distance: 8
  43. microsteps: 16
  44. position_min: -2
  45. position_max: 280
  46. # If you use "z_virtual_endstop", please set "homing_speed" and "second_homing_speed" to avoid banging the nozzle to fast
  47. endstop_pin: probe:z_virtual_endstop # Use Z- as endstop
  48. homing_speed: 3.0
  49. second_homing_speed: 0.3
  50. homing_retract_dist: 2.0
  51. # If you use "z sensor pin", you have to set the position_endstop
  52. #endstop_pin: !PC14
  53. # Use the UI and the piece of paper to slowly go down and find the proper position
  54. #position_endstop = 6.000
  55.  
  56. [extruder]
  57. max_extrude_only_distance: 100.0
  58. step_pin: PB10
  59. dir_pin: PB1
  60. enable_pin: !PC6
  61. microsteps: 16
  62. nozzle_diameter: 0.400
  63. filament_diameter: 1.750
  64. heater_pin: PA6
  65. sensor_type: EPCOS 100K B57560G104F
  66. sensor_pin: PC1
  67. min_temp: 0
  68. max_temp: 250
  69. # Calibrate E-Steps https://www.klipper3d.org/Rotation_Distance.html#calibrating-rotation_distance-on-extruders
  70. rotation_distance: 24
  71. # Calibrate PID: https://www.klipper3d.org/Config_checks.html#calibrate-pid-settings
  72. # - Example: PID_CALIBRATE HEATER=extruder TARGET=200
  73. control = pid
  74. pid_kp = 30.356
  75. pid_ki = 1.857
  76. pid_kd = 124.081
  77. # Calibrate PA: https://www.klipper3d.org/Pressure_Advance.html
  78. #pressure_advance = 0.600
  79.  
  80. [heater_bed]
  81. heater_pin: PA5
  82. sensor_type: EPCOS 100K B57560G104F
  83. sensor_pin: PC0
  84. max_temp: 110
  85. min_temp: 0
  86. # Calibrate PID: https://www.klipper3d.org/Config_checks.html#calibrate-pid-settings
  87. # - Example: PID_CALIBRATE HEATER=heater_bed TARGET=60
  88. control = pid
  89. pid_kp = 64.230
  90. pid_ki = 0.723
  91. pid_kd = 1425.905
  92.  
  93. [heater_fan hotend_fan]
  94. pin: PA7
  95. heater: extruder
  96. heater_temp: 50.0
  97.  
  98. [fan]
  99. pin: PB0
  100.  
  101. [force_move]
  102. enable_force_move: True
  103.  
  104. [safe_z_home]
  105. home_xy_position: 110,110
  106. z_hop: 10
  107.  
  108. [probe]
  109. pin: !PC13
  110. speed: 0.3
  111. lift_speed: 5.0
  112. samples: 2
  113. # Calibrate probe: https://www.klipper3d.org/Bed_Level.html
  114. # - Example: PROBE_CALIBRATE, then adjust with TESTZ Z=+/-X
  115. z_offset = -0.100
  116. activate_gcode: TARE_PROBE
  117. deactivate_gcode: TARE_PROBE
  118.  
  119. [gcode_macro TARE_PROBE]
  120. gcode:
  121. G4 P250
  122.  
  123. [filament_motion_sensor filament_sensor]
  124. extruder: extruder
  125. pause_on_runout: true
  126. switch_pin: PB4
  127.  
  128. [bed_mesh]
  129. speed: 50
  130. horizontal_move_z: 4.0
  131. mesh_min: 20,20
  132. mesh_max: 200,200
  133. probe_count: 4,4
  134. algorithm: bicubic
  135. fade_start: 1
  136. fade_end: 10
  137. fade_target: 0
  138.  
  139. [input_shaper]
  140. # Calibrate IS: https://www.klipper3d.org/Resonance_Compensation.html
  141. shaper_type_y = mzv
  142. shaper_freq_y = 38.2
  143. shaper_type_x = ei
  144. shaper_freq_x = 79.6
  145.  
  146. [temperature_sensor raspberry_pi]
  147. sensor_type: temperature_host
  148. #min_temp: 10
  149. #max_temp: 105
  150.  
  151. [temperature_sensor mcu_temp]
  152. sensor_type: temperature_mcu
  153. sensor_temperature1: 25
  154. sensor_adc1: 0.210317
  155. #min_temp: 0
  156. #max_temp: 105
  157.  
  158. [gcode_macro M420]
  159. description: Load the current mesh
  160. gcode:
  161. BED_MESH_PROFILE LOAD=default
  162.  
  163. [gcode_macro G29]
  164. description: creates automated homing and bed mesh
  165. gcode:
  166. G28
  167. BED_MESH_CALIBRATE
  168. DATA_SAVE
Advertisement
Add Comment
Please, Sign In to add comment