Advertisement
robathome

Klipper config 16-Aug-2019

Aug 16th, 2019
290
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.63 KB | None | 0 0
  1. ##########################
  2. ## Motion configuration ##
  3. ##########################
  4.  
  5. [stepper_x]
  6. step_pin: P2.2
  7. dir_pin: !P2.6
  8. enable_pin: !P2.1
  9. step_distance: .05
  10. endstop_pin: !P1.29
  11. position_endstop: 0
  12. position_max: 230
  13. homing_speed: 30
  14. homing_retract_dist: 2.5
  15. second_homing_speed: 10
  16.  
  17. [stepper_y]
  18. step_pin: P0.19
  19. dir_pin: P0.20
  20. enable_pin: !P2.8
  21. step_distance: .05
  22. endstop_pin: !P1.26
  23. position_endstop: 190
  24. position_min: 0
  25. position_max: 190
  26. homing_speed: 30
  27. homing_retract_dist: 2.5
  28. second_homing_speed: 10
  29.  
  30. [stepper_z]
  31. step_pin: P0.22
  32. dir_pin:!P2.11
  33. enable_pin: !P0.21
  34. step_distance: .01
  35. endstop_pin: !P1.25
  36. position_endstop: -0.6
  37. position_max: 235
  38. position_min: -2
  39. homing_speed: 5
  40. homing_retract_dist: 2.5
  41. second_homing_speed: 5
  42.  
  43. ###########################
  44. ## TMC2208 configuration ##
  45. ###########################
  46.  
  47. [tmc2208 stepper_x]
  48. uart_pin: P1.17
  49. microsteps: 4
  50. interpolate: True
  51. run_current: 0.800
  52. hold_current: 0.500
  53. stealthchop_threshold: 2000
  54.  
  55. [tmc2208 stepper_y]
  56. uart_pin: P1.15
  57. microsteps: 4
  58. interpolate: True
  59. run_current: 0.850
  60. hold_current: 0.500
  61. stealthchop_threshold: 250
  62.  
  63. [tmc2208 stepper_z]
  64. uart_pin: P1.10
  65. microsteps: 4
  66. interpolate: True
  67. run_current: 0.650
  68. hold_current: 0.450
  69. stealthchop_threshold: 30
  70.  
  71. [tmc2208 extruder]
  72. uart_pin: P1.8
  73. microsteps: 4
  74. interpolate: False
  75. run_current: 0.6
  76. hold_current: 0.3
  77. stealthchop_threshold: 5
  78.  
  79. ############################
  80. ## Extruder configuration ##
  81. ############################
  82.  
  83. [extruder]
  84. step_pin: P2.13
  85. dir_pin: !P0.11
  86. enable_pin: !P2.12
  87. step_distance: 0.03477
  88. nozzle_diameter: 0.4
  89. filament_diameter: 1.7
  90. #max_extrude_cross_section: 2.0
  91. heater_pin: P2.7
  92. max_power: 1.00
  93. smooth_time: 1.0
  94. sensor_type: EPCOS 100K B57560G104F
  95. sensor_pin: P0.24
  96. pressure_advance: 0.05
  97. pressure_advance_lookahead_time: 0.01
  98. control: pid
  99. pid_Kp: 18.28
  100. pid_Ki: 1.28
  101. pid_Kd: 65.48
  102. min_temp: -5
  103. max_temp: 280
  104.  
  105. [heater_bed]
  106. heater_pin: P2.5
  107. sensor_type: EPCOS 100K B57560G104F
  108. sensor_pin: P0.23
  109. control: pid
  110. pid_Kp: 54.027
  111. pid_Ki: 0.770
  112. pid_Kd: 948.182
  113. min_temp: 0
  114. max_temp: 130
  115.  
  116. ##############################
  117. ## Peripheral configuration ##
  118. ##############################
  119.  
  120. [fan]
  121. pin: P2.3
  122. max_power: 1.0
  123. #cycle_time: 0.05
  124. #kick_start_time: 0.1
  125.  
  126. [mcu]
  127. serial: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.3:1.0
  128. baud: 250000
  129.  
  130. [printer]
  131. kinematics: cartesian
  132. max_velocity: 250
  133. max_accel: 4000
  134. max_accel_to_decel: 2000
  135. square_corner_velocity: 4
  136. max_z_velocity: 60
  137. max_z_accel: 2000
  138.  
  139. [homing_override]
  140. set_position_z: 5
  141. gcode: G1 Z10 F500
  142. G28
  143. G1 Z10 F500
  144. axes: z
  145.  
  146. [virtual_sdcard]
  147. path: ~/.octoprint/uploads/
  148.  
  149. [force_move]
  150. enable_force_move: True
  151.  
  152. [display]
  153. lcd_type: st7920
  154. cs_pin: P1.19
  155. sclk_pin: P1.21
  156. sid_pin: P1.23
  157. encoder_pins: ^P1.18, ^P1.20
  158. click_pin: !P0.28
  159.  
  160. [output_pin beeper]
  161. pin: P1.30
  162.  
  163. [pause_resume]
  164. recover_velocity: 30
  165.  
  166. [firmware_retraction]
  167. retract_length: 4
  168. retract_speed: 25
  169. unretract_extra_length: 0
  170. unretract_speed: 40
  171.  
  172. ###############################
  173. ## Waiting to be implemented ##
  174. ###############################
  175.  
  176. #[tsl1401cl_filament_width_sensor]
  177. #pin: analog5
  178. #default_nominal_filament_diameter: 1.75
  179. #max_difference: 0.2
  180. #measurement_delay: 100
  181.  
  182. #[neopixel my_neopixel]
  183. #Use: "SET_NEOPIXEL NEOPIXEL=my_neopixel RED=0.1 GREEN=0.1 BLUE=0.1"
  184. #pin: ?
  185.  
  186. #[gcode_macro M600]
  187. #default_parameter_X: 50
  188. #default_parameter_Y: 0
  189. #default_parameter_Z: 10
  190. #gcode:
  191. # SAVE_GCODE_STATE NAME=M600_state
  192. # PAUSE
  193. # G91
  194. # G1 E-1 F2700
  195. # G1 Z{Z}
  196. # G90
  197. # G1 X{X} Y{Y} F3000
  198. # G91
  199. # G1 E-50 F1000
  200. # RESTORE_GCODE_STATE NAME=M600_state
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement