Advertisement
Duckers

printer config

Nov 5th, 2022
30
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.59 KB | None | 0 0
  1. [include mainsail.cfg]
  2. [mcu]
  3. serial: /dev/serial/by-id/usb-Klipper_lpc1768_1EE00003410C39AF06F6E85BC12000F5-if00
  4.  
  5. [mcu rpi]
  6. serial: /tmp/klipper_host_mcu
  7.  
  8. [adxl345]
  9. cs_pin: rpi:None
  10.  
  11. [resonance_tester]
  12. accel_chip: adxl345
  13. probe_points:
  14. 100, 100, 20 # an example
  15.  
  16. [stepper_x]
  17. step_pin: P2.2
  18. dir_pin: !P2.6
  19. enable_pin: !P2.1
  20. microsteps: 128
  21. rotation_distance: 40
  22. endstop_pin: P1.29
  23. position_endstop: 0
  24. position_max: 235
  25. homing_speed: 50
  26.  
  27. [tmc2209 stepper_x]
  28. uart_pin: P1.17
  29. interpolate: False
  30. run_current: 0.8
  31. #hold_current: 0.5
  32. stealthchop_threshold: 250
  33. # stealthchop_threshold: 0
  34. diag_pin: P1.29
  35.  
  36. [stepper_y]
  37. step_pin: P0.19
  38. dir_pin: !P0.20
  39. enable_pin: !P2.8
  40. microsteps: 128
  41. rotation_distance: 40
  42. endstop_pin: P1.27
  43. position_endstop: 0
  44. position_max: 235
  45. homing_speed: 50
  46.  
  47. [tmc2209 stepper_y]
  48. uart_pin: P1.15
  49. interpolate: false
  50. run_current: 0.8
  51. #hold_current: 0.5
  52. stealthchop_threshold: 250
  53. # stealthchop_threshold: 0
  54. diag_pin: P1.27
  55.  
  56. [stepper_z]
  57. step_pin: P0.22
  58. dir_pin: P2.11
  59. enable_pin: !P0.21
  60. microsteps: 128
  61. rotation_distance: 8
  62. endstop_pin: P1.25 # P1.24 for Z-max
  63. position_endstop: 0.0
  64. position_max: 250
  65.  
  66. [tmc2209 stepper_z]
  67. uart_pin: P1.10
  68. interpolate: false
  69. run_current: 0.650
  70. #hold_current: 0.450
  71. stealthchop_threshold: 50
  72.  
  73. [extruder]
  74. max_extrude_only_distance: 100.0
  75. step_pin: P2.13
  76. dir_pin: !P0.11
  77. enable_pin: !P2.12
  78. microsteps: 16
  79. rotation_distance = 200 * 16 / 4075
  80. rotation_distance = 7.8527
  81. nozzle_diameter: 0.400
  82. filament_diameter: 1.750
  83. heater_pin: P2.7
  84. sensor_type: EPCOS 100K B57560G104F
  85. sensor_pin: P0.24
  86. #control: pid
  87. # tuned for stock hardware with 200 degree Celsius target
  88. #pid_Kp: 21.527
  89. #pid_Ki: 1.063
  90. #pid_Kd: 108.982
  91. min_temp: 0
  92. max_temp: 265
  93. pressure_advance = 0.13745
  94.  
  95. [tmc2209 extruder]
  96. uart_pin: P1.8
  97. interpolate: False
  98. run_current: 0.9
  99. hold_current: 0.500
  100. stealthchop_threshold: 0
  101.  
  102. [heater_bed]
  103. heater_pin: P2.5
  104. sensor_type: EPCOS 100K B57560G104F
  105. sensor_pin: P0.23
  106. #control: pid
  107. # tuned for stock hardware with 50 degree Celsius target
  108. #pid_Kp: 54.027
  109. #pid_Ki: 0.770
  110. #pid_Kd: 948.182
  111. min_temp: 0
  112. max_temp: 130
  113.  
  114. [fan]
  115. pin: P2.3
  116.  
  117. [heater_fan hotend_fan]
  118. pin: P2.4
  119. heater: extruder
  120. heater_temp: 50.0
  121.  
  122. [input_shaper]
  123. shaper_freq_x: 70.2
  124. shaper_type_x: 2hump_ei
  125. shaper_freq_y: 30
  126. shaper_type_y: 2hump_ei
  127.  
  128. [printer]
  129. kinematics: cartesian
  130. max_velocity: 300
  131. max_accel: 1500
  132. max_z_velocity: 5
  133. max_z_accel: 100
  134.  
  135. # Pin mappings for BL_T port
  136. #[bltouch]
  137. #sensor_pin: ^PB1
  138. #control_pin: PB0
  139.  
  140. [safe_z_home]
  141. home_xy_position: 10,10
  142. speed: 80.0
  143. z_hop: 10.0
  144. z_hop_speed: 10.0
  145.  
  146. ########################################
  147. # EXP1 / EXP2 (display) pins
  148. ########################################
  149.  
  150. [board_pins]
  151. aliases:
  152. # EXP1 header
  153. EXP1_1=P1.30, EXP1_3=P1.18, EXP1_5=P1.20, EXP1_7=P1.22, EXP1_9=<GND>,
  154. EXP1_2=P0.28, EXP1_4=P1.19, EXP1_6=P1.21, EXP1_8=P1.23, EXP1_10=<5V>,
  155. # EXP2 header
  156. EXP2_1=P0.17, EXP2_3=P3.26, EXP2_5=P3.25, EXP2_7=P1.31, EXP2_9=<GND>,
  157. EXP2_2=P0.15, EXP2_4=P0.16, EXP2_6=P0.18, EXP2_8=<RST>, EXP2_10=<NC>
  158. # Pins EXP2_1, EXP2_6, EXP2_2 are also MISO, MOSI, SCK of bus "ssp0"
  159.  
  160. [display]
  161. lcd_type: st7920
  162. cs_pin: EXP1_7
  163. sclk_pin: EXP1_6
  164. sid_pin: EXP1_8
  165. encoder_pins: ^EXP1_5, ^EXP1_3
  166. click_pin: ^!EXP1_2
  167.  
  168. #*# <---------------------- SAVE_CONFIG ---------------------->
  169. #*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
  170. #*#
  171. #*# [extruder]
  172. #*# control = pid
  173. #*# pid_kp = 31.713
  174. #*# pid_ki = 1.976
  175. #*# pid_kd = 127.249
  176. #*#
  177. #*# [heater_bed]
  178. #*# control = pid
  179. #*# pid_kp = 64.318
  180. #*# pid_ki = 0.936
  181. #*# pid_kd = 1104.666
  182.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement