Advertisement
Guest User

printer.cfg

a guest
Mar 25th, 2022
195
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.04 KB | None | 0 0
  1. # This file contains pin mappings for the stock 2020 Creality Ender 3
  2. # V2. To use this config, during "make menuconfig" select the
  3. # STM32F103 with a "28KiB bootloader" and serial (on USART1 PA10/PA9)
  4. # communication.
  5.  
  6. # If you prefer a direct serial connection, in "make menuconfig"
  7. # select "Enable extra low-level configuration options" and select
  8. # serial (on USART3 PB11/PB10), which is broken out on the 10 pin IDC
  9. # cable used for the LCD module as follows:
  10. # 3: Tx, 4: Rx, 9: GND, 10: VCC
  11.  
  12. # Flash this firmware by copying "out/klipper.bin" to a SD card and
  13. # turning on the printer with the card inserted. The firmware
  14. # filename must end in ".bin" and must not match the last filename
  15. # that was flashed.
  16.  
  17. # See docs/Config_Reference.md for a description of parameters.
  18.  
  19. [stepper_x]
  20. step_pin: PC2
  21. dir_pin: !PB9
  22. enable_pin: !PC3
  23. microsteps: 16
  24. rotation_distance: 40
  25. endstop_pin: ^PA5
  26. position_endstop: 220
  27. position_max: 220
  28. position_min: 0
  29. homing_speed: 40
  30. homing_positive_dir: true
  31.  
  32. [stepper_y]
  33. step_pin: PB8
  34. dir_pin: !PB7
  35. enable_pin: !PC3
  36. microsteps: 16
  37. rotation_distance: 40
  38. endstop_pin: ^PA6
  39. position_endstop: 0
  40. position_max: 220
  41. position_min: 0
  42. homing_speed: 40
  43. homing_positive_dir: false
  44.  
  45. [stepper_z]
  46. step_pin: PB6
  47. dir_pin: !PB5
  48. enable_pin: !PC3
  49. microsteps: 16
  50. rotation_distance: 40
  51. endstop_pin: probe:z_virtual_endstop
  52. position_max: 220
  53. homing_speed: 40
  54. position_min:-8
  55.  
  56. [homing_override]
  57. axes: z
  58. set_position_z: 0
  59. gcode:
  60. G90
  61. G0 Z5 F500
  62. G28 X0 Y0
  63. G0 X110 Y110 F9000
  64. G28 Z0
  65. G0 Z5 F500
  66.  
  67.  
  68. [extruder]
  69. max_extrude_only_distance: 150.0
  70. step_pin: PB4
  71. dir_pin: PB3
  72. enable_pin: !PC3
  73. microsteps: 16
  74. rotation_distance: 34.37086
  75. gear_ratio: 7.5:1
  76. full_steps_per_rotation: 200
  77. nozzle_diameter: 0.400
  78. filament_diameter: 1.750
  79. heater_pin: PA1
  80. sensor_type: EPCOS 100K B57560G104F
  81. sensor_pin: PC5
  82. control: pid
  83. # tuned for stock hardware with 200 degree Celsius target
  84. pid_Kp: 21.527
  85. pid_Ki: 1.063
  86. pid_Kd: 108.982
  87. min_temp: 10
  88. max_temp: 260
  89. min_extrude_temp: 10
  90.  
  91. [heater_bed]
  92. heater_pin: PA2
  93. sensor_type: EPCOS 100K B57560G104F
  94. sensor_pin: PC4
  95. control: pid
  96. # tuned for stock hardware with 50 degree Celsius target
  97. pid_Kp: 54.027
  98. pid_Ki: 0.770
  99. pid_Kd: 948.182
  100. min_temp: 0
  101. max_temp: 130
  102.  
  103. [fan]
  104. pin: PA0
  105.  
  106. [mcu]
  107. serial: /dev/serial/by-id/usb-1a86_USB_Serial-if00-port0
  108. restart_method: command
  109.  
  110. [printer]
  111. kinematics: corexz
  112. max_velocity: 200
  113. max_accel: 2000
  114. max_accel_to_decel: 1000
  115. max_z_velocity: 50
  116. max_z_accel: 1000
  117. square_corner_velocity: 4.0
  118.  
  119. [pause_resume]
  120. recover_velocity: 50
  121.  
  122. [probe]
  123. pin: ^PB1
  124. x_offset: 0.0
  125. y_offset: 25.0
  126. z_offset: 1.85
  127. speed: 40
  128.  
  129. [bed_mesh]
  130. speed: 120
  131. horizontal_move_z: 5
  132. mesh_min: 15, 25
  133. mesh_max: 202, 205
  134. probe_count: 5,5
  135. mesh_pps: 2,3
  136. algorithm: bicubic
  137.  
  138. [screws_tilt_adjust]
  139. screw1: 78,40
  140. screw1_name: front left screw
  141. screw2: 250,40
  142. screw2_name: front right screw
  143. screw3: 250,205
  144. screw3_name: rear right screw
  145. screw4: 78,205
  146. screw4_name: rear left screw
  147. horizontal_move_z: 10
  148. speed: 50
  149. screw_thread: CW-M4
  150.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement