Advertisement
bender007

ender 3 v2 neo klipper config - screws position fixed

Feb 10th, 2023 (edited)
3,851
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.99 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. #Elvis Basic 03.04.2023
  22.  
  23. ###fluidd set
  24. [virtual_sdcard]
  25. path: ~/gcode_files
  26.  
  27. [include mainsail.cfg]
  28.  
  29.  
  30. [bltouch]
  31. sensor_pin: ^PB1
  32. control_pin: PB0
  33. x_offset: -36.5 # Enter your own value here
  34. y_offset: -12 # Enter your own value here
  35. #z_offset: 0
  36. speed: 20
  37. samples: 1
  38. sample_retract_dist: 8.0
  39. stow_on_each_sample = false #high speed for bltouch
  40.  
  41.  
  42. [safe_z_home]
  43. home_xy_position: 160,120 # Change coordinates to the center of your print bed
  44. speed: 150
  45. z_hop: 10 # Move up 10mm
  46. z_hop_speed: 10
  47.  
  48.  
  49. [bed_mesh]
  50. speed: 120
  51. mesh_min: 30,30 #need to handle head distance with bl_touch
  52. mesh_max: 189,189 #max probe range
  53. probe_count: 5,5
  54. fade_start: 1
  55. fade_end: 10
  56. fade_target: 0
  57. algorithm: bicubic
  58.  
  59. [stepper_x]
  60. step_pin: PC2
  61. dir_pin: PB9
  62. enable_pin: !PC3
  63. microsteps: 16
  64. rotation_distance: 40
  65. endstop_pin: ^PA5
  66. position_endstop: 0
  67. position_max: 240
  68. homing_speed: 50
  69.  
  70. [stepper_y]
  71. step_pin: PB8
  72. dir_pin: PB7
  73. enable_pin: !PC3
  74. microsteps: 16
  75. rotation_distance: 40
  76. endstop_pin: ^PA6
  77. position_endstop: 0
  78. position_max: 225
  79. homing_speed: 50
  80.  
  81. [stepper_z]
  82. step_pin: PB6
  83. dir_pin: !PB5
  84. enable_pin: !PC3
  85. microsteps: 16
  86. rotation_distance: 7.96
  87. endstop_pin: probe:z_virtual_endstop
  88. position_max: 255
  89. position_min: -10
  90. homing_speed: 4
  91. second_homing_speed: 1
  92. homing_retract_dist: 2.0
  93.  
  94.  
  95. [extruder]
  96.  
  97. max_extrude_only_distance: 1000.0
  98. #max_extrude_only_distance: 101
  99. step_pin: PB4
  100. dir_pin: PB3
  101. enable_pin: !PC3
  102. microsteps: 16
  103. rotation_distance: 31.563756
  104. # rotation_distance 32.473 default for v2 neo
  105. # rotation_distance: 31.6416685248 # e-steps was 34.406 but 32.473 in creality sonic pad config <- old
  106. nozzle_diameter: 0.400
  107. filament_diameter: 1.750
  108. heater_pin: PA1
  109. sensor_type: EPCOS 100K B57560G104F
  110. sensor_pin: PC5
  111. pressure_advance = 0.489
  112.  
  113.  
  114. #pressure_advance = 1.0
  115. # tuned @ 200C 12.02.2023
  116. #pid_kp = 24.974
  117. #pid_ki = 1.435
  118. #pid_kd = 108.636
  119. min_temp: 0
  120. max_temp: 265
  121.  
  122. [verify_heater extruder]
  123. check_gain_time: 200
  124. hysteresis: 5
  125.  
  126.  
  127. # alternative (this is the direct probe location above the screws)
  128. [screws_tilt_adjust]
  129. screw1: 70, 40
  130. screw1_name: front left screw
  131. screw2: 240, 40
  132. screw2_name: front right screw
  133. screw3: 240, 212
  134. screw3_name: rear right screw
  135. screw4: 70, 212
  136. screw4_name: rear left screw
  137. horizontal_move_z: 10
  138. speed: 200
  139. screw_thread: CW-M4 # Use CW for Clockwise and CCW for Counter Clockwise
  140.  
  141.  
  142.  
  143.  
  144.  
  145.  
  146.  
  147. [heater_bed]
  148. heater_pin: PA2
  149. sensor_type: EPCOS 100K B57560G104F
  150. sensor_pin: PC4
  151. # tuned @ 60C 12.02.2023
  152. #pid_kp = 71.521
  153. #pid_ki = 1.721
  154. #pid_kd = 742.924
  155. min_temp: 0
  156. max_temp: 130
  157.  
  158. [fan]
  159. pin: PA0
  160.  
  161. [fan_generic extruder_partfan]
  162. # pin: PB15
  163. pin: PC6
  164. #max_power:
  165. #shutdown_speed:
  166. #cycle_time:
  167. #hardware_pwm:
  168. #kick_start_time:
  169. #off_below:
  170. #tachometer_pin:
  171. #tachometer_ppr:
  172. #tachometer_poll_interval:
  173. # See the "fan" section for a description of the above parameters.
  174. #heater: extruder
  175. # Name of the config section defining the heater that this fan is
  176. # associated with. If a comma separated list of heater names is
  177. # provided here, then the fan will be enabled when any of the given
  178. # heaters are enabled. The default is "extruder".
  179. #heater_temp: 50.0
  180. # A temperature (in Celsius) that the heater must drop below before
  181. # the fan is disabled. The default is 50 Celsius.
  182. #fan_speed: 1.0
  183. # The fan speed (expressed as a value from 0.0 to 1.0) that the fan
  184. # will be set to when its associated heater is enabled. The default
  185. # is 1.0
  186.  
  187.  
  188. [heater_fan heater_partfan]
  189. pin: PB14
  190. #max_power:
  191. #shutdown_speed:
  192. #cycle_time:
  193. #hardware_pwm:
  194. #kick_start_time:
  195. #off_below:
  196. #tachometer_pin:
  197. #tachometer_ppr:
  198. #tachometer_poll_interval:
  199. # See the "fan" section for a description of the above parameters.
  200. #heater: extruder
  201. # Name of the config section defining the heater that this fan is
  202. # associated with. If a comma separated list of heater names is
  203. # provided here, then the fan will be enabled when any of the given
  204. # heaters are enabled. The default is "extruder".
  205. #heater_temp: 50.0
  206. # A temperature (in Celsius) that the heater must drop below before
  207. # the fan is disabled. The default is 50 Celsius.
  208. #fan_speed: 1.0
  209. # The fan speed (expressed as a value from 0.0 to 1.0) that the fan
  210. # will be set to when its associated heater is enabled. The default
  211. # is 1.0
  212.  
  213.  
  214.  
  215. [mcu]
  216. serial: /dev/serial/by-id/usb-1a86_USB_Serial-if00-port0
  217. restart_method: command
  218.  
  219. [printer]
  220. kinematics: cartesian
  221. max_velocity: 300
  222. max_accel: 3000
  223. max_z_velocity: 5
  224. max_z_accel: 100
  225. square_corner_velocity: 5.0
  226.  
  227. [gcode_macro G29] #add g29 to the interface
  228. gcode:
  229. G28
  230. bed_mesh_calibrate
  231. G1 X0 Y0 Z10 F4200
  232. # save_config
  233.  
  234. [gcode_arcs]
  235. #resolution: 1.0
  236.  
  237. [gcode_macro BED_LEVEL]
  238. gcode:
  239. G28
  240. BED_MESH_CALIBRATE
  241.  
  242.  
  243. [gcode_macro Z_AXI_CALIBRATE]
  244. gcode:
  245. G28
  246. PROBE_CALIBRATE
  247.  
  248.  
  249.  
  250. [gcode_macro PID]
  251. gcode:
  252. G28
  253. PID_CALIBRATE HEATER=extruder TARGET=200
  254. PID_CALIBRATE HEATER=heater_bed TARGET=60
  255.  
  256. [gcode_macro Press_Advance_short]
  257. gcode:
  258. SET_VELOCITY_LIMIT SQUARE_CORNER_VELOCITY=1 ACCEL=500
  259. TUNING_TOWER COMMAND=SET_PRESSURE_ADVANCE PARAMETER=ADVANCE START=0 FACTOR=.005
  260.  
  261. [gcode_macro Press_Advance_long]
  262. gcode:
  263. SET_VELOCITY_LIMIT SQUARE_CORNER_VELOCITY=1 ACCEL=500
  264. TUNING_TOWER COMMAND=SET_PRESSURE_ADVANCE PARAMETER=ADVANCE START=0 FACTOR=.020
  265.  
  266. #*# <---------------------- SAVE_CONFIG ---------------------->
  267. #*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
  268. #*#
  269. #*# [bltouch]
  270. #*# z_offset = 2.821
  271. #*#
  272. #*# [extruder]
  273. #*# control = pid
  274. #*# pid_kp = 23.642
  275. #*# pid_ki = 1.222
  276. #*# pid_kd = 114.369
  277. #*#
  278. #*# [heater_bed]
  279. #*# control = pid
  280. #*# pid_kp = 71.619
  281. #*# pid_ki = 1.497
  282. #*# pid_kd = 856.742
  283. #*#
  284. #*# [bed_mesh 0]
  285. #*# version = 1
  286. #*# points =
  287. #*# 0.027363, -0.047262, -0.082087, -0.164175, -0.099500
  288. #*# 0.089550, 0.029850, 0.017413, -0.034825, -0.012437
  289. #*# 0.044775, -0.007462, -0.027362, -0.089550, -0.027362
  290. #*# 0.079600, 0.044775, 0.039800, -0.014925, 0.022388
  291. #*# 0.044775, 0.002488, -0.022387, -0.079600, -0.042287
  292. #*# x_count = 5
  293. #*# y_count = 5
  294. #*# mesh_x_pps = 2
  295. #*# mesh_y_pps = 2
  296. #*# algo = bicubic
  297. #*# tension = 0.2
  298. #*# min_x = 30.0
  299. #*# max_x = 189.0
  300. #*# min_y = 30.0
  301. #*# max_y = 189.0
  302.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement