Advertisement
Guest User

Untitled

a guest
Oct 14th, 2019
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.69 KB | None | 0 0
  1. # This file contains common pin mappings for the 2018 Creality
  2. # Ender 3 (Pro) with an SKR mini e3 v1.2
  3.  
  4. # note that you need to set serial settings to avoid auto-restart:
  5. # stty -F /dev/serial/by-id/usb-Klipper_Klipper_firmware_12345-if00 -hupcl
  6.  
  7. [stepper_x]
  8. step_pin: PB13
  9. dir_pin: !PB12
  10. enable_pin: !PB14
  11. step_distance: .0125
  12. endstop_pin: ^PC0
  13. position_endstop: 0
  14. position_max: 235
  15. homing_speed: 20
  16.  
  17. [tmc2209 stepper_x]
  18. uart_pin: PB15
  19. microsteps: 16
  20. run_current: 0.580
  21. hold_current: 0.500
  22. stealthchop_threshold: 250
  23.  
  24. [stepper_y]
  25. step_pin: PB10
  26. dir_pin: !PB2
  27. enable_pin: !PB11
  28. step_distance: .0125
  29. endstop_pin: ^PC1
  30. position_endstop: 0
  31. position_max: 235
  32. homing_speed: 20
  33.  
  34. [tmc2209 stepper_y]
  35. uart_pin: PC6
  36. microsteps: 16
  37. run_current: 0.580
  38. hold_current: 0.500
  39. stealthchop_threshold: 250
  40.  
  41. [stepper_z]
  42. step_pin: PB0
  43. dir_pin: PC5
  44. enable_pin: !PB1
  45. step_distance: .0025
  46. position_max: 250
  47. endstop_pin: probe:z_virtual_endstop
  48.  
  49. [tmc2209 stepper_z]
  50. uart_pin: PC10
  51. microsteps: 16
  52. run_current: 0.580
  53. hold_current: 0.500
  54. stealthchop_threshold: 5
  55.  
  56. [probe]
  57. pin: !PC2
  58. x_offset: -46
  59. # The distance (in mm) between the probe and the nozzle along the
  60. # x-axis. The default is 0.
  61. y_offset: -11
  62. # The distance (in mm) between the probe and the nozzle along the
  63. # y-axis. The default is 0.
  64. # was 1.45 on perfect level
  65. z_offset: 1.45
  66. # The distance (in mm) between the bed and the nozzle when the probe
  67. # triggers. This parameter must be provided.
  68. samples: 3
  69. sample_retract_dist: 2.0
  70. speed: 1.0
  71.  
  72. [bed_mesh]
  73. speed: 100
  74. horizontal_move_z: 3
  75. probe_count: 3,3
  76. min_point: 73,49
  77. max_point: 220,230
  78.  
  79. [homing_override]
  80. set_position_z:6
  81. axes: z
  82. gcode:
  83. G90
  84. G0 Z10 F6000
  85. G28 X Y
  86. G0 X163 Y117 F6000
  87. G28 Z0
  88. G0 X10 Y0 Z0.5
  89.  
  90. [extruder]
  91. max_extrude_only_distance: 100.0
  92. step_pin: PB3
  93. dir_pin: !PB4
  94. enable_pin: !PD2
  95. step_distance: 0.010526
  96. nozzle_diameter: 0.400
  97. filament_diameter: 1.750
  98. heater_pin: PC8
  99. sensor_type: EPCOS 100K B57560G104F
  100. sensor_pin: PA0
  101. control: pid
  102. # tuned for stock hardware with 200 degree Celsius target
  103. pid_Kp: 21.527
  104. pid_Ki: 1.063
  105. pid_Kd: 108.982
  106. min_temp: 0
  107. max_temp: 250
  108. pressure_advance: 1.00
  109.  
  110. [tmc2209 extruder]
  111. uart_pin: PC11
  112. microsteps: 16
  113. run_current: 0.650
  114. hold_current: 0.500
  115. stealthchop_threshold: 5
  116.  
  117. [heater_bed]
  118. heater_pin: PC9
  119. sensor_type: EPCOS 100K B57560G104F
  120. sensor_pin: PC3
  121. control: pid
  122. # tuned for stock hardware with 50 degree Celsius target
  123. pid_Kp: 54.027
  124. pid_Ki: 0.770
  125. pid_Kd: 948.182
  126. min_temp: 0
  127. max_temp: 75
  128.  
  129. [fan]
  130. pin: PA8
  131.  
  132. [mcu]
  133. serial: /dev/serial/by-id/usb-Klipper_Klipper_firmware_12345-if00
  134.  
  135. [printer]
  136. kinematics: cartesian
  137. max_velocity: 300
  138. max_accel: 3000
  139. max_z_velocity: 5
  140. max_z_accel: 100
  141.  
  142. [static_digital_output usb_pullup_enable]
  143. pins: !PC13
  144.  
  145. [board_pins]
  146. aliases:
  147. # EXP1 header
  148. EXP1_1=PB5, EXP1_3=PA9, EXP1_5=PA10, EXP1_7=PB8, EXP1_9=<GND>,
  149. EXP1_2=PB6, EXP1_4=<RST>, EXP1_6=PB9, EXP1_8=PB7, EXP1_10=<5V>
  150.  
  151. [display]
  152. lcd_type: st7920
  153. cs_pin: EXP1_7
  154. sclk_pin: EXP1_6
  155. sid_pin: EXP1_8
  156. encoder_pins: ^EXP1_5, ^EXP1_3
  157. click_pin: ^!EXP1_2
  158.  
  159. [output_pin beeper]
  160. pin: EXP1_1
  161.  
  162. [gcode_macro M48]
  163. gcode:
  164. G0 Z5
  165. PROBE
  166. G0 Z5
  167. PROBE
  168. G0 Z5
  169. PROBE
  170. G0 Z5
  171. PROBE
  172. G0 Z5
  173. PROBE
  174. G0 Z20
  175.  
  176. [gcode_macro G29]
  177. gcode:
  178. G28
  179. BED_MESH_CALIBRATE
  180.  
  181. [bed_screws]
  182. screw1: 30,30
  183. screw2: 200,30
  184. screw3: 30,200
  185. screw4: 200,200
  186.  
  187. [menu __main]
  188. type: list
  189. name: Main Menu
  190. items:
  191. __tune
  192. __octoprint
  193. __control
  194. __temp
  195. __sdcard
  196. __filament
  197. __prepare
  198.  
  199. #[virtual_sdcard]
  200. #path: ~/.octoprint/uploads/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement