Tamerz

printer.cfg

Feb 27th, 2024
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.13 KB | None | 0 0
  1. # This file contains common pin mappings for the BIGTREETECH SKR mini
  2. # E3 v3.0. To use this config, the firmware should be compiled for the
  3. # STM32G0B1 with a "8KiB bootloader" and USB communication.
  4.  
  5. # The "make flash" command does not work on the SKR mini E3. Instead,
  6. # after running "make", copy the generated "out/klipper.bin" file to a
  7. # file named "firmware.bin" on an SD card and then restart the SKR
  8. # mini E3 with that SD card.
  9.  
  10. # See docs/Config_Reference.md for a description of parameters.
  11.  
  12. [include mainsail.cfg]
  13.  
  14. [stepper_x]
  15. step_pin: PB13
  16. dir_pin: !PB12
  17. enable_pin: !PB14
  18. microsteps: 16
  19. rotation_distance: 40
  20. endstop_pin: ^PC0
  21. position_endstop: 0
  22. position_min: 0
  23. position_max: 217 # Higher hits gantry
  24. homing_speed: 50
  25.  
  26. [tmc2209 stepper_x]
  27. uart_pin: PC11
  28. tx_pin: PC10
  29. uart_address: 0
  30. run_current: 0.580
  31. stealthchop_threshold: 999999
  32.  
  33. [stepper_y]
  34. step_pin: PB10
  35. dir_pin: !PB2
  36. enable_pin: !PB11
  37. microsteps: 16
  38. rotation_distance: 40
  39. endstop_pin: ^PC1
  40. position_endstop: -9
  41. position_max: 238
  42. position_min: -13
  43. homing_speed: 50
  44.  
  45. [tmc2209 stepper_y]
  46. uart_pin: PC11
  47. tx_pin: PC10
  48. uart_address: 2
  49. run_current: 0.580
  50. stealthchop_threshold: 999999
  51.  
  52. [stepper_z]
  53. step_pin: PB0
  54. dir_pin: PC5
  55. enable_pin: !PB1
  56. microsteps: 16
  57. rotation_distance: 8
  58. endstop_pin: probe:z_virtual_endstop
  59. position_max: 250
  60. position_min: -5
  61.  
  62. [tmc2209 stepper_z]
  63. uart_pin: PC11
  64. tx_pin: PC10
  65. uart_address: 1
  66. run_current: 0.580
  67. stealthchop_threshold: 999999
  68.  
  69. [extruder]
  70. step_pin: PB3
  71. dir_pin: !PB4
  72. enable_pin: !PD1
  73. microsteps: 16
  74. gear_ratio: 42:12
  75. rotation_distance: 25.359
  76. nozzle_diameter: 0.400
  77. filament_diameter: 1.750
  78. heater_pin: PC8
  79. sensor_type: EPCOS 100K B57560G104F
  80. sensor_pin: PA0
  81. control: pid
  82. pid_Kp: 23.561
  83. pid_Ki: 1.208
  84. pid_Kd: 114.859
  85. min_temp: 0
  86. max_temp: 300
  87.  
  88. [tmc2209 extruder]
  89. uart_pin: PC11
  90. tx_pin: PC10
  91. uart_address: 3
  92. run_current: 0.650
  93. stealthchop_threshold: 999999
  94.  
  95. [heater_bed]
  96. heater_pin: PC9
  97. sensor_type: ATC Semitec 104GT-2
  98. sensor_pin: PC4
  99. control: pid
  100. pid_Kp: 54.027
  101. pid_Ki: 0.770
  102. pid_Kd: 948.182
  103. min_temp: 0
  104. max_temp: 130
  105.  
  106. [heater_fan heatbreak_cooling_fan]
  107. pin: PC7
  108.  
  109. [heater_fan controller_fan]
  110. pin: PB15
  111.  
  112. [fan]
  113. pin: PC6
  114.  
  115. [mcu]
  116. serial: /dev/serial/by-id/usb-Klipper_stm32g0b1xx_3D0046001350415833323520-if00
  117.  
  118. [printer]
  119. kinematics: cartesian
  120. max_velocity: 300
  121. max_accel: 2000
  122. max_z_velocity: 5
  123. max_z_accel: 100
  124.  
  125. [safe_z_home]
  126. home_xy_position: 103,118 # Nozzle coordinates
  127. speed: 75
  128. z_hop: 10
  129. z_hop_speed: 5
  130. # move_to_previous: true
  131.  
  132. [display]
  133. lcd_type: st7920
  134. cs_pin: PB8
  135. sclk_pin: PB9
  136. sid_pin: PD6
  137. encoder_pins: ^PA10, ^PA9
  138. click_pin: ^!PA15
  139.  
  140. [bltouch]
  141. sensor_pin: ^PC14
  142. control_pin: PA1
  143. x_offset: -31.8
  144. y_offset: -40.5
  145. z_offset: 3.3
  146. probe_with_touch_mode: true
  147. stow_on_each_sample: false
  148.  
  149. [bed_mesh]
  150. speed: 120
  151. mesh_min: 20, 30
  152. mesh_max: 178,186
  153. probe_count: 4,4
  154. algorithm: bicubic
  155.  
  156.  
  157. [board_pins]
  158. aliases:
  159. # EXP1 header
  160. EXP1_1=PB5, EXP1_3=PA9, EXP1_5=PA10, EXP1_7=PB8, EXP1_9=<GND>,
  161. EXP1_2=PA15, EXP1_4=<RST>, EXP1_6=PB9, EXP1_8=PD6, EXP1_10=<5V>
  162.  
  163. # See the sample-lcd.cfg file for definitions of common LCD displays.
  164.  
Add Comment
Please, Sign In to add comment