HcNguyen111

CR-10S Pro V2 Klipper printer.cfg

Oct 26th, 2021 (edited)
1,178
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # This file contains pin mappings for the Creality CR-10S Pro V2. To use
  2. # this config, the firmware should be compiled for the AVR atmega2560.
  3.  
  4. [stepper_x]
  5. step_pin: PF0
  6. dir_pin: PF1
  7. enable_pin: !PD7
  8. rotation_distance: 40
  9. microsteps: 16
  10. full_steps_per_rotation: 200
  11. endstop_pin: ^PE5
  12. position_endstop: 0
  13. position_min: 0
  14. position_max: 320
  15. homing_speed: 50
  16. homing_retract_speed: 25
  17. homing_retract_dist: 5
  18. second_homing_speed: 10
  19.  
  20. [stepper_y]
  21. step_pin: PF6
  22. dir_pin: !PF7
  23. enable_pin: !PF2
  24. rotation_distance: 40
  25. microsteps: 16
  26. full_steps_per_rotation: 200
  27. endstop_pin: ^PJ1
  28. position_endstop: 0
  29. position_min: 0
  30. position_max: 310
  31. homing_speed: 50
  32. homing_retract_speed: 25
  33. homing_retract_dist: 5
  34. second_homing_speed: 10
  35.  
  36. [stepper_z]
  37. step_pin: PL3
  38. dir_pin: !PL1
  39. enable_pin: !PK0
  40. rotation_distance: 8
  41. microsteps: 16
  42. full_steps_per_rotation: 200
  43. endstop_pin: probe:z_virtual_endstop
  44. position_min: -1
  45. position_max: 376
  46.  
  47. [extruder]
  48. step_pin: PA4
  49. dir_pin: PA6
  50. enable_pin: !PA2
  51. rotation_distance: 22.900
  52. microsteps: 16
  53. full_steps_per_rotation: 200
  54. nozzle_diameter: 0.400
  55. filament_diameter: 1.750
  56. max_extrude_only_distance: 500.0
  57. max_extrude_only_velocity: 70.0
  58. max_extrude_only_accel: 1000.0
  59. heater_pin: PB4
  60. sensor_type: EPCOS 100K B57560G104F
  61. sensor_pin: PK5
  62. control = pid
  63. pid_kp = 27.723
  64. pid_ki = 1.593
  65. pid_kd = 120.595
  66. min_extrude_temp: 170
  67. min_temp: 5
  68. max_temp: 275
  69.  
  70. [heater_bed]
  71. heater_pin: PH5
  72. sensor_type: EPCOS 100K B57560G104F
  73. sensor_pin: PK6
  74. control = pid
  75. pid_kp = 68.539
  76. pid_ki = 1.163
  77. pid_kd = 1010.088
  78. min_temp: 5
  79. max_temp: 70 #140
  80.  
  81. [fan]
  82. pin: PH6
  83.  
  84. [mcu]
  85. serial: /dev/serial/by-id/usb-FTDI_FT232R_USB_UART_A10KK520-if00-port0
  86.  
  87. [printer]
  88. kinematics: cartesian
  89. max_velocity: 250 #200
  90. max_accel: 2000 #1800
  91. max_accel_to_decel: 1000 # half of max_accel
  92. max_z_velocity: 10.0
  93. max_z_accel: 100
  94. square_corner_velocity: 3.0
  95.  
  96. [input_shaper]
  97. shaper_freq_x: 31.5
  98. shaper_freq_y: 34.0
  99. shaper_type: mzv
  100.  
  101. [bltouch]
  102. sensor_pin: ^PD2
  103. control_pin: PB5
  104. stow_on_each_sample: False
  105. probe_with_touch_mode: True
  106. x_offset: -27
  107. y_offset: -2
  108. #z_offset: 2.09
  109. speed: 4.0
  110. samples: 2
  111. sample_retract_dist: 4.0
  112.  
  113. [safe_z_home]
  114. home_xy_position: 177, 152
  115. speed: 80.0
  116. z_hop: 10.0
  117. z_hop_speed: 5.0
  118.  
  119. [bed_mesh]
  120. speed: 180
  121. horizontal_move_z: 4.0
  122. mesh_min: 5, 5
  123. mesh_max: 288, 303
  124. probe_count: 6
  125. mesh_pps: 4, 4
  126. fade_start: 1
  127. fade_end: 10
  128.  
  129. [bed_screws]
  130. screw1: 56, 38
  131. screw2: 307, 38
  132. screw3: 56, 279
  133. screw4: 307, 279
  134. horizontal_move_z: 5.0
  135. probe_height: 0.2
  136. speed: 80.0
  137. probe_speed: 3.2
  138.  
  139. [screws_tilt_adjust]
  140. screw1: 56, 38 #29, 36
  141. screw1_name: front left screw
  142. screw2: 307, 38 #280, 36
  143. screw2_name: front right screw
  144. screw3: 56, 279 #29, 277
  145. screw3_name: rear right screw
  146. screw4: 307, 279 #280, 277
  147. screw4_name: rear left screw
  148. horizontal_move_z: 5.0
  149. speed: 50.0
  150. screw_thread: CW-M4
  151.  
  152. [filament_switch_sensor e0_sensor]
  153. switch_pin: PE4
  154. pause_on_runout: False
  155. runout_gcode:
  156.   PAUSE_PARK
  157.  
  158. [temperature_sensor raspberry_pi]
  159. sensor_type: temperature_host
  160.  
  161. [dgus_display]
  162. type: t5uid1
  163. uart_bus: usart2
  164. implementation: dgus_printer_menu
  165. #brightness: 15
  166. #volume: 20
  167.  
  168. [pause_resume]
  169.  
  170. [display_status]
  171.  
  172. [virtual_sdcard]
  173. path: ~/gcode_files
  174.  
  175. # https://github.com/Desuuuu/klipper-macros
  176. # If you want to use these macros, follow the instructions from the repository
  177. # and uncomment the following lines.
  178.  
  179. [include macros/*.cfg]
  180.  
  181. [save_variables]
  182. filename: ~/klipper_config/variables.cfg
  183.  
  184. [delayed_gcode macros_initialize]
  185. initial_duration: 1
  186. gcode:
  187.   INITIALIZE_VARIABLE VARIABLE=park_x VALUE=20
  188.   INITIALIZE_VARIABLE VARIABLE=park_y VALUE=150
  189.   INITIALIZE_VARIABLE VARIABLE=bowden_len VALUE=400
Add Comment
Please, Sign In to add comment