Advertisement
Guest User

printer.cfg

a guest
Jun 26th, 2025
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 6.81 KB | Software | 0 0
  1. [include fluidd.cfg]
  2. [include START_PRINT.cfg]
  3. [include END_PRINT.cfg]
  4. [mcu]
  5. serial: /dev/serial/by-id/usb-Klipper_stm32g0b1xx_290020000B504B5735313920-if00
  6. restart_method: command
  7.  
  8. #[mcu adxl]
  9. #serial: /dev/serial/by-id/usb-Klipper_rp2040_E66260879732482E-if00
  10. ### To find the USB firmware ID, run: ls -l /dev/serial/by-id/
  11. ### Replace /dev/serial/by-id/usb-Klipper_rp2040_XXXXXXXXXXXXXXXXXXXXX with the ID you find
  12.  
  13. ## ADXL345 Accelerometer
  14. #[adxl345]
  15.  #cs_pin: adxl:gpio9
  16. # spi_software_sclk_pin: adxl:gpio10
  17. # spi_software_mosi_pin: adxl:gpio11
  18. # spi_software_miso_pin: adxl:gpio12
  19.  
  20. #[resonance_tester]
  21.  #accel_chip: adxl345
  22. # probe_points:
  23.  #    112, 115, 20  # This coordinate is where you want to measure, usually the center of the heated bed
  24.  
  25. # #restart_method: command
  26. [virtual_sdcard]
  27. path: /home/gi/printer_data/gcodes
  28. on_error_gcode: CANCEL_PRINT
  29.  
  30.  
  31. ########################################
  32. # Stepper_Config
  33. ########################################
  34.  
  35. [stepper_x]
  36. step_pin: PA14
  37. dir_pin: PA10
  38. enable_pin: !PA13
  39. microsteps: 16
  40. rotation_distance: 40
  41. endstop_pin: ^PC4
  42. #position_min: 0
  43. position_endstop: 0
  44. position_max: 360              
  45. homing_speed: 150
  46.  
  47. [stepper_y]
  48. step_pin: PC8
  49. dir_pin: PA15
  50. enable_pin: !PC14
  51. microsteps: 16
  52. rotation_distance: 40
  53. endstop_pin: ^PB0
  54. #position_min: -25  
  55. position_endstop: 0
  56. position_max: 364        
  57. homing_speed: 150
  58.  
  59. [stepper_z]
  60. step_pin: PD2
  61. dir_pin: PD4
  62. enable_pin: !PD3
  63. microsteps: 16
  64. rotation_distance: 8
  65. endstop_pin: probe:z_virtual_endstop
  66. position_max: 400
  67. position_min: -15
  68.  
  69. ########################################
  70. # TMC2209 configuration
  71. ########################################
  72.  
  73. [tmc2209 stepper_x]
  74. uart_pin: PB8
  75. ##diag_pin: PC4
  76. hold_current: 0.600
  77. run_current: 0.750
  78. #stealthchop_threshold: 999999
  79.  
  80. [tmc2209 stepper_y]
  81. uart_pin: PC9
  82. ##diag_pin: PB0
  83. hold_current: 0.600
  84. run_current: 0.750
  85. #stealthchop_threshold: 999999
  86.  
  87. [tmc2209 stepper_z]
  88. uart_pin: PD0
  89. ##diag_pin: PC6
  90. hold_current: 0.600
  91. run_current: 0.750
  92. #stealthchop_threshold: 999999
  93.  
  94. [tmc2209 extruder]
  95. uart_pin: PD1
  96. hold_current: 0.550
  97. run_current: 0.650
  98. #stealthchop_threshold: 999999
  99.  
  100. #[tmc2209 extruder1]
  101. #uart_pin: PB5
  102. #run_current: 0.800
  103. #stealthchop_threshold: 999999
  104.  
  105.  
  106. ########################################
  107. # Heaters
  108. ########################################
  109.  
  110. [extruder]
  111. step_pin: PD5
  112. dir_pin: PD6
  113. enable_pin: !PB3
  114. microsteps: 16
  115. full_steps_per_rotation: 200
  116. rotation_distance: 53.087649466624
  117. # # rotation_distance: 53.494165  
  118. gear_ratio: 44:10, 37:17
  119. nozzle_diameter: 0.400
  120. filament_diameter: 1.650
  121. heater_pin: PB11 #HE0
  122. # # sensor_type: ATC Semitec 104NT-4-R025H42G  ## CHC aliexress hotend##
  123. sensor_type: NTC 100K MGB18-104F39050L32
  124. sensor_pin: PA4 #TH0
  125. #control: pid
  126. #pid_Kp=17.401
  127. #pid_Ki=1.813
  128. #pid_Kd=41.763
  129. min_temp: 0
  130. max_temp: 300
  131. pressure_advance: 0.082    
  132. max_extrude_only_distance: 1000.0
  133. max_extrude_only_velocity: 200.0
  134. max_extrude_only_accel: 1500
  135. max_extrude_cross_section: 5
  136.  
  137. [heater_bed]
  138. heater_pin: PB2 #HB
  139. sensor_type: EPCOS 100K B57560G104F #Generic 3950
  140. sensor_pin: PA3 #TB
  141. control: watermark
  142. min_temp: 0
  143. max_temp: 130
  144.  
  145. [bltouch]
  146. sensor_pin: ^PA6
  147. control_pin: PA7
  148. x_offset: -38
  149. y_offset:  6
  150. #z_offset: 3.0
  151. probe_with_touch_mode: False
  152.  
  153.  
  154. [safe_z_home]
  155. home_xy_position: 180,180 # Change coordinates to the center of your print bed
  156. speed: 150
  157. z_hop: 15                 # Move up 10mm
  158. z_hop_speed: 100
  159.  
  160. [bed_mesh]
  161. speed: 200
  162. horizontal_move_z: 15
  163. mesh_min: -38, 6
  164. mesh_max: 280, 350
  165. probe_count: 5, 5
  166.  
  167.  
  168. ########################################
  169. # Fans
  170. ########################################
  171.  
  172. [fan]
  173. pin: PB15
  174. max_power: 1.0
  175.  
  176. [heater_fan Extruder]
  177. pin: PA8
  178. heater: extruder
  179. max_power: 1.0
  180. fan_speed: 1.0
  181. heater_temp: 40.0
  182.  
  183.  
  184. [input_shaper]
  185. #shaper_freq_x: 40.8
  186. #shaper_type_x: 2hump_ei
  187. #shaper_freq_y: 54.4
  188. #shaper_type_y: 2hump_ei
  189. #shaper_freq_x: 66.66  # frequency for the X mark of the test model
  190. #shaper_freq_y: 60.70  # frequency for the Y mark of the test model
  191. # damping_ratio_x: 0.52
  192. # damping_ratio_y: 0.49
  193.  
  194.  
  195. [printer]
  196. kinematics: cartesian
  197. max_velocity: 2000
  198. max_accel: 4000
  199. max_z_velocity: 4
  200. max_z_accel: 250
  201. square_corner_velocity: 5.0
  202.  
  203. [screws_tilt_adjust]
  204. screw1: 315,309
  205. screw1_name: front left screw
  206. screw2: 55,309
  207. screw2_name: front right screw
  208. screw3: 55, 45
  209. screw3_name: rear right screw
  210. screw4: 315,45
  211. screw4_name: rear left screw
  212. screw_thread: CW-M4
  213.  
  214. ########################################
  215. # Firmware Retract
  216. ########################################
  217.  
  218.  
  219. [firmware_retraction]
  220. retract_length: 0.20
  221. #   The length of filament (in mm) to retract when G10 is activated,
  222. #   and to unretract when G11 is activated (but see
  223. #   unretract_extra_length below). The default is 0 mm.
  224. retract_speed: 60
  225. #   The speed of retraction, in mm/s. The default is 20 mm/s.
  226. unretract_extra_length: 0
  227. #   The length (in mm) of *additional* filament to add when
  228. #   unretracting.
  229. unretract_speed: 40
  230. #   The speed of unretraction, in mm/s. The default is 10 mm/s.
  231.  
  232.  
  233. ########################################
  234. # NeoPixles
  235. ########################################
  236.  
  237. #[neopixel th_leds]
  238. #pin:          PC7
  239. #chain_count:  7
  240. #color_order: GRB
  241. #initial_RED: 1.0
  242. #initial_GREEN: 1.0
  243. #initial_BLUE: 1.0
  244.  
  245.  
  246. ########################################
  247. # Add_Ons (BTT Specific)
  248. ########################################
  249.  
  250. [board_pins]
  251. aliases:
  252.     # EXP1 header
  253.     EXP1_1=PC1, EXP1_3=PC3, EXP1_5=PC0, EXP1_7=PA2, EXP1_9=<GND>,
  254.     EXP1_2=PC2,  EXP1_4=<RST>, EXP1_6=PA0, EXP1_8=PA1, EXP1_10=<5V>
  255.  
  256. #[output_pin PS_ON]
  257. #pin: PA9
  258.  
  259. #[output_pin pb9_pin]
  260. #pin: PB9
  261.  
  262.  
  263. ########################################
  264. # ADXL345-Manta_SPI pins
  265. ########################################
  266.  
  267. #[adxl345]
  268. #cs_pin: PC15
  269. #spi_software_miso_pin: PC11
  270. #spi_software_mosi_pin: PC12
  271. #spi_software_sclk_pin: PC10
  272.  
  273.  
  274. ########################################
  275. # Filament_Sensor
  276. ########################################
  277.  
  278. # [filament_switch_sensor ro1]
  279. # switch_pin: !PC5
  280. # pause_on_runout: True
  281.  
  282.  
  283. #[filament_switch_sensor material_1]
  284. #switch_pin: PB1
  285.  
  286. #*# <---------------------- SAVE_CONFIG ---------------------->
  287. #*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
  288. #*#
  289. #*# [bltouch]
  290. #*# z_offset = 9.690
  291. #*#
  292. #*# [bed_mesh default]
  293. #*# version = 1
  294. #*# points =
  295. #*#     0.727500, 0.567500, 0.300000, 0.050000
  296. #*#     0.460000, 0.235000, -0.012500, -0.075000
  297. #*#     0.197500, 0.000000, -0.102500, -0.335000
  298. #*#     0.090000, 0.132500, 0.000000, -0.310000
  299. #*# x_count = 4
  300. #*# y_count = 4
  301. #*# mesh_x_pps = 2
  302. #*# mesh_y_pps = 2
  303. #*# algo = lagrange
  304. #*# tension = 0.2
  305. #*# min_x = -38.0
  306. #*# max_x = 280.0
  307. #*# min_y = 6.0
  308. #*# max_y = 349.98
  309. #*#
  310. #*# [extruder]
  311. #*# control = pid
  312. #*# pid_kp = 14.878
  313. #*# pid_ki = 0.945
  314. #*# pid_kd = 58.584
  315.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement