Advertisement
silver2row

printer.cfg Recore

Apr 28th, 2022
1,181
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 5.10 KB | None | 0 0
  1. # Recore_1403 config
  2.  
  3. [recore]
  4. revision: A5      # Should I put A6 here?
  5.  
  6. gain_t0: 1
  7. gain_t1: 1
  8. gain_t2: 1
  9. gain_t3: 1
  10. pullup_t0: 1
  11. pullup_t1: 1
  12. pullup_t2: 1
  13. pullup_t3: 1
  14. #offset_t0: 0    # The software will not allow me to use the offset_t0 - offset_t3.
  15. #offset_t1: 0
  16. #offset_t2: 0
  17. #offset_t3: 0
  18.  
  19. # The STM32F031 mcu
  20. [mcu]
  21. serial: /dev/ttyS4
  22. baud: 250000
  23. restart_method: command
  24.  
  25. # The AR100 mcu
  26. [mcu ar100]
  27. serial: /dev/ttyS1
  28. baud: 1500000
  29.  
  30. #[static_digital_output endstops_5V_enable]       # The software says no to this idea on the OctoPrint GUI.
  31. #pins: ar100:PG11, ar100:PG8
  32.  
  33. # pin high = 12V, pin low = 5V
  34. [static_digital_output endstop_ES0_5V_12V]
  35. pins: ar100:PG11, ar100:PG8
  36.  
  37. #[static_digital_output temperature_5V_enable]    # The software will not allow me to use this either.
  38. #pins: ar100:PF1
  39.  
  40. #[static_digital_output over_current_alarm]       # Cannot use this either
  41. #pins: !ar100:PG1
  42.  
  43. [static_digital_output user_led_enable]
  44. pins: PA12
  45.  
  46. #[static_digital_output enable_high_power]        # Cannot use this either
  47. #pins: !ar100:PG2
  48.  
  49. #[static_digital_output thermistor_pullups]       # I do not have a heated bed
  50. #pins: ar100:PD6, ar100:PD24, ar100:PF1
  51.  
  52. # Load "thermocouple" sensor
  53. #[thermocouple]                                   # I commented this out to see what would happen...
  54.  
  55. [printer]
  56. kinematics: cartesian
  57. max_velocity: 500
  58. max_accel: 3000
  59. max_z_velocity: 25
  60. max_z_accel: 30
  61.  
  62. [tmc2209 stepper_x]
  63. uart_pin: ar100:PB1
  64. tx_pin: ar100:PB0
  65. uart_address: 0
  66. run_current: 0.700                                # It could be run_current: 0.500 creating more issues like w/ the version 3.0.2 software of Refactor
  67. hold_current: 0.500
  68. stealthchop_threshold: 250
  69. driver_internal_rsense: 1
  70. ref_resistor: 6800
  71.  
  72. [tmc2209 stepper_y]
  73. uart_pin: ar100:PB1
  74. tx_pin: ar100:PB0
  75. uart_address: 1
  76. run_current: 0.700
  77. hold_current: 0.500
  78. stealthchop_threshold: 250
  79. driver_internal_rsense: 1
  80. ref_resistor: 6800
  81.  
  82. [tmc2209 stepper_z]
  83. uart_pin: ar100:PB1
  84. tx_pin: ar100:PB0
  85. uart_address: 2
  86. run_current: 0.700
  87. hold_current: 0.500
  88. stealthchop_threshold: 250
  89. driver_internal_rsense: 1
  90. ref_resistor: 6800
  91.  
  92. [tmc2209 extruder]
  93. uart_pin: ar100:PB1
  94. tx_pin: ar100:PB0
  95. uart_address: 3
  96. run_current: 0.700
  97. hold_current: 0.500
  98. stealthchop_threshold: 250
  99. driver_internal_rsense: 1
  100. ref_resistor: 6800
  101.  
  102. [stepper_x]
  103. step_pin: ar100:PL4
  104. dir_pin: ar100:PE8
  105. endstop_pin: ar100:PH5
  106. rotation_distance: 40
  107. microsteps: 16
  108. position_endstop: 0
  109. position_max: 152.0
  110. homing_speed: 15.0
  111.  
  112. [stepper_y]
  113. step_pin: ar100:PL5
  114. dir_pin: ar100:PE9
  115. endstop_pin: ar100:PH6
  116. rotation_distance: 40
  117. microsteps: 16
  118. position_endstop: 0
  119. position_max: 152.0
  120. homing_speed: 15.0
  121.  
  122. # probe
  123. [probe]
  124. pin: ar100:PH4
  125. z_offset: 0.20
  126. x_offset: 0.0
  127. y_offset: 0.0
  128.  
  129. [stepper_z]
  130. step_pin: ar100:PL6
  131. dir_pin: !ar100:PE10
  132. endstop_pin: probe:z_virtual_endstop
  133. #endstop_pin: !ar100:PH6
  134. rotation_distance: 40
  135. microsteps: 16
  136. #position_endstop: 0
  137. position_max: 152.0
  138. homing_speed: 6.0
  139.  
  140. [extruder]
  141. step_pin: ar100:PL7
  142. dir_pin: ar100:PE11
  143. heater_pin: PA9
  144. sensor_type: EPCOS 100K B57560G104F
  145. sensor_pin: PA1
  146. rotation_distance: 40
  147. microsteps: 16
  148. nozzle_diameter: 0.400
  149. filament_diameter: 1.75
  150. control: pid
  151. pid_Kp: 22.2
  152. pid_Ki: 1.08
  153. pid_Kd: 114
  154. min_extrude_temp: 30
  155. min_temp: 0
  156. max_temp: 300
  157.  
  158.  
  159. #[extruder1]
  160. #step_pin: ar100:PL8
  161. #dir_pin: ar100:PE12
  162. #rotation_distance: 40
  163. #microsteps: 16
  164. #nozzle_diameter: 0.400
  165. #filament_diameter: 1.75
  166. #heater_pin: PA9
  167. #sensor_pin: PA1
  168. #sensor_type: RECORE PT1000
  169. #control: pid
  170. #pid_Kp: 22.2
  171. #pid_Ki: 1.08
  172. #pid_Kd: 114
  173. #min_temp: 0
  174. #max_temp: 300
  175.  
  176. #[extruder2]
  177. #step_pin: ar100:PL9
  178. #dir_pin: ar100:PE13
  179. #rotation_distance: 40
  180. #microsteps: 16
  181. #nozzle_diameter: 0.400
  182. #filament_diameter: 1.75
  183. #heater_pin: PA10
  184. #sensor_pin: PA2
  185. #sensor_type: PT100 INA826
  186. #adc_voltage: 3.27
  187. #control: pid
  188. #pid_Kp: 22.2
  189. #pid_Ki: 1.08
  190. #pid_Kd: 114
  191. #min_temp: 0
  192. #max_temp: 300
  193.  
  194. #[heater_bed]
  195. #heater_pin: PA11
  196. #sensor_type: EPCOS 100K B57560G104F
  197. #sensor_pin: PA3
  198. #control: watermark
  199. #min_temp: 0
  200. #max_temp: 300
  201.  
  202. [fan]
  203. pin: PB0                                               # This has the same pin assignment as the [tmc2209 stepper_x] UART
  204.  
  205. #[output_pin fan1]
  206. #pin: PB1
  207.  
  208. #[output_pin fan2]
  209. #pin: PB5
  210.  
  211. #[output_pin fan3]
  212. #pin: PB4
  213.  
  214. # Set up board voltage, current, temperature.
  215.  
  216. [temperature_sensor board]
  217. sensor_type: EPCOS 100K B57560G104F
  218. sensor_pin: PA6
  219. max_temp: 110
  220. gcode_id: Board
  221.  
  222. [temperature_sensor cold_junction]
  223. sensor_type: EPCOS 100K B57560G104F
  224. sensor_pin: PA7
  225. gcode_id: CJ
  226.  
  227. # Vout = Vin * 10K/110K = Vin*11
  228. [adc_temperature v]
  229. temperature1: 0.35
  230. voltage1: 0
  231. temperature2: 36.65
  232. voltage2: 3.3
  233.  
  234. [temperature_sensor voltage]
  235. adc_voltage: 3.3
  236. sensor_pin: PA4
  237. sensor_type: v
  238. gcode_id: Voltage
  239.  
  240. # 1 A = 20 mV
  241. [adc_temperature current]
  242. temperature1: 0
  243. voltage1: 0
  244. temperature2: 165
  245. voltage2: 3.3
  246.  
  247. [temperature_sensor current]
  248. adc_voltage: 3.3
  249. sensor_pin: PA5
  250. sensor_type: current
  251. max_temp: 20
  252. gcode_id: Current
  253.  
  254. #[gcode_button over_current_alarm]                     # This does not work either
  255. #pin: !ar100:PF6
  256. #press_gcode: M112
  257.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement