Advertisement
catalinutzz

cr10 v2 v3 hemera klipper

Mar 14th, 2021
1,385
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.55 KB | None | 0 0
  1. #CR-10 V2 PLUS (From Tiny Machines: CR-10 V2 with bl touch and titan direct drive included MAY VARY FROM STANDARD WIRING ON THE BLTOUCH)
  2. ### menu BLtouch ###
  3. [stepper_x]
  4. step_pin: ar54
  5. dir_pin: ar55
  6. enable_pin: !ar38
  7. step_distance: .0125
  8. # rotation_distance: 640
  9. # microsteps: 256
  10. # full_steps_per_rotation: 400
  11. endstop_pin: ^ar3
  12. position_min: 0
  13. position_endstop: 0
  14. position_max: 311
  15. homing_speed: 60
  16.  
  17. [stepper_y]
  18. step_pin: ar60
  19. dir_pin: ar61
  20. enable_pin: !ar56
  21. step_distance: .0125
  22. # rotation_distance: 640
  23. # microsteps: 256
  24. # full_steps_per_rotation: 400
  25. endstop_pin: ^ar14
  26. position_min: 0
  27. position_endstop: 0
  28. position_max: 310
  29. homing_speed: 60
  30.  
  31. [stepper_z]
  32. step_pin: ar46
  33. dir_pin: !ar48
  34. enable_pin: !ar62
  35. # step_distance: .0025
  36. rotation_distance: 128
  37. microsteps: 256
  38. full_steps_per_rotation: 200
  39. position_max: 400
  40. position_min: -5
  41. endstop_pin: probe:z_virtual_endstop
  42. homing_speed: 60
  43.  
  44. [safe_z_home]
  45. home_xy_position: 150,150.4 # Change coordinates to the center of your print bed relative to the probe
  46. speed: 60
  47. z_hop: 10
  48. z_hop_speed: 10
  49.  
  50. [extruder]
  51. step_pin: ar26
  52. dir_pin: ar28
  53. enable_pin: !ar24
  54. # step_distance: 0.002409 - BMG
  55. # step_distance: 0.003383 - E3D
  56. # step_distance: 0.006766
  57. # rotation_distance: 21.651
  58. rotation_distance: 129.620
  59. microsteps: 256
  60. full_steps_per_rotation: 200
  61. nozzle_diameter: 0.400
  62. filament_diameter: 1.750
  63. heater_pin: ar10
  64. sensor_type: ATC Semitec 104GT-2
  65. sensor_pin: analog13
  66. control: pid
  67. pid_Kp: 17.1
  68. pid_Ki: 1.29
  69. pid_Kd: 56.7
  70. min_temp: 0
  71. max_temp: 300
  72. pressure_advance: 0.043
  73.  
  74. [heater_bed]
  75. heater_pin: ar8
  76. sensor_type: ATC Semitec 104GT-2
  77. sensor_pin: analog14
  78. control: pid
  79. pid_Kp: 690.34
  80. pid_Ki: 111.47
  81. pid_Kd: 1068.83
  82. min_temp: 0
  83. max_temp: 120
  84.  
  85. [fan]
  86. pin: ar9
  87.  
  88. [mcu]
  89. baud: 250000
  90. serial: /dev/serial/by-id/usb-1a86_USB_Serial-if00-port0
  91. pin_map: arduino
  92.  
  93. [printer]
  94. kinematics: cartesian
  95. max_velocity: 300
  96. max_accel: 1000
  97. max_accel_to_decel: 1000
  98. max_z_velocity: 10
  99. max_z_accel: 100
  100.  
  101. [display]
  102. lcd_type: st7920
  103. cs_pin: ar16
  104. sclk_pin: ar23
  105. sid_pin: ar17
  106. encoder_pins: ^ar33, ^ar31
  107. click_pin: ^!ar35
  108.  
  109.  
  110. [bltouch]
  111. sensor_pin: ^ar19
  112. control_pin: ar11
  113. pin_move_time: 0.680
  114. # The amount of time (in seconds) to wait for the BLTouch pin to
  115. # move up or down. The default is 0.680 seconds.
  116. stow_on_each_sample: False
  117. probe_with_touch_mode: True
  118. x_offset: -36
  119. y_offset: 0
  120. z_offset: 0
  121. samples: 1
  122. sample_retract_dist: 2
  123. samples_result: average
  124. speed: 15
  125.  
  126.  
  127. #[probe]
  128. #pin: ^ar19
  129. #x_offset: 24.
  130. #y_offset: 5.
  131. #z_offset: .0
  132. #speed: 150.0
  133.  
  134.  
  135. #[input_shaper]
  136. #shaper_freq_x: 48.08
  137. #shaper_freq_y: 43.14
  138. #shaper_type = mzv
  139.  
  140. [gcode_arcs]
  141.  
  142. [bed_mesh]
  143. speed: 150
  144. horizontal_move_z: 5
  145. mesh_min: 20,20
  146. mesh_max: 275,275
  147. probe_count: 5,5
  148. fade_start: 1.0
  149.  
  150. # The gcode z position in which to start phasing out z-adjustment
  151. # when fade is enabled. Default is 1.0.
  152. fade_end: 5.0
  153. # The gcode z position in which phasing out completes. When set
  154. # to a value below fade_start, fade is disabled. It should be
  155. # noted that fade may add unwanted scaling along the z-axis of a
  156. # print. If a user wishes to enable fade, a value of 10.0 is
  157. # recommended. Default is 0.0, which disables fade.
  158. #fade_target:
  159. # The z position in which fade should converge. When this value is set
  160. # to a non-zero value it must be within the range of z-values in the mesh.
  161. # Users that wish to converge to the z homing position should set this to 0.
  162. # Default is the average z value of the mesh.
  163. #split_delta_z: .025
  164. # The amount of Z difference (in mm) along a move that will
  165. # trigger a split. Default is .025.
  166. #move_check_distance: 5.0
  167. # The distance (in mm) along a move to check for split_delta_z.
  168. # This is also the minimum length that a move can be split. Default
  169. # is 5.0.
  170. #mesh_pps: 3,3
  171. # A comma separated pair of integers (X,Y) defining the number of
  172. # points per segment to interpolate in the mesh along each axis. A
  173. # "segment" can be defined as the space between each probed
  174. # point. The user may enter a single value which will be applied
  175. # to both axes. Default is 2,2.
  176. #algorithm: bicubic
  177. # The interpolation algorithm to use. May be either "lagrange"
  178. # or "bicubic". This option will not affect 3x3 grids, which
  179. # are forced to use lagrange sampling. Default is lagrange.
  180. #bicubic_tension: .2
  181. # When using the bicubic algorithm the tension parameter above
  182. # may be applied to change the amount of slope interpolated.
  183. # Larger numbers will increase the amount of slope, which
  184. # results in more curvature in the mesh. Default is .2.
  185. #relative_reference_index: 24
  186. # A point index in the mesh to reference all z values to. Enabling
  187. # this parameter produces a mesh relative to the probed z position
  188. # at the provided index.
  189.  
  190. [screws_tilt_adjust]
  191. screw1: 0,31
  192. screw1_name: front left screw
  193. screw2: 224,31
  194. screw2_name: front right screw
  195. screw3: 224,273
  196. screw3_name: rear right screw
  197. screw4: 0,273
  198. screw4_name: rear right screw
  199. speed: 50
  200. horizontal_move_z: 10
  201. screw_thread: CW-M3
  202. # The type of screw used for bed level, M3, M4 or M5 and the
  203. # direction of the knob used to level the bed, clockwise decrease
  204. # counter-clockwise decrease.
  205. # Accepted values: CW-M3, CCW-M3, CW-M4, CCW-M4, CW-M5, CCW-M5.
  206. # Default value is CW-M3, most printers use an M3 screw and
  207. # turning the knob clockwise decrease distance.
  208.  
  209. ######################################################################
  210. #MACROS
  211. ######################################################################
  212. # Start Print and End Print
  213. ######################################################################
  214. [gcode_macro g29]
  215. gcode:
  216. G28
  217. BED_MESH_CALIBRATE
  218. BED_MESH_PROFILE SAVE=P1
  219. G1 X0 Y0 Z5 F4000
  220.  
  221. # Replace the slicer's custom start and end g-code scripts with
  222. # START_PRINT and END_PRINT.
  223.  
  224. [gcode_macro CUSTOM_OFFSET]
  225. gcode: SET_GCODE_OFFSET Z=-2.5
  226.  
  227. [gcode_macro START_PRINT]
  228. default_parameter_BED_TEMP: 60
  229. default_parameter_EXTRUDER_TEMP: 195
  230. gcode:
  231. G28
  232. BED_MESH_CLEAR
  233. BED_MESH_CALIBRATE
  234. CUSTOM_OFFSET
  235. M220 S100
  236. M221 S100
  237. G92 E0
  238. G1 Z2.0 F3000
  239. G1 X10.1 Y30.0 Z0.28 F5000.0
  240. G1 X50.0 Y30.0 Z0.28 F5000.0
  241. G1 X50.0 Y7.0 Z0.28 F5000.0
  242. G1 X250.0 Y7.0 Z0.28 F1500.0 E11
  243. G1 X250.0 Y7.3 Z0.28 F5000.0
  244. G1 X50.0 Y7.3 Z0.28 F1500.0 E23
  245. G92 E0
  246. G1 Z2.0 F3000
  247.  
  248. [gcode_macro END_PRINT]
  249. gcode:
  250. #Relative positioning
  251. G91
  252. #Retract a bit
  253. G1 E-2 F2700
  254. #Retract and raise Z
  255. G1 E-2 Z0.2 F2400
  256. #Wipe out
  257. G1 X5 Y5 F3000
  258. #Raise Z more
  259. G1 Z10
  260. #Absolute positionning
  261. G90
  262. #Present print
  263. G1 X0 Y300
  264. #Turn-off fan, hotend, bed, disable all steppers except Z
  265. M106 S0
  266. M104 S0
  267. M140 S0
  268. M84 X Y E
  269. #Clear Mesh
  270. BED_MESH_CLEAR
  271.  
  272. #*# <---------------------- SAVE_CONFIG ---------------------->
  273. #*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
  274. #*#
  275. #*#
  276. #*# [bed_mesh default]
  277. #*# version = 1
  278. #*# points =
  279. #*# 0.560000, 0.380000, 0.255000, 0.180000, 0.112500
  280. #*# 0.447500, 0.350000, 0.192500, 0.100000, 0.062500
  281. #*# 0.465000, 0.320000, 0.252500, 0.127500, 0.037500
  282. #*# 0.387500, 0.262500, 0.135000, 0.060000, -0.047500
  283. #*# 0.435000, 0.282500, 0.155000, 0.052500, 0.000000
  284. #*# x_count = 5
  285. #*# y_count = 5
  286. #*# mesh_x_pps = 2
  287. #*# mesh_y_pps = 2
  288. #*# algo = bicubic
  289. #*# tension = 0.2
  290. #*# min_x = 50.0
  291. #*# max_x = 260.0
  292. #*# min_y = 20.0
  293. #*# max_y = 300.0
  294. #*#
  295. #*# [extruder]
  296. #*# control = pid
  297. #*# pid_kp = 21.702
  298. #*# pid_ki = 1.447
  299. #*# pid_kd = 81.383
  300.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement