Guest User

Untitled

a guest
Aug 30th, 2023
27
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.83 KB | None | 0 0
  1.  
  2. [virtual_sdcard]
  3. path: /home/user/printer_data/gcodes
  4. on_error_gcode: CANCEL_PRINT
  5.  
  6. # This file contains pin mappings for the stock 2020 Creality Ender 3
  7. # V2. To use this config, during "make menuconfig" select the
  8. # STM32F103 with a "28KiB bootloader" and serial (on USART1 PA10/PA9)
  9. # communication.
  10.  
  11. # If you prefer a direct serial connection, in "make menuconfig"
  12. # select "Enable extra low-level configuration options" and select
  13. # serial (on USART3 PB11/PB10), which is broken out on the 10 pin IDC
  14. # cable used for the LCD module as follows:
  15. # 3: Tx, 4: Rx, 9: GND, 10: VCC
  16.  
  17. # Flash this firmware by copying "out/klipper.bin" to a SD card and
  18. # turning on the printer with the card inserted. The firmware
  19. # filename must end in ".bin" and must not match the last filename
  20. # that was flashed.
  21.  
  22. # See docs/Config_Reference.md for a description of parameters.
  23. [include mainsail.cfg]
  24. [include Adaptive_Mesh.cfg]
  25. [include Adaptive_Purge.cfg]
  26. [include print_start_macro.cfg]
  27. [include print_end_macro.cfg]
  28. #[include adxlmcu.cfg]
  29.  
  30.  
  31. [stepper_x]
  32. step_pin: PC13
  33. dir_pin: !PC0
  34. enable_pin: !PC15
  35. microsteps: 16
  36. rotation_distance: 40
  37. endstop_pin: PA2
  38. position_endstop: -6
  39. position_min: -6
  40. position_max: 235
  41. homing_speed: 100
  42.  
  43. [tmc2209 stepper_x]
  44. uart_pin: PC14
  45. uart_address: 0
  46. run_current: 0.8
  47. stealthchop_threshold: 999999
  48.  
  49. [stepper_y]
  50. step_pin: PE3
  51. dir_pin: PE2
  52. enable_pin: PE5
  53. microsteps: 16
  54. rotation_distance: 40
  55. endstop_pin: PB10
  56. position_min: -6
  57. position_endstop: -6
  58. position_max: 235
  59. homing_speed: 100
  60.  
  61. [tmc2209 stepper_y]
  62. uart_pin: PE4
  63. uart_address: 2
  64. run_current: 0.580
  65. stealthchop_threshold: 999999
  66.  
  67. [bed_screws]
  68. screw1: 34, 32
  69. screw1_name: Front left
  70. screw2: 206, 32
  71. screw2_name: Front right
  72. screw3: 206, 203
  73. screw3_name: Back right
  74. screw4: 44, 203
  75. screw4_name: Back left
  76.  
  77. [stepper_z]
  78. step_pin: PB9
  79. dir_pin: !PB8
  80. enable_pin: !PE1
  81. microsteps: 16
  82. rotation_distance: 8
  83. endstop_pin: probe:z_virtual_endstop
  84. position_max: 255
  85. position_min: -6
  86. homing_speed: 100
  87.  
  88. [stepper_z1]
  89. step_pin: PA15
  90. dir_pin: PD7
  91. enable_pin: PC2
  92. microsteps:16
  93. rotation_distance: 8
  94. endstop_pin: probe:z_virtual_endstop
  95.  
  96. #[tmc2209 stepper_z]
  97. #uart_pin: PE0
  98. #uart_address: 1
  99. #run_current: 0.580
  100. #stealthchop_threshold: 999999
  101.  
  102. #[tmc2209 stepper_z1]
  103. #uart_pin: PA8
  104. #uart_address: 1
  105. #run_current: 0.580
  106. #stealthchop_threshold: 999999
  107.  
  108. [bltouch]
  109. sensor_pin: ^PC5
  110. control_pin: PB0
  111. x_offset: 40.5
  112. y_offset: 0
  113. samples: 3
  114. #z_offset: 0
  115.  
  116. [safe_z_home]
  117. home_xy_position: 75, 111.5
  118. z_hop: 10
  119. z_hop_speed: 50
  120.  
  121. [bed_mesh]
  122. speed: 200
  123. horizontal_move_z: 5
  124. mesh_min: 40.5, 11
  125. mesh_max: 178, 217.5
  126. probe_count: 7, 7
  127. algorithm: bicubic
  128. fade_start: 1
  129. fade_end: 10
  130. fade_target: 0
  131.  
  132.  
  133. [exclude_object]
  134.  
  135. [extruder]
  136. max_extrude_only_distance: 500
  137. max_extrude_cross_section: 5.5
  138. step_pin: PD4
  139. dir_pin: PD3
  140. enable_pin: !PD6
  141. microsteps: 16
  142. rotation_distance: 4.72873
  143. nozzle_diameter: 0.6
  144. filament_diameter: 1.750
  145. pressure_advance: 0.024
  146. pressure_advance_smooth_time: 0.03
  147. heater_pin: PA5
  148. sensor_pin: PA4
  149. sensor_type: Generic 3950
  150. control: pid
  151. pid_kd: 86.991
  152. pid_kp: 21.479
  153. pid_ki: 1.326
  154. min_temp: 0
  155. max_temp: 310
  156.  
  157. [tmc2209 extruder]
  158. uart_pin: PD5
  159. uart_address: 3
  160. run_current: 0.650
  161. stealthchop_threshold: 999999
  162.  
  163. [heater_bed]
  164. heater_pin: PA0
  165. sensor_pin: PA3
  166. sensor_type: EPCOS 100K B57560G104F
  167. control: pid
  168. pid_kp: 64.440
  169. pid_ki: 0.773
  170. pid_kd: 1343.571
  171. min_temp: 0
  172. max_temp: 130
  173.  
  174. [heater_fan heatbreak_cooling_fan]
  175. pin: PC7
  176.  
  177. [heater_fan controller_fan]
  178. pin: PB15
  179.  
  180. [fan]
  181. pin: PC6
  182.  
  183. [mcu]
  184. serial: /dev/serial/by-id/usb-Klipper_stm32f407xx_3B0035000647313530323136-if00
  185.  
  186. restart_method: command
  187.  
  188. [input_shaper]
  189. shaper_freq_x: 69.4
  190. shaper_freq_y: 50.8
  191. shaper_type_x: mzv
  192. shaper_type_y: ei
  193. damping_ratio_x: 0.1
  194. damping_ratio_y: 0.1
  195.  
  196. [printer]
  197. kinematics: cartesian
  198. max_velocity: 300
  199. max_accel: 3000
  200. max_z_velocity: 5
  201. max_z_accel: 100
  202.  
  203. #*# <---------------------- SAVE_CONFIG ---------------------->
  204. #*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
  205. #*#
  206. #*# [bed_mesh default]
  207. #*# version = 1
  208. #*# points =
  209. #*# 0.103333, -0.022500, 0.001667, -0.035000, -0.023333, 0.023333, -0.021667
  210. #*# 0.076667, 0.002500, 0.011667, 0.031667, 0.051667, 0.085833, 0.076667
  211. #*# 0.136667, 0.026667, 0.048333, 0.058333, 0.058333, 0.088333, 0.072500
  212. #*# 0.117500, 0.030000, 0.048333, 0.067500, 0.081667, 0.122500, 0.107500
  213. #*# 0.175833, 0.088333, 0.073333, 0.070000, 0.091667, 0.138333, 0.090000
  214. #*# 0.052500, -0.039167, 0.001667, 0.002500, 0.064167, 0.129167, 0.103333
  215. #*# 0.120000, 0.027500, 0.071667, 0.025833, 0.084167, 0.124167, 0.114167
  216. #*# x_count = 7
  217. #*# y_count = 7
  218. #*# mesh_x_pps = 2
  219. #*# mesh_y_pps = 2
  220. #*# algo = bicubic
  221. #*# tension = 0.2
  222. #*# min_x = 40.5
  223. #*# max_x = 177.96
  224. #*# min_y = 11.0
  225. #*# max_y = 217.46
  226. #*#
  227. #*# [bltouch]
  228. #*# z_offset = 1.690
  229.  
Advertisement
Add Comment
Please, Sign In to add comment