cribbageSTARSHIP

printer.cfg_M8P_CB1_E3Max

May 4th, 2025 (edited)
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.13 KB | None | 0 0
  1. [include mainsail.cfg]
  2. #[include adxl.cfg]
  3. [include client_macros.cfg]
  4. [include screws.cfg]
  5. [include KAMP_Settings.cfg]
  6.  
  7. # Enable object exclusion
  8. [exclude_object]
  9.  
  10. # Enable arcs support
  11. [gcode_arcs]
  12. resolution: 0.1
  13.  
  14. #M8P
  15. [mcu]
  16. canbus_uuid: cc7b64b8b83b
  17.  
  18. #EBB36
  19. [mcu ebb36]
  20. canbus_uuid: fc67894d1d09
  21.  
  22. [input_shaper]
  23. shaper_freq_x: 39.6
  24. shaper_type_x: zv
  25. shaper_freq_y: 30.4
  26. shaper_type_y: mzv
  27.  
  28. #M8P CONFIG
  29.  
  30. [printer]
  31. kinematics: cartesian
  32. max_velocity: 300
  33. max_accel: 2700
  34. max_z_velocity: 5
  35. max_z_accel: 100
  36.  
  37. [board_pins]
  38. aliases:
  39. # EXP1 header ---> see screen.cfgd
  40. EXP1_1=PE9, EXP1_2=PE10,
  41. EXP1_3=PE11, EXP1_4=PE12,
  42. EXP1_5=PE13, EXP1_6=PE14, # Slot in the socket on this side
  43. EXP1_7=PE15, EXP1_8=PB10,
  44. EXP1_9=<GND>, EXP1_10=<5V>,
  45.  
  46. # EXP2 header
  47. EXP2_1=PB14, EXP2_2=PB13,
  48. EXP2_3=PF7, EXP2_4=PB12,
  49. EXP2_5=PE7, EXP2_6=PB11, # Slot in the socket on this side
  50. EXP2_7=PE8, EXP2_8=<RST>,
  51. EXP2_9=<GND>, EXP2_10=PC5
  52.  
  53. # See the sample-lcd.cfg file for definitions of common LCD displays.
  54.  
  55. #EBB36
  56.  
  57. # Thank you to source doc OP: https://wiki.kb-3d.com/en/home/btt/voron/BTT_EBB36 and stacking layers: https://www.youtube.com/watch?v=EA-oBfenxAE
  58.  
  59. ## Part Cooling Fan - FAN0
  60. [fan]
  61. pin: ebb36: PA1
  62. ## Hotend Fan - FAN1
  63. [heater_fan hotend_fan]
  64. pin: ebb36:PA0
  65. # You can add this section to monitor the temp on the EBB36.
  66.  
  67. [temperature_sensor ebb36]
  68. sensor_type: temperature_mcu
  69. sensor_mcu: ebb36
  70. min_temp: 0
  71. max_temp: 100
  72.  
  73. [safe_z_home] # enable for BLTouch
  74. home_xy_position: 150, 150
  75. speed: 100
  76. z_hop: 10
  77. z_hop_speed: 5
  78.  
  79. #XXXXXXXXXX
  80.  
  81. #Motor8
  82. [stepper_x]
  83. step_pin: PD8
  84. dir_pin: !PC6
  85. enable_pin: !PC7
  86. microsteps: 16
  87. rotation_distance: 40
  88. endstop_pin: !ebb36:PB3 # on M8P:^PF3
  89. position_endstop: 0
  90. position_max: 300
  91. homing_speed: 50
  92.  
  93. #Motor8
  94. [tmc2209 stepper_x]
  95. uart_pin: PD10
  96. run_current: 0.800
  97. stealthchop_threshold: 999999
  98.  
  99. #YYYYYYYYYY
  100.  
  101. # Motor2
  102. [stepper_y]
  103. step_pin: PF12
  104. dir_pin: !PF11
  105. enable_pin: !PB3
  106. microsteps: 16
  107. rotation_distance: 40
  108. endstop_pin: ^!PF4
  109. position_endstop: 0
  110. position_max: 300
  111. homing_speed: 50
  112.  
  113. # Motor2
  114. [tmc2209 stepper_y]
  115. uart_pin: PF13
  116. #diag_pin: PF4
  117. run_current: 0.800
  118. stealthchop_threshold: 999999
  119.  
  120. #ZZZZZZZZZZ
  121.  
  122. # The M8P only has 4 heater outputs which leaves an extra stepper
  123. # This can be used for a second Z stepper, dual_carriage, extruder co-stepper,
  124.  
  125. #Z0
  126. # Motor4
  127. [stepper_z]
  128. step_pin: PD3
  129. dir_pin: PD2
  130. enable_pin: !PD5
  131. microsteps: 16
  132. rotation_distance: 8
  133. endstop_pin: probe:z_virtual_endstop #^PC0 cr touch on ebb36
  134. #position_endstop: 0
  135. position_max: 340
  136. position_min: -1
  137. homing_speed: 8
  138. second_homing_speed: 3
  139. homing_retract_dist: 3
  140. # Motor4
  141. [tmc2209 stepper_z]
  142. uart_pin: PD4
  143. #diag_pin: PC0
  144. run_current: 0.650
  145. stealthchop_threshold: 999999
  146.  
  147. #Z1
  148. # Motor6
  149. [stepper_z1]
  150. step_pin: PA10
  151. dir_pin: !PA14
  152. enable_pin: !PA15
  153. microsteps: 16
  154. rotation_distance: 8
  155. # endstop_pin, position_endstop, position_max, homing_speed, position_min, homing_retract_dist, etc. is set only for z motor.
  156. # Z1 should not contain these values, they are common with Z. https://github.com/Klipper3d/klipper/issues/4413
  157. #endstop_pin: probe:z_virtual_endstop # enable to use BLTouch #^PF5 cr touch on ebb36
  158. #position_endstop: 0
  159. #position_max: 340
  160. #position_min: 0
  161. #homing_speed: 8
  162. #second_homing_speed: 3
  163. #homing_retract_dist: 3
  164. #sensor_pin: PA2 # T1
  165. # Motor6
  166. [tmc2209 stepper_z1]
  167. uart_pin: PF8
  168. run_current: 0.650
  169. stealthchop_threshold: 999999
  170.  
  171. [bltouch] # enable for BLTouch - fast-mode
  172. sensor_pin: ^ebb36:PB8 #^ebb36:PB8 # ^PB2
  173. control_pin: ebb36:PB9 #ebb36:PB9 # PB1
  174. pin_up_touch_mode_reports_triggered: False
  175. probe_with_touch_mode: True
  176. x_offset: 34 # modify as needed for bltouch location
  177. y_offset: 11 # modify as needed for bltouch location
  178. #z_offset: 0.0 # modify as needed for bltouch or run PROBE_CALIBRATE
  179. speed: 10
  180. samples: 3
  181. sample_retract_dist: 5.0 # Can be set lower, example 2.5 depending on height of bltouch from bed
  182. lift_speed: 40
  183. samples_tolerance_retries: 3
  184. speed: 10
  185. samples: 2
  186.  
  187. #BBBBBBBBBB
  188.  
  189. [heater_bed]
  190. heater_pin: PB7 # BED-OUT
  191. sensor_type: EPCOS 100K B57560G104F
  192. sensor_pin: PA0 # THB
  193.  
  194. min_temp: 10
  195. max_temp: 130
  196.  
  197. #EEEEEEEEEE
  198.  
  199. [extruder]
  200. max_extrude_only_distance: 100.0
  201. step_pin: ebb36:PD0 #m8p step_pin: PC9
  202. dir_pin: ebb36:PD1 #m8p dir_pin: PC8
  203. enable_pin: !ebb36:PD2 #m8p enable_pin: !PD1
  204. microsteps: 16
  205. rotation_distance: 23.471583744375 #23.2791736758 #23.433837 #24.395 #31.901 # Calibrate - see https://www.klipper3d.org/Rotation_Distance.html
  206. nozzle_diameter: 0.400
  207. filament_diameter: 1.750
  208. max_extrude_cross_section: 5.0
  209. heater_pin: PE3 # HE0 heater_pin: Using board HE until I get larger gauge wire for the final setup. ebb36:PB13
  210. min_extrude_temp: 10
  211. min_temp: -250 #0 #10
  212. max_temp: 300
  213. pressure_advance: 0.0 # Calibrate - see https://www.klipper3d.org/Pressure_Advance.html
  214.  
  215. sensor_pin: ebb36:PA3
  216. sensor_type: EPCOS 100K B57560G104F
  217. #sensor_type:MAX31865
  218. #sensor_pin: ebb36: PA4
  219. #spi_bus: spi1
  220. #rtd_nominal_r: 1000
  221. #rtd_reference_r: 4300
  222. #rtd_num_of_wires: 2
  223.  
  224. [tmc2209 extruder]
  225. uart_pin: ebb36: PA15
  226. run_current: 0.650
  227. stealthchop_threshold: 999999
  228.  
  229. [bed_mesh]
  230. speed: 50
  231. horizontal_move_z: 6
  232. mesh_min: 35, 12
  233. mesh_max: 265, 288
  234. #mesh_min: 50,50 #46.50,0.75
  235. #mesh_max: 250,250 #253.5,295.85
  236. probe_count: 11,11 #7,7
  237. algorithm: bicubic
  238.  
  239.  
  240. [gcode_macro BED_MESH_CALIBRATE_MACRO]
  241. gcode:
  242. G28 ; Home all axes
  243. BED_MESH_CALIBRATE ; Start mesh calibration
  244. BED_MESH_PROFILE SAVE=default ; Save the calibration data
  245. BED_MESH_OUTPUT ; Display the mesh data
  246.  
  247.  
  248.  
  249.  
  250. # [filament_switch_sensor e0_sensor]
  251. # switch_pin: ebb36:PB3
  252.  
  253. #*# <---------------------- SAVE_CONFIG ---------------------->
  254. #*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
  255. #*#
  256. #*# [extruder]
  257. #*# control = pid
  258. #*# pid_kp = 23.236
  259. #*# pid_ki = 1.083
  260. #*# pid_kd = 124.602
  261. #*#
  262. #*# [heater_bed]
  263. #*# control = pid
  264. #*# pid_kp = 67.909
  265. #*# pid_ki = 1.050
  266. #*# pid_kd = 1097.579
  267. #*#
  268. #*# [bltouch]
  269. #*# z_offset = 1.034
  270. #*#
  271. #*# [bed_mesh default]
  272. #*# version = 1
  273. #*# points =
  274. #*# -0.193750, -0.218750, -0.172500, -0.182500, -0.170000, -0.137500, -0.163750
  275. #*# -0.095000, -0.130000, -0.097500, -0.101250, -0.096250, -0.072500, -0.112500
  276. #*# -0.077500, -0.102500, -0.073750, -0.071250, -0.050000, -0.028750, -0.061250
  277. #*# -0.082500, -0.115000, -0.090000, -0.031250, -0.025000, -0.037500, -0.066250
  278. #*# -0.090000, -0.120000, -0.085000, -0.075000, -0.060000, -0.052500, -0.063750
  279. #*# -0.113750, -0.161250, -0.130000, -0.115000, -0.103750, -0.053750, -0.075000
  280. #*# -0.140000, -0.198750, -0.172500, -0.166250, -0.152500, -0.117500, -0.112500
  281. #*# x_count = 11
  282. #*# y_count = 11
  283. #*# mesh_x_pps = 2
  284. #*# mesh_y_pps = 2
  285. #*# algo = bicubic
  286. #*# tension = 0.2
  287. #*# min_x = 35.0
  288. #*# max_x = 264.98
  289. #*# min_y = 12.0
  290. #*# max_y = 288.0
  291.  
Advertisement
Add Comment
Please, Sign In to add comment