Guest User

Untitled

a guest
Jun 23rd, 2025
16
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.50 KB | None | 0 0
  1.  
  2. # This file contains common pin mappings for the BIGTREETECH Kraken.
  3. # To use this config, the firmware should be compiled for the
  4. # STM32H723 with a "128KiB bootloader" "25 MHz crystal"
  5. # and "USB (on PA11/PA12)" or "CAN bus (on PD0/PD1)".
  6. #
  7.  
  8. [include mainsail.cfg]
  9. [include motors_sync.cfg]
  10. [include bedfan.cfg]
  11. [include neopixel.cfg]
  12. [include testspeed.cfg]
  13. [include nozzle_scrub.cfg]
  14. [include canbus-ebb36.cfg]
  15. [include aux_fan.cfg]
  16. [include purge.cfg]
  17. [include Calibration.cfg]
  18. [include axistwist.cfg]
  19. [include bedmesh.cfg]
  20. #[include kraken.cfg]
  21. [include octopus.cfg]
  22. [exclude_object]
  23.  
  24. ###################################################################################################################################################################################################
  25.  
  26. [printer]
  27. kinematics: corexy
  28. max_velocity: 500
  29. max_accel: 35000
  30. max_z_velocity: 50 #Max 15 for 12V TMC Drivers, can increase for 24V
  31. max_z_accel: 5000
  32. square_corner_velocity: 5
  33. # See docs/Config_Reference.md for a description of parameters.
  34. #
  35.  
  36. ###################################################################################################################################################################################################
  37.  
  38. #[safe_z_home]
  39. #home_xy_position: 150, 150 # update for your machine
  40. #z_hop: 3
  41.  
  42.  
  43. [temperature_sensor raspberry_pi]
  44. sensor_type: temperature_host
  45. min_temp: 10
  46. max_temp: 100
  47. [temperature_sensor mcu_temp]
  48. sensor_type: temperature_mcu
  49. min_temp: 0
  50. max_temp: 100
  51.  
  52.  
  53. [controller_fan my_controller_fan]
  54. pin:PE5
  55. max_power:1.0
  56. shutdown_speed:0
  57. #cycle_time:
  58. #hardware_pwm:
  59. #kick_start_time:
  60. #off_below:
  61. fan_speed: 1.0
  62. # The fan speed (expressed as a value from 0.0 to 1.0) that the fan
  63. # will be set to when a heater or stepper driver is active.
  64. # The default is 1.0
  65. #idle_timeout:
  66. # The amount of time (in seconds) after a stepper driver or heater
  67. # was active and the fan should be kept running. The default
  68. # is 30 seconds.
  69. idle_speed:0.5
  70. # The fan speed (expressed as a value from 0.0 to 1.0) that the fan
  71. # will be set to when a heater or stepper driver was active and
  72. # before the idle_timeout is reached. The default is fan_speed.
  73.  
  74. stepper:stepper_x
  75. # Name of the config section defining the heater/stepper that this fan
  76. # is associated with. If a comma separated list of heater/stepper names
  77. # is provided here, then the fan will be enabled when any of the given
  78. # heaters/steppers are enabled. The default heater is "extruder", the
  79. # default stepper is all of them.
  80.  
  81.  
  82.  
  83.  
  84. #####################################################################
  85. # Macros
  86. #####################################################################
  87.  
  88. [gcode_macro PRINT_START]
  89. # Use PRINT_START for the slicer starting script - PLEASE CUSTOMISE THE SCRIPT
  90. gcode:
  91. M117 Homing... ; display message
  92. BED_MESH_PROFILE LOAD="default"
  93. #G28 Y
  94. #G28
  95. SYNC_MOTORS
  96. # clean_nozzle
  97. # Z_TILT_ADJUST
  98. #SKEW_PROFILE SAVE=default
  99. purge
  100.  
  101. #clean_nozzle
  102. #--------------------------------------------------------------------
  103. [skew_correction]
  104.  
  105.  
  106. [gcode_macro PRINT_END]
  107. # Use PRINT_END for the slicer ending script - please customise for your slicer of choice
  108. gcode:
  109. # safe anti-stringing move coords
  110. {% set th = printer.toolhead %}
  111. {% set x_safe = th.position.x + 20 * (1 if th.axis_maximum.x - th.position.x > 20 else -1) %}
  112. {% set y_safe = th.position.y + 20 * (1 if th.axis_maximum.y - th.position.y > 20 else -1) %}
  113. {% set z_safe = [th.position.z + 2, th.axis_maximum.z]|min %}
  114.  
  115. SAVE_GCODE_STATE NAME=STATE_PRINT_END
  116.  
  117. M400 ; wait for buffer to clear
  118. G92 E0 ; zero the extruder
  119. G1 E-5.0 F3600 ; retract filament
  120.  
  121. TURN_OFF_HEATERS
  122.  
  123. G90 ; absolute positioning
  124. G0 X{x_safe} Y{y_safe} Z{z_safe} F20000 ; move nozzle to remove stringing
  125. G0 X{th.axis_maximum.x//2} Y{th.axis_maximum.y - 2} F3600 ; park nozzle at rear
  126. M107 ; turn off fan
  127.  
  128. BED_MESH_CLEAR
  129. BEDFANSFAST
  130. # The purpose of the SAVE_GCODE_STATE/RESTORE_GCODE_STATE
  131. # command pair is to restore the printer's coordinate system
  132. # and speed settings since the commands above change them.
  133. # However, to prevent any accidental, unintentional toolhead
  134. # moves when restoring the state, explicitly set MOVE=0.
  135. RESTORE_GCODE_STATE NAME=STATE_PRINT_END MOVE=0
  136.  
  137. #*# <---------------------- SAVE_CONFIG ---------------------->
  138. #*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
  139. #*#
  140. #*# [beacon model default]
  141. #*# model_coef = 1.581293850891667,
  142. #*# 1.9055616153469463,
  143. #*# 0.7462641848394452,
  144. #*# 0.31672109016917643,
  145. #*# 0.22102940355680623,
  146. #*# 0.23140822544440406,
  147. #*# -0.042287323486828836,
  148. #*# -0.15751584205410693,
  149. #*# 0.0936939502491625,
  150. #*# 0.10728988615994382
  151. #*# model_domain = 3.270411909055582e-07,3.347025698131256e-07
  152. #*# model_range = 0.200000,5.000000
  153. #*# model_temp = 25.276437
  154. #*# model_offset = -0.14500
  155. #*#
  156. #*# [bed_mesh default]
  157. #*# version = 1
  158. #*# points =
  159. #*# 0.009471, 0.020243, 0.044589, 0.063557, 0.086238, 0.105560, 0.123745, 0.135782, 0.146338, 0.150445, 0.154570, 0.158936, 0.168249, 0.165064, 0.158408, 0.152263, 0.138979, 0.122525, 0.104802, 0.091453, 0.081382, 0.075774, 0.064723, 0.051432, 0.043227
  160. #*# 0.000086, 0.017993, 0.027044, 0.055559, 0.079142, 0.102092, 0.122337, 0.130931, 0.134540, 0.136356, 0.139945, 0.147389, 0.161127, 0.162197, 0.156369, 0.148808, 0.135954, 0.120305, 0.102619, 0.086133, 0.078975, 0.072915, 0.063734, 0.051790, 0.034802
  161. #*# 0.004592, 0.018101, 0.022658, 0.056449, 0.078918, 0.101904, 0.120780, 0.130877, 0.135067, 0.138235, 0.145002, 0.156287, 0.168032, 0.166442, 0.161072, 0.154997, 0.143733, 0.126562, 0.104135, 0.089714, 0.079502, 0.071140, 0.063051, 0.072512, 0.032168
  162. #*# -0.007777, 0.007185, 0.023695, 0.041827, 0.063295, 0.082593, 0.104073, 0.115746, 0.121943, 0.127013, 0.134966, 0.145843, 0.157444, 0.157959, 0.151704, 0.145761, 0.134824, 0.118326, 0.099705, 0.090651, 0.074332, 0.070041, 0.062135, 0.048742, 0.039716
  163. #*# -0.014249, -0.001278, 0.016059, 0.033314, 0.055210, 0.077695, 0.095815, 0.108889, 0.117428, 0.122851, 0.131312, 0.142463, 0.154938, 0.152396, 0.145567, 0.137638, 0.130433, 0.119236, 0.104073, 0.092639, 0.085969, 0.078614, 0.071592, 0.060703, 0.046130
  164. #*# -0.018947, -0.003117, 0.020323, 0.029550, 0.051141, 0.071717, 0.090137, 0.103927, 0.114520, 0.122272, 0.131200, 0.142872, 0.155272, 0.150268, 0.141311, 0.132376, 0.130128, 0.119017, 0.109548, 0.098752, 0.092418, 0.086119, 0.077951, 0.058055, 0.057799
  165. #*# -0.028333, -0.012068, 0.017015, 0.024054, 0.047008, 0.066810, 0.085448, 0.100727, 0.112121, 0.120491, 0.133306, 0.147719, 0.157067, 0.149645, 0.137989, 0.130987, 0.127414, 0.121346, 0.116882, 0.108566, 0.100323, 0.091565, 0.084787, 0.077108, 0.050807
  166. #*# -0.025380, -0.009661, 0.008983, 0.026396, 0.042312, 0.063144, 0.080895, 0.095602, 0.108602, 0.121152, 0.136573, 0.152618, 0.162405, 0.152993, 0.140161, 0.134950, 0.129940, 0.126290, 0.124240, 0.117571, 0.108834, 0.098785, 0.091836, 0.083089, 0.058033
  167. #*# -0.026264, 0.004745, 0.011658, 0.034155, 0.057033, 0.076785, 0.091893, 0.105353, 0.120898, 0.137054, 0.152986, 0.170630, 0.182799, 0.175698, 0.164593, 0.154140, 0.153433, 0.152558, 0.150141, 0.142776, 0.136174, 0.125345, 0.117259, 0.107153, 0.096646
  168. #*# -0.037401, -0.017571, -0.009222, 0.023160, 0.041934, 0.059457, 0.074408, 0.087163, 0.103478, 0.121172, 0.142412, 0.160080, 0.175019, 0.169259, 0.160230, 0.152673, 0.151179, 0.149645, 0.147182, 0.144280, 0.139574, 0.129433, 0.119283, 0.107145, 0.095456
  169. #*# -0.045649, -0.028202, -0.011229, 0.005045, 0.024469, 0.042131, 0.058355, 0.075411, 0.091795, 0.110362, 0.131479, 0.152046, 0.165927, 0.161152, 0.153585, 0.148236, 0.142366, 0.142256, 0.143826, 0.146433, 0.147782, 0.139137, 0.133132, 0.112331, 0.113886
  170. #*# -0.076706, -0.058534, -0.040137, -0.021575, -0.003641, 0.016145, 0.038586, 0.057809, 0.078697, 0.100927, 0.124056, 0.145732, 0.162122, 0.157887, 0.149801, 0.143597, 0.139351, 0.140296, 0.144792, 0.147647, 0.148799, 0.141520, 0.143154, 0.115376, 0.115732
  171. #*# -0.095270, -0.078464, -0.056481, -0.037972, -0.014435, 0.006058, 0.028076, 0.047545, 0.070192, 0.096104, 0.117629, 0.133778, 0.148756, 0.145553, 0.134129, 0.128660, 0.128077, 0.131115, 0.136478, 0.138896, 0.142206, 0.140890, 0.143874, 0.114915, 0.105084
  172. #*# -0.131728, -0.109843, -0.096550, -0.072287, -0.047810, -0.023632, -0.001836, 0.024623, 0.048370, 0.075426, 0.099874, 0.121295, 0.137563, 0.133215, 0.122981, 0.116401, 0.113794, 0.118134, 0.124484, 0.128701, 0.131282, 0.131623, 0.140259, 0.112663, 0.102869
  173. #*# -0.159000, -0.137986, -0.115281, -0.089751, -0.064688, -0.039532, -0.015440, 0.011425, 0.034211, 0.060700, 0.085363, 0.108315, 0.123660, 0.121841, 0.112832, 0.103421, 0.100218, 0.105707, 0.118059, 0.123265, 0.123883, 0.123706, 0.121928, 0.114168, 0.105662
  174. #*# -0.177008, -0.153681, -0.129040, -0.103902, -0.078558, -0.053694, -0.027161, -0.005749, 0.019811, 0.044022, 0.071716, 0.096979, 0.115763, 0.113416, 0.104447, 0.093921, 0.089757, 0.098205, 0.107414, 0.116198, 0.118401, 0.119701, 0.119090, 0.114197, 0.108588
  175. #*# -0.198324, -0.179126, -0.143505, -0.118677, -0.091955, -0.064577, -0.039739, -0.017071, 0.007119, 0.033845, 0.060166, 0.087968, 0.108501, 0.106156, 0.095832, 0.085490, 0.082814, 0.085983, 0.094298, 0.102023, 0.108333, 0.111194, 0.092212, 0.109354, 0.107367
  176. #*# -0.227477, -0.189239, -0.160551, -0.134103, -0.105350, -0.080878, -0.054751, -0.029270, -0.004466, 0.021164, 0.047660, 0.074755, 0.095886, 0.093533, 0.085528, 0.077477, 0.073725, 0.074335, 0.082858, 0.090770, 0.097496, 0.100178, 0.083362, 0.106692, 0.102846
  177. #*# -0.250863, -0.208471, -0.175971, -0.147837, -0.123785, -0.096779, -0.069502, -0.043553, -0.018200, 0.006772, 0.034403, 0.059508, 0.078726, 0.081569, 0.075867, 0.070292, 0.067314, 0.068872, 0.078884, 0.083993, 0.090470, 0.095450, 0.079424, 0.103243, 0.072761
  178. #*# -0.278928, -0.239966, -0.201198, -0.166440, -0.139504, -0.113297, -0.087794, -0.060028, -0.030679, -0.002566, 0.024967, 0.048080, 0.067792, 0.073321, 0.068603, 0.064513, 0.062215, 0.066500, 0.073440, 0.079582, 0.085891, 0.091654, 0.069460, 0.096758, 0.066334
  179. #*# -0.300572, -0.249331, -0.226112, -0.189262, -0.159610, -0.132326, -0.107511, -0.076291, -0.045092, -0.014545, 0.014227, 0.038490, 0.061707, 0.065342, 0.062820, 0.058398, 0.060663, 0.063018, 0.068880, 0.074975, 0.082572, 0.088325, 0.060588, 0.091165, 0.068236
  180. #*# -0.331617, -0.274378, -0.250222, -0.208874, -0.180817, -0.152477, -0.121770, -0.086959, -0.054508, -0.025826, 0.005151, 0.033299, 0.057909, 0.061858, 0.061717, 0.062654, 0.063932, 0.070361, 0.080428, 0.089907, 0.096013, 0.098460, 0.088827, 0.089343, 0.087696
  181. #*# -0.353615, -0.299939, -0.270227, -0.231514, -0.200562, -0.169536, -0.135181, -0.099180, -0.066349, -0.034865, -0.004463, 0.022666, 0.049340, 0.057880, 0.062331, 0.059590, 0.055292, 0.050489, 0.058043, 0.064753, 0.069167, 0.069838, 0.068770, 0.071659, 0.080270
  182. #*# -0.354403, -0.306024, -0.272457, -0.241832, -0.212458, -0.180611, -0.146233, -0.114877, -0.082276, -0.051104, -0.024050, 0.004206, 0.031459, 0.041176, 0.042870, 0.043397, 0.047994, 0.053678, 0.059413, 0.065710, 0.073372, 0.076804, 0.077397, 0.076404, 0.084383
  183. #*# -0.379405, -0.341827, -0.304591, -0.271827, -0.238812, -0.208149, -0.172488, -0.138796, -0.105331, -0.076606, -0.050606, -0.019881, 0.007462, 0.019975, 0.019303, 0.018881, 0.019862, 0.022835, 0.028823, 0.035316, 0.039567, 0.041390, 0.036777, 0.032243, 0.027460
  184. #*# x_count = 25
  185. #*# y_count = 25
  186. #*# mesh_x_pps = 2
  187. #*# mesh_y_pps = 2
  188. #*# algo = bicubic
  189. #*# tension = 0.2
  190. #*# min_x = 25.0
  191. #*# max_x = 270.0
  192. #*# min_y = 0.0
  193. #*# max_y = 255.0
  194. #*#
  195. #*# [heater_bed]
  196. #*# pid_kp = 20.150
  197. #*# pid_ki = 0.328
  198. #*# pid_kd = 309.174
  199. #*# pid_version = 1
  200. #*# pid_target = 60.00
  201. #*# pid_tolerance = 0.0200
  202. #*# control = pid
  203. #*#
  204. #*# [extruder]
  205. #*#
  206. #*# [input_shaper]
  207. #*# shaper_type_x = 2hump_ei
  208. #*# shaper_freq_x = 86.4
  209. #*# shaper_type_y = 2hump_ei
  210. #*# shaper_freq_y = 76.4
  211. #*#
  212. #*# [skew_correction default]
  213. #*# xy_skew = 0.0
  214. #*# xz_skew = 0.0
  215. #*# yz_skew = 0.0
  216. #*#
  217. #*# [axis_twist_compensation]
  218. #*# z_compensations = -0.040151, 0.079108, -0.038957
  219. #*# compensation_start_x = 20.0
  220. #*# compensation_end_x = 280.0
  221. #*# zy_compensations = -0.232628, -0.005248, 0.237876
  222. #*# compensation_start_y = 20.0
  223. #*# compensation_end_y = 240.0
  224.  
Add Comment
Please, Sign In to add comment