Advertisement
mentaluproar

no display and steppers only move in one direction

Apr 24th, 2018
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.49 KB | None | 0 0
  1. # This file serves as documentation for config parameters of delta
  2. # style printers. One may copy and edit this file to configure a new
  3. # delta printer. Only parameters unique to delta printers are
  4. # described here - see the "example.cfg" file for description of
  5. # common config parameters.
  6.  
  7. # DO NOT COPY THIS FILE WITHOUT CAREFULLY READING AND UPDATING IT
  8. # FIRST. Incorrectly configured parameters may cause damage.
  9.  
  10. [driver tmc2130_a]
  11. type: TMC2130
  12. # SPI
  13. ss_pin: ar4
  14. spi_mode: 3
  15. spi_speed: 4000000
  16. # config
  17. current: 800.0
  18. microsteps: 32
  19. mode : stealthChop
  20. diag0_out: temp_prewarn
  21. diag1_out: stall
  22. diag0_active_high: 1
  23. diag1_active_high: 1
  24. interpolate: 1
  25. sensor_less_homing: 1
  26. stealth_max_speed: 40
  27. stall_threshold: 19
  28.  
  29. [driver tmc2130_b]
  30. type: TMC2130
  31. # SPI
  32. ss_pin: ar5
  33. spi_mode: 3
  34. spi_speed: 4000000
  35. # config
  36. current: 800.0
  37. microsteps: 32
  38. mode : stealthChop
  39. diag0_out: temp_prewarn
  40. diag1_out: stall
  41. diag0_active_high: 1
  42. diag1_active_high: 1
  43. interpolate: 1
  44. sensor_less_homing: 1
  45. stealth_max_speed: 40
  46. stall_threshold: 19
  47.  
  48. [driver tmc2130_c]
  49. type: TMC2130
  50. # SPI
  51. ss_pin: ar6
  52. spi_mode: 3
  53. spi_speed: 4000000
  54. # config
  55. current: 800.0
  56. microsteps: 32
  57. mode : stealthChop
  58. diag0_out: temp_prewarn
  59. diag1_out: stall
  60. diag0_active_high: 1
  61. diag1_active_high: 1
  62. interpolate: 1
  63. sensor_less_homing: 1
  64. stealth_max_speed: 40
  65. stall_threshold: 19
  66.  
  67. [driver tmc2130_e0]
  68. type: TMC2130
  69. # SPI
  70. ss_pin: ar11
  71. spi_mode: 3
  72. spi_speed: 4000000
  73. # config
  74. current: 800.0
  75. microsteps: 32
  76. mode: spreadCycle
  77. diag0_out: temp_prewarn
  78. diag1_out: stall
  79. diag0_active_high: 1
  80. diag1_active_high: 1
  81. interpolate: 1
  82.  
  83. # The stepper_a section describes the stepper controlling the front
  84. # left tower (at 210 degrees). This section also controls the homing
  85. # parameters (homing_speed, homing_retract_dist) for all towers.
  86. [stepper_a]
  87. step_pin: ar54
  88. dir_pin: !ar55
  89. enable_pin: !ar38
  90. endstop_pin: ^ar2
  91. steps_per_mm: 800
  92. position_endstop: 276.3
  93. #position_min: 0
  94. #position_max: 200
  95. homing_retract_dist:0
  96. homing_offset: 0
  97. homing_speed: 50
  98. homing_direction: max
  99. driver: tmc2130_a
  100. arm_length: 267.06
  101.  
  102. # The stepper_b section describes the stepper controlling the front
  103. # right tower (at 330 degrees).
  104. [stepper_b]
  105. step_pin: ar60
  106. dir_pin: !ar61
  107. enable_pin: !ar56
  108. endstop_pin: ^ar15
  109. steps_per_mm: 800
  110. position_endstop: 276.3
  111. #position_min: 0
  112. #position_max: 200
  113. homing_retract_dist:0
  114. homing_offset: 0
  115. homing_speed: 50
  116. homing_direction: max
  117. driver: tmc2130_b
  118. arm_length: 267.06
  119.  
  120. # The stepper_c section describes the stepper controlling the rear
  121. # tower (at 90 degrees).
  122. [stepper_c]
  123. step_pin: ar46
  124. dir_pin: !ar48
  125. enable_pin: !ar62
  126. endstop_pin: ^ar19
  127. steps_per_mm: 800
  128. position_endstop: 276.3
  129. #position_min: 0
  130. #position_max: 200
  131. homing_retract_dist:0
  132. homing_offset: 0
  133. homing_speed: 50
  134. homing_direction: max
  135. driver: tmc2130_c
  136. arm_length: 267.06
  137.  
  138. ########################################
  139. [extruder0]
  140. step_pin: ar26
  141. dir_pin: !ar28
  142. enable_pin: !ar24
  143. steps_per_mm: 800
  144. nozzle_diameter: 0.400
  145. filament_diameter: 1.750
  146. heater: heater 0
  147. driver: tmc2130_e0
  148.  
  149. ########################################
  150. [sensor hotend_ntc]
  151. sensor_type: ATC Semitec 104GT-2
  152. sensor_pin: analog13
  153. min_temp: 0
  154. max_temp: 300
  155.  
  156. [sensor bed_ntc]
  157. sensor_type: ATC Semitec 104GT-2
  158. sensor_pin: analog14
  159. min_temp: 0
  160. max_temp: 120
  161.  
  162. ########################################
  163. [heater 0]
  164. sensor: hotend_ntc
  165. heater_pin: ar7
  166. control: pid
  167. pid_Kp: 29.255929
  168. pid_Ki: 1.523746
  169. pid_Kd: 140.428458
  170. #*** Thermal protection
  171. protect_period_heat: 20
  172. protect_hysteresis_heat: 2
  173. protect_period: 10
  174. protect_hysteresis_runaway: 10
  175.  
  176. [heater bed]
  177. sensor: bed_ntc
  178. heater_pin: ar8
  179. control: pid
  180. pid_Kp: 72.152
  181. pid_Ki: 0.702
  182. pid_Kd: 1853.401
  183. #*** Thermal protection
  184. protect_period_heat: 20
  185. protect_hysteresis_heat: 4
  186. protect_period: 10
  187. protect_hysteresis_runaway: 10
  188.  
  189. [fan 0]
  190. pin: ar9
  191.  
  192. [heater_fan]
  193. pin: ar44
  194.  
  195. [mcu]
  196. serial: /dev/serial/by-id/usb-Silicon_Labs_CP2102_USB_to_UART_Bridge_Controller_0001-if00-port0
  197. baud: 250000
  198. pin_map: arduino
  199. restart_method: command
  200.  
  201. # Panel buttons
  202. [buttons]
  203. pins =^!ar31,^!ar33,^!ar35,^!ar41
  204.  
  205. # Reprap "2004" display
  206. [lcd_hd44780]
  207. rs_pin: ar16
  208. e_pin: ar17
  209. d4_pin: ar23
  210. d5_pin: ar25
  211. d6_pin: ar27
  212. d7_pin: ar29
  213.  
  214. [printer]
  215. kinematics: delta
  216. max_velocity: 500
  217. max_accel: 3000
  218. max_z_velocity: 150
  219. delta_arm_length: 267.06
  220. delta_radius: 134
  221. motor_off_time: 600
  222. require_home_after_motor_off: false
  223. allow_move_without_home: true
  224. ;sw_limit_check_enabled: false
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement