Advertisement
cribbageSTARSHIP

printer.cfg_M8P_CB1_E3Max

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