Advertisement
silver2row

printer.cfg One

Nov 16th, 2021
916
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 4.05 KB | None | 0 0
  1. # Generic Recore config
  2.  
  3. # The STM32F031 mcu
  4. [mcu]
  5. serial: /dev/ttyS4
  6. baud: 38400
  7. restart_method: command
  8.  
  9. # The AR100 mcu
  10. [mcu ar100]
  11. pin_map: ar100
  12. serial: /dev/ttyS1
  13. baud: 1500000
  14.  
  15. [printer]
  16. kinematics: cartesian
  17. max_velocity: 500
  18. max_accel: 3000
  19. max_z_velocity: 25
  20. max_z_accel: 30
  21.  
  22. # In order to enable 100 times gain for thermocouples,
  23. # uncomment the following lines
  24. #[static_digital_output gain_100]
  25. #pins: !ar100:PD4, !ar100:PH11, !ar100:PE17, !ar100:PB2
  26.  
  27. [static_digital_output enable_high_power]
  28. pins: !ar100:PG2
  29.  
  30. [static_digital_output over_current_alarm]
  31. pins: !ar100:PG1
  32.  
  33. [static_digital_output endstop_5V_12V]
  34. pins: ar100:PG11, ar100:PG8
  35.  
  36. [static_digital_output thermistor_pullups]
  37. pins: ar100:PD6, ar100:PD24, ar100:PF0, ar100:PF1
  38.  
  39. [static_digital_output user_led]
  40. pins: PA12
  41.  
  42. [tmc2209 stepper_x]
  43. uart_pin: ar100:PB1
  44. tx_pin: ar100:PB0
  45. uart_address: 0
  46. microsteps: 16
  47. run_current: 0.500
  48. hold_current: 0.500
  49. stealthchop_threshold: 250
  50. driver_internal_rsense: 1
  51. ref_resistor: 6800
  52.  
  53. [tmc2209 stepper_y]
  54. uart_pin: ar100:PB1
  55. tx_pin: ar100:PB0
  56. uart_address: 1
  57. microsteps: 16
  58. run_current: 0.500
  59. hold_current: 0.500
  60. stealthchop_threshold: 250
  61. driver_internal_rsense: 1
  62. ref_resistor: 6800
  63.  
  64. [tmc2209 stepper_z]
  65. uart_pin: ar100:PB1
  66. tx_pin: ar100:PB0
  67. uart_address: 2
  68. #microsteps: 16
  69. run_current: 0.500
  70. hold_current: 0.500
  71. stealthchop_threshold: 250
  72. driver_internal_rsense: 1
  73. ref_resistor: 6800
  74.  
  75. [tmc2209 extruder]
  76. uart_pin: ar100:PB1
  77. tx_pin: ar100:PB0
  78. uart_address: 3
  79. microsteps: 16
  80. run_current: 0.500
  81. hold_current: 0.500
  82. stealthchop_threshold: 250
  83. driver_internal_rsense: 1
  84. ref_resistor: 6800
  85.  
  86.  
  87. [stepper_x]
  88. step_pin: ar100:PL4
  89. dir_pin: ar100:PE8
  90. endstop_pin: ar100:PH4
  91. step_distance: .0225
  92. position_endstop: 0
  93. position_max: 152.4
  94. homing_speed: 10.0
  95.  
  96. [stepper_y]
  97. step_pin: ar100:PL5
  98. dir_pin: ar100:PE9
  99. endstop_pin: ar100:PH5
  100. step_distance: .0225
  101. position_endstop: 0
  102. position_max: 152.4
  103. homing_speed: 10.0
  104.  
  105. # probe
  106.  
  107. [probe]
  108. pin: ar100:PH9
  109. z_offset: 10
  110.  
  111. [stepper_z]
  112. step_pin: ar100:PL8
  113. dir_pin: ar100:PE12
  114. endstop_pin: probe:z_virtual_endstop
  115. position_min: 0.1
  116. #endstop_pin: !ar100:PH7
  117. #step_distance: 10
  118. #position_endstop: 0
  119. position_max: 152.4
  120. homing_speed: 10
  121. rotation_distance: 32
  122. microsteps: 16
  123.  
  124. [extruder]
  125. step_pin: ar100:PL7
  126. dir_pin: ar100:PE11
  127. heater_pin: PA9
  128. sensor_type: EPCOS 100K B57560G104F
  129. sensor_pin: PA1
  130. step_distance: .0225
  131. nozzle_diameter: 0.400
  132. filament_diameter: 1.75
  133. control: pid
  134. pid_Kp: 22.2
  135. pid_Ki: 1.08
  136. pid_Kd: 114
  137. min_extrude_temp: 30
  138. min_temp: 0
  139. max_temp: 300
  140. pullup_resistor: 4755
  141. adc_ref: 3.301
  142. vo_ref: 3.21206
  143. pullup_ref: 3.27
  144.  
  145.  
  146. #[heater_bed]
  147. #heater_pin: PA11
  148. #sensor_type: EPCOS 100K B57560G104F
  149. #sensor_pin: PA3
  150. #control: watermark
  151. #min_temp: 0
  152. #max_temp: 300
  153. #pullup_resistor: 4755
  154. #adc_ref: 3.301
  155. #vo_ref: 3.21206
  156. #pullup_ref: 3.27
  157.  
  158.  
  159. #[extruder1]
  160. #step_pin: ar100:PL8
  161. #dir_pin: ar100:PE12
  162. #step_distance: .004242
  163. #nozzle_diameter: 0.500
  164. #filament_diameter: 1.75
  165. #heater_pin: PA9
  166. #sensor_pin: PA1
  167. #sensor_type: EPCOS 100K B57560G104F
  168. #control: pid
  169. #pid_Kp: 22.2
  170. #pid_Ki: 1.08
  171. #pid_Kd: 114
  172. #min_temp: 0
  173. #max_temp: 210
  174.  
  175. #[extruder2]
  176. #step_pin: ar100:PL9
  177. #dir_pin: ar100:PE13
  178. #step_distance: .004242
  179. #nozzle_diameter: 0.500
  180. #filament_diameter: 1.75
  181. #heater_pin: PA10
  182. #sensor_pin: PA2
  183. #sensor_type: EPCOS 100K B57560G104F
  184. #control: pid
  185. #pid_Kp: 22.2
  186. #pid_Ki: 1.08
  187. #pid_Kd: 114
  188. #min_temp: 0
  189. #max_temp: 210
  190.  
  191.  
  192. # Print cooling fan (omit section if fan not present).
  193. [fan]
  194. pin: PB0
  195.  
  196. #[output_pin fan1]
  197. #pin: PB1
  198.  
  199. #[output_pin fan2]
  200. #pin: PB3
  201.  
  202. #[output_pin fan3]
  203. #pin: PB4
  204.  
  205. [temperature_sensor board]
  206. sensor_type: EPCOS 100K B57560G104F
  207. sensor_pin: PA6
  208. gcode_id: Board
  209.  
  210. [adc_temperature v]
  211. temperature1: 0
  212. voltage1: 0
  213. temperature2: 24
  214. voltage2: 3.3
  215.  
  216. [temperature_sensor voltage]
  217. sensor_pin: PA4
  218. sensor_type: v
  219. gcode_id: Voltage
  220.  
  221. [adc_temperature current]
  222. temperature1: 0
  223. voltage1: 0
  224. temperature2: 24
  225. voltage2: 3.3
  226.  
  227. [temperature_sensor current]
  228. sensor_pin: PA5
  229. sensor_type: current
  230. gcode_id: Current
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement