小黑屋|Klipper玩客 ( 桂ICP备13004039号-7 )

GMT+8, 2024-9-8 09:07

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

kobra 2 neo klipper配置参考

67
0
0
0
admin LV9
正文
发布时间:2024-06-26
  1. #Configuration file for the Anycubic Kobra 2 neo. (Trigorilla 4.0.1 Board)


  2. #please read every comment before changing and using this config to ensure you dont break anything.


  3. #DISCLAIMER
  4. #This Printer config was written and optimized by and with the help of the Klipper forum group.
  5. #THIS IS NO LONGER AS EXPERIMENTAL but still nobody will give you any warranty in case your printer blows up. (which it probably wont)
  6. #version 2.0.1
  7. #tested on 3 printers - fixed errors - generalized file paths - works now.
  8. #please excuse any spelling or grammatical errors in my comments as english is not my native.
  9. #comments by xenyonmedia and mysterious cable (reddit only)


  10. #Included files
  11. [include mainsail.cfg]
  12. [include makro.cfg]         #comment this if you dont have this macro file.
  13. #[include adxl.cfg] #uncomment this if you want to connect an adxl sensor and have this config file


  14. #mcu config (i would advise against changing this besides from the serial)
  15. [mcu]
  16. serial:/dev/serial/by-id/usb-1a86_USB_Serial-if00-port0 #set this to your serial connection after running ls /dev/serial/by-id/*
  17. baud: 115200
  18. restart_method: command


  19. #printer config
  20. [printer]
  21. kinematics: cartesian
  22. max_velocity: 250 #you can increase this, but stealthchop will vibrate the belts violently if moving faster!!!
  23. max_accel: 10000 #yes it does 10k atlease at 250mm/s
  24. max_z_velocity: 8 #dont change this
  25. max_z_accel: 800


  26. #this is my input shaper result, change or disable this only if you know what it does and at best have an adxl sensor
  27. [input_shaper]
  28. shaper_freq_x: 54.8
  29. shaper_type_x: ei
  30. shaper_freq_y: 34.0
  31. shaper_type_y: mzv


  32. #virtual SD
  33. [virtual_sdcard]
  34. path: ~/printer_data/gcodes
  35. on_error_gcode: CANCEL_PRINT


  36. #x stepper
  37. [stepper_x]
  38. step_pin: PA12
  39. dir_pin: PA11
  40. enable_pin: !PA15
  41. microsteps: 16
  42. rotation_distance: 40
  43. endstop_pin: ^!PB11
  44. position_endstop: -10
  45. position_min: -14
  46. position_max: 220
  47. homing_speed: 100 #this sets the homing speed.


  48. #y stepper
  49. [stepper_y]
  50. step_pin: PA9
  51. dir_pin: !PA8
  52. enable_pin: !PA15
  53. microsteps: 16
  54. rotation_distance: 40
  55. endstop_pin: ^!PC13
  56. position_endstop: -2
  57. position_min: -3
  58. position_max: 230
  59. homing_speed: 100 #this sets the homing speed.

  60. #z stepper
  61. [stepper_z]
  62. step_pin: PB0
  63. dir_pin: !PB1
  64. enable_pin: !PA15
  65. microsteps: 16
  66. rotation_distance: 8
  67. endstop_pin: probe:z_virtual_endstop
  68. position_min: -2
  69. position_max: 200
  70. homing_speed: 15
  71. second_homing_speed: 2


  72. #extruder config
  73. [extruder]
  74. max_extrude_cross_section: 5.0 #change if you change nozzle diameter to something large
  75. step_pin: PB15
  76. dir_pin: PB14
  77. enable_pin: !PA15
  78. microsteps: 16
  79. max_extrude_only_distance: 200
  80. max_extrude_only_velocity: 80
  81. max_extrude_only_accel: 5000
  82. rotation_distance: 7.084
  83. nozzle_diameter: 0.400
  84. filament_diameter: 1.750
  85. pressure_advance: 0.06 #if you see bulges or underextrusion on corners, tune this with the documentation (https://www.klipper3d.org/Pressure_Advance.html)
  86. heater_pin: PB8
  87. sensor_type: ATC Semitec 104GT-2
  88. sensor_pin: PC3
  89. min_extrude_temp: 190
  90. min_temp: 0
  91. max_temp: 250
  92. control: pid
  93. pid_ki: 0.88
  94. pid_kd: 59.12
  95. #pressure advance
  96. pid_kp: 14.42 #tune this with this guide (https://www.obico.io/blog/klipper-pid-tuning/)


  97. #hotbed
  98. [heater_bed]
  99. heater_pin: PB9
  100. sensor_type: EPCOS 100K B57560G104F
  101. sensor_pin: PC1
  102. min_temp: 0
  103. max_temp: 120
  104. control: pid
  105. pid_kp: 97.1 #tune this with this guide (https://www.obico.io/blog/klipper-pid-tuning/)
  106. pid_ki: 1.41
  107. pid_kd: 1675.16


  108. #inductive probe settings
  109. [probe]
  110. pin: PA1
  111. x_offset : 24.0
  112. y_offset : 13.35
  113. #z_offset: 0
  114. samples: 3
  115. samples_result: average
  116. samples_tolerance_retries: 1
  117. sample_retract_dist: 2
  118. speed: 15
  119. lift_speed: 8
  120. samples_tolerance : 0.1
  121. samples_tolerance_retries : 3

  122. #auto bed level settings
  123. [bed_mesh]
  124. speed: 200
  125. horizontal_move_z: 3
  126. mesh_min: 14, 11
  127. mesh_max: 210, 215
  128. probe_count: 7,7 #change this if you want more or less probe points
  129. mesh_pps: 4,4
  130. algorithm: bicubic
  131. bicubic_tension: 0.2

  132. #zhome probing. Probably dont change this
  133. [safe_z_home]
  134. home_xy_position: 110, 110
  135. speed: 100
  136. z_hop: 10
  137. z_hop_speed: 15

  138. [controller_fan controller_fan]
  139. pin: PB12

  140. [heater_fan extruder_fan]
  141. pin: PB13

  142. [fan]
  143. pin: PB5
  144. cycle_time: 0.00005 #20kHz

  145. #This pin enables the bed, hotend, extruder fan, part fan.
  146. [output_pin enable_pin]
  147. pin: PB6
  148. static_value: 1

  149. #*# <---------------------- SAVE_CONFIG ---------------------->
  150. #*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
  151. #*#
  152. #*# [probe]
  153. #*# z_offset = 1.595
  154. #*#
  155. #*# [bed_mesh default]
  156. #*# version = 1
  157. #*# points =
  158. #*#         -0.003333, 0.034167, 0.032500, 0.094167, 0.156667
  159. #*#         0.075000, 0.080833, 0.062500, 0.093333, 0.117500
  160. #*#         0.065000, 0.047500, -0.004167, 0.008333, -0.002500
  161. #*#         -0.062500, -0.088333, -0.134167, -0.132500, -0.167500
  162. #*#         -0.146667, -0.211667, -0.298333, -0.364167, -0.408333
  163. #*# x_count = 5
  164. #*# y_count = 5
  165. #*# mesh_x_pps = 4
  166. #*# mesh_y_pps = 4
  167. #*# algo = bicubic
  168. #*# tension = 0.2
  169. #*# min_x = 14.0
  170. #*# max_x = 210.0
  171. #*# min_y = 11.0
  172. #*# max_y = 215.0
复制代码


回复

 
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

快速回复 返回顶部 返回列表