bender007

ender 3 v2 neo klipper config - screws position fixed

Feb 7th, 2023 (edited)
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.87 KB | None | 0 0
  1. # !Ender-3 V2 Neo
  2.  
  3. # This file contains pin mappings
  4. # To use this config, during "make menuconfig" select the
  5. # STM32F103 with a "28KiB bootloader" and serial (on USART1 PA10/PA9)
  6. # communication.
  7.  
  8. # If you prefer a direct serial connection, in "make menuconfig"
  9. # select "Enable extra low-level configuration options" and select
  10. # serial (on USART3 PB11/PB10), which is broken out on the 10 pin IDC
  11. # cable used for the LCD module as follows:
  12. # 3: Tx, 4: Rx, 9: GND, 10: VCC
  13.  
  14. # Flash this firmware by copying "out/klipper.bin" to a SD card and
  15. # turning on the printer with the card inserted. The firmware
  16. # filename must end in ".bin" and must not match the last filename
  17. # that was flashed.
  18.  
  19. # See docs/Config_Reference.md for a description of parameters.
  20.  
  21.  
  22. ###fluidd set
  23. [virtual_sdcard]
  24. path: ~/gcode_files
  25.  
  26. [include mainsail.cfg]
  27.  
  28.  
  29. [bltouch]
  30. sensor_pin: ^PB1
  31. control_pin: PB0
  32. x_offset: -37.6 # Enter your own value here
  33. y_offset: -10 # Enter your own value here
  34. z_offset: 0
  35. speed: 20
  36. samples: 1
  37. sample_retract_dist: 8.0
  38. stow_on_each_sample = false #high speed for bltouch
  39.  
  40.  
  41. [safe_z_home]
  42. home_xy_position: 160,120 # Change coordinates to the center of your print bed
  43. speed: 150
  44. z_hop: 10 # Move up 10mm
  45. z_hop_speed: 5
  46.  
  47.  
  48. [bed_mesh]
  49. speed: 120
  50. horizontal_move_z: 5
  51. mesh_min: 30, 30
  52. mesh_max: 189, 189
  53. probe_count: 5, 5
  54. fade_start: 1
  55. fade_end: 10
  56. fade_target: 0
  57. algorithm: bicubic
  58.  
  59.  
  60. [stepper_x]
  61. step_pin: PC2
  62. dir_pin: PB9
  63. enable_pin: !PC3
  64. microsteps: 16
  65. rotation_distance: 40
  66. endstop_pin: ^PA5
  67. position_endstop: 0
  68. position_max: 240
  69. homing_speed: 50
  70.  
  71. [stepper_y]
  72. step_pin: PB8
  73. dir_pin: PB7
  74. enable_pin: !PC3
  75. microsteps: 16
  76. rotation_distance: 40
  77. endstop_pin: ^PA6
  78. position_endstop: 0
  79. position_max: 225
  80. homing_speed: 50
  81.  
  82. [stepper_z]
  83. step_pin: PB6
  84. dir_pin: !PB5
  85. enable_pin: !PC3
  86. microsteps: 16
  87. rotation_distance: 8
  88. endstop_pin: probe:z_virtual_endstop
  89. position_max: 255
  90. position_min: -10
  91. homing_speed: 4
  92. second_homing_speed: 1
  93. homing_retract_dist: 2.0
  94.  
  95.  
  96. [extruder]
  97. max_extrude_only_distance: 1000.0
  98. step_pin: PB4
  99. dir_pin: PB3
  100. enable_pin: !PC3
  101. microsteps: 16
  102. rotation_distance: 32.473 # e-steps was 34.406 but 32.473 in creality sonic pad config
  103. nozzle_diameter: 0.400
  104. filament_diameter: 1.750
  105. heater_pin: PA1
  106. sensor_type: EPCOS 100K B57560G104F
  107. sensor_pin: PC5
  108. control: pid
  109. #pressure_advance = 1.0
  110. # tuned @ 200C 12.02.2023
  111. pid_kp = 24.974
  112. pid_ki = 1.435
  113. pid_kd = 108.636
  114. min_temp: 0
  115. max_temp: 265
  116.  
  117. #[screws_tilt_adjust]
  118. #screw1: 30,25
  119. #screw1_name: front left screw
  120. #screw2: 200,25
  121. #screw2_name: front right screw
  122. #screw3: 200,195
  123. #screw3_name: rear right screw
  124. #screw4: 30,195
  125. #screw4_name: rear left screw
  126. #horizontal_move_z: 10
  127. #speed: 200
  128. #screw_thread: CW-M4 # Use CW for Clockwise and CCW for Counter Clockwise
  129.  
  130. # alternative (this is the direct probe location above the screws)
  131. [screws_tilt_adjust]
  132. screw1: 67, 42
  133. screw1_name: front left screw
  134. screw2: 237.60, 42
  135. screw2_name: front right screw
  136. screw3: 237.60, 212
  137. screw3_name: rear right screw
  138. screw4: 67.60, 212
  139. screw4_name: rear left screw
  140. horizontal_move_z: 10
  141. speed: 200
  142. screw_thread: CW-M4 # Use CW for Clockwise and CCW for Counter Clockwise
  143.  
  144.  
  145.  
  146.  
  147.  
  148.  
  149. [heater_bed]
  150. heater_pin: PA2
  151. sensor_type: EPCOS 100K B57560G104F
  152. sensor_pin: PC4
  153. # tuned @ 60C 12.02.2023
  154. pid_kp = 71.521
  155. pid_ki = 1.721
  156. pid_kd = 742.924
  157. min_temp: 0
  158. max_temp: 130
  159.  
  160. [fan]
  161. pin: PA0
  162.  
  163. [fan_generic extruder_partfan]
  164. # pin: PB15
  165. pin: PC6
  166. #max_power:
  167. #shutdown_speed:
  168. #cycle_time:
  169. #hardware_pwm:
  170. #kick_start_time:
  171. #off_below:
  172. #tachometer_pin:
  173. #tachometer_ppr:
  174. #tachometer_poll_interval:
  175. # See the "fan" section for a description of the above parameters.
  176. #heater: extruder
  177. # Name of the config section defining the heater that this fan is
  178. # associated with. If a comma separated list of heater names is
  179. # provided here, then the fan will be enabled when any of the given
  180. # heaters are enabled. The default is "extruder".
  181. #heater_temp: 50.0
  182. # A temperature (in Celsius) that the heater must drop below before
  183. # the fan is disabled. The default is 50 Celsius.
  184. #fan_speed: 1.0
  185. # The fan speed (expressed as a value from 0.0 to 1.0) that the fan
  186. # will be set to when its associated heater is enabled. The default
  187. # is 1.0
  188.  
  189.  
  190. [heater_fan heater_partfan]
  191. pin: PB14
  192. #max_power:
  193. #shutdown_speed:
  194. #cycle_time:
  195. #hardware_pwm:
  196. #kick_start_time:
  197. #off_below:
  198. #tachometer_pin:
  199. #tachometer_ppr:
  200. #tachometer_poll_interval:
  201. # See the "fan" section for a description of the above parameters.
  202. #heater: extruder
  203. # Name of the config section defining the heater that this fan is
  204. # associated with. If a comma separated list of heater names is
  205. # provided here, then the fan will be enabled when any of the given
  206. # heaters are enabled. The default is "extruder".
  207. #heater_temp: 50.0
  208. # A temperature (in Celsius) that the heater must drop below before
  209. # the fan is disabled. The default is 50 Celsius.
  210. #fan_speed: 1.0
  211. # The fan speed (expressed as a value from 0.0 to 1.0) that the fan
  212. # will be set to when its associated heater is enabled. The default
  213. # is 1.0
  214.  
  215.  
  216.  
  217. [mcu]
  218. serial: /dev/serial/by-id/usb-1a86_USB_Serial-if00-port0
  219. restart_method: command
  220.  
  221. [printer]
  222. kinematics: cartesian
  223. max_velocity: 300
  224. max_accel: 3000
  225. max_z_velocity: 5
  226. max_z_accel: 100
  227.  
  228.  
  229. [gcode_macro G29] #add g29 to the interface
  230. gcode:
  231. G28
  232. bed_mesh_calibrate
  233. G1 X0 Y0 Z10 F4200
  234. # save_config
  235.  
  236. [gcode_arcs]
  237. #resolution: 1.0
  238.  
  239. [gcode_macro BED_LEVEL]
  240. gcode:
  241. G28
  242. BED_MESH_CALIBRATE
  243.  
  244.  
  245. [gcode_macro Z_AXI_CALIBRATE]
  246. gcode:
  247. G28
  248. PROBE_CALIBRATE
  249.  
  250.  
  251.  
  252. [gcode_macro PID]
  253. gcode:
  254. G28
  255. PID_CALIBRATE HEATER=extruder TARGET=200
  256. PID_CALIBRATE HEATER=heater_bed TARGET=60
  257.  
  258. [gcode_macro Press_Advance_short]
  259. gcode:
  260. SET_VELOCITY_LIMIT SQUARE_CORNER_VELOCITY=1 ACCEL=500
  261. TUNING_TOWER COMMAND=SET_PRESSURE_ADVANCE PARAMETER=ADVANCE START=0 FACTOR=.005
  262.  
  263. [gcode_macro Press_Advance_long]
  264. gcode:
  265. SET_VELOCITY_LIMIT SQUARE_CORNER_VELOCITY=1 ACCEL=500
  266. TUNING_TOWER COMMAND=SET_PRESSURE_ADVANCE PARAMETER=ADVANCE START=0 FACTOR=.020
  267.  
  268. #*# <---------------------- SAVE_CONFIG ---------------------->
  269. #*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
  270. #*#
  271. #*# [bltouch]
  272. #*#
  273. #*# [extruder]
  274. #*#
  275. #*# [heater_bed]
  276. #*# control = pid
  277. #*#
  278. #*# [bed_mesh 0]
  279. #*# version = 1
  280. #*# points =
  281. #*# -0.157500, -0.175000, -0.152500, -0.172500, -0.157500
  282. #*# -0.042500, -0.072500, -0.057500, -0.080000, -0.072500
  283. #*# -0.107500, -0.112500, -0.075000, -0.087500, -0.072500
  284. #*# -0.077500, -0.072500, -0.042500, -0.047500, -0.015000
  285. #*# -0.085000, -0.087500, -0.057500, -0.072500, -0.072500
  286. #*# x_count = 5
  287. #*# y_count = 5
  288. #*# mesh_x_pps = 2
  289. #*# mesh_y_pps = 2
  290. #*# algo = bicubic
  291. #*# tension = 0.2
  292. #*# min_x = 29.999999999999993
  293. #*# max_x = 189.0
  294. #*# min_y = 30.0
  295. #*# max_y = 189.0
  296.  
Add Comment
Please, Sign In to add comment