robathome

Klipper config for Geoff SP, 17-Oct-2020

Oct 17th, 2020 (edited)
1,038
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. [stepper_x]
  2. step_pin: PB13
  3. dir_pin: !PB12
  4. enable_pin: !PB14
  5. step_distance: 0.05
  6. endstop_pin: ^PC0
  7. position_endstop: 0
  8. position_max: 235
  9. homing_speed: 50
  10. homing_retract_dist: 5
  11. homing_retract_speed: 10
  12. second_homing_speed: 5
  13.  
  14. [tmc2209 stepper_x]
  15. uart_pin: PB15
  16. microsteps: 4
  17. run_current: 0.580
  18. hold_current: 0.200
  19. stealthchop_threshold: 250
  20.  
  21. [stepper_y]
  22. step_pin: PB10
  23. dir_pin: !PB2
  24. enable_pin: !PB11
  25. step_distance: 0.05
  26. endstop_pin: ^PC1
  27. position_endstop: 0
  28. position_max: 235
  29. homing_speed: 50
  30. homing_retract_dist: 5
  31. homing_retract_speed: 10
  32. second_homing_speed: 5
  33.  
  34. [tmc2209 stepper_y]
  35. uart_pin: PC6
  36. microsteps: 4
  37. run_current: 0.580
  38. hold_current: 0.200
  39. stealthchop_threshold: 250
  40.  
  41. [stepper_z]
  42. step_pin: PB0
  43. dir_pin: PC5
  44. enable_pin: !PB1
  45. step_distance: 0.0025
  46. endstop_pin: ^PC2
  47. position_endstop: 0.0
  48. position_max: 250
  49. homing_speed: 15
  50. homing_retract_dist: 5
  51. homing_retract_speed: 10
  52. second_homing_speed: 5
  53.  
  54. [tmc2209 stepper_z]
  55. uart_pin: PC10
  56. microsteps: 16
  57. run_current: 0.580
  58. hold_current: 0.500
  59. stealthchop_threshold: 20
  60. interpolation: False
  61.  
  62. [extruder]
  63. step_pin: PB3
  64. dir_pin: !PB4
  65. enable_pin: !PD2
  66. step_distance: 0.002259
  67. nozzle_diameter: 0.400
  68. filament_diameter: 1.72
  69. max_extrude_only_distance: 100.0
  70. max_extrude_cross_section: 4.0
  71. pressure_advance: 0
  72. pressure_advance_smooth_time: 0.04
  73. heater_pin: PC8
  74. sensor_type: EPCOS 100K B57560G104F
  75. sensor_pin: PA0
  76. control: pid
  77. # Rob's PID values:
  78. pid_Kp: 18.28
  79. pid_Ki: 1.28
  80. pid_Kd: 65.48
  81. #pid_Kp: 21.527
  82. #pid_Ki: 1.063
  83. #pid_Kd: 108.982
  84. min_temp: 0
  85. max_temp: 250
  86.  
  87. [tmc2209 extruder]
  88. uart_pin: PC11
  89. microsteps: 16
  90. run_current: 0.650
  91. hold_current: 0.500
  92. stealthchop_threshold: 0
  93. interpolation: False
  94.  
  95. [heater_bed]
  96. heater_pin: PC9
  97. sensor_type: ATC Semitec 104GT-2
  98. sensor_pin: PC3
  99. #control: pid
  100. #pid_Kp: 54.027
  101. #pid_Ki: 0.770
  102. #pid_Kd: 948.182
  103. control: watermark
  104. min_temp: 0
  105. max_temp: 130
  106.  
  107. [fan]
  108. pin: PA8
  109.  
  110. [mcu]
  111. serial: /dev/serial/by-id/usb-Klipper_stm32f103xe_31FFD7054242363123771657-if00
  112. baud: 250000
  113.  
  114. [printer]
  115. kinematics: cartesian
  116. max_velocity: 300
  117. max_accel: 2200
  118. max_z_velocity: 5
  119. max_z_accel: 100
  120. square_corner_velocity: 4
  121. max_accel_to_decel: 900
  122.  
  123. [static_digital_output usb_pullup_enable]
  124. pins: !PC13
  125.  
  126. [virtual_sdcard]
  127. path: ~/.octoprint/uploads
  128.  
  129. [firmware_retraction]
  130. retract_length: 1.0
  131. retract_speed: 40
  132. unretract_extra_length: 0.0
  133. unretract_speed: 30
  134.  
  135. [pause_resume]
  136. recover_velocity: 50
  137.  
  138. [board_pins]
  139. aliases:
  140.     # EXP1 header
  141.     EXP1_1=PB5, EXP1_3=PA9,   EXP1_5=PA10, EXP1_7=PB8, EXP1_9=<GND>,
  142.     EXP1_2=PB6, EXP1_4=<RST>, EXP1_6=PB9,  EXP1_8=PB7, EXP1_10=<5V>
  143.  
  144. [display]
  145. lcd_type: st7920
  146. cs_pin: EXP1_7
  147. sclk_pin: EXP1_6
  148. sid_pin: EXP1_8
  149. encoder_pins: ^EXP1_5, ^EXP1_3
  150. click_pin: ^!EXP1_2
  151. #kill_pin: ^!EXP2_8
  152.  
  153. [output_pin beeper]
  154. pin: EXP1_1
  155. pwm: True
  156. value: 0
  157. shutdown_value: 0
  158. cycle_time: 0.001
  159. scale: 1000
  160.  
  161. [gcode_macro M300]
  162. default_parameter_S: 1000
  163. default_parameter_P: 100
  164. gcode:
  165.     SET_PIN PIN=beeper VALUE={S}
  166.     G4 P{P}
  167.     SET_PIN PIN=beeper VALUE=0
  168.    
RAW Paste Data