fingerfunk99

machine.cfg

Jun 17th, 2025
27
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.92 KB | None | 0 0
  1. ####################################
  2. # Machine Settings
  3. ####################################
  4. [mcu]
  5. serial: /dev/serial/by-id/usb-Prusa_Research__prusa3d.com__Original_Prusa_i3_MK2_CZPX1217X003XK15303-if00
  6.  
  7. [printer]
  8. kinematics: cartesian
  9. max_velocity: 200
  10. max_accel: 2000
  11. max_z_velocity: 20
  12. max_z_accel: 100
  13.  
  14. [ad5206 stepper_digipot]
  15. enable_pin: PD7
  16. # Scale the config so that the channel value can be specified in amps.
  17. # (For Rambo v1.0d boards, use 1.56 instead.)
  18. scale: 2.08
  19. # Channel 1 is E0, 2 is E1, 3 is unused, 4 is Z, 5 is X, 6 is Y
  20. channel_1: 1.34
  21. channel_2: 1.0
  22. channel_4: 1.1
  23. channel_5: 1.1
  24. channel_6: 1.1
  25.  
  26. # Enable 16 micro-steps on steppers X, Y, Z, E0, E1
  27. [static_digital_output stepper_config]
  28. pins:
  29. PG1, PG0,
  30. PK7, PG2,
  31. PK6, PK5,
  32. PK3, PK4,
  33. PK1, PK2
  34.  
  35. [static_digital_output yellow_led]
  36. pins: !PB7
  37.  
  38. [stepper_x]
  39. step_pin: PC0
  40. dir_pin: PL1
  41. enable_pin: !PA7
  42. #step_distance: .01
  43. endstop_pin: ^PB6
  44. position_endstop: 0
  45. position_min: -5
  46. position_max: 250
  47. homing_speed: 35
  48. homing_retract_dist: 5
  49. homing_positive_dir: false
  50. # 400 for 0.9 degree stepper motors and 200 for 1.8 degree stepper motors.
  51. full_steps_per_rotation: 200
  52. rotation_distance: 32
  53. microsteps: 16
  54.  
  55. [stepper_y]
  56. step_pin: PC1
  57. dir_pin: PL0
  58. enable_pin: !PA6
  59. #step_distance: .01
  60. endstop_pin: ^PB5
  61. position_endstop: 0
  62. position_min: -10
  63. position_max: 210
  64. homing_speed: 50
  65. homing_retract_dist: 5
  66. homing_positive_dir: false
  67. # 400 for 0.9 degree stepper motors and 200 for 1.8 degree stepper motors.
  68. full_steps_per_rotation: 200
  69. rotation_distance: 32
  70. microsteps: 16
  71.  
  72. [stepper_z]
  73. step_pin: PC2
  74. dir_pin: PL2
  75. enable_pin: !PA5
  76. #step_distance: .0025
  77. endstop_pin: probe:z_virtual_endstop
  78. position_min: -1
  79. position_max: 215
  80. homing_speed: 10
  81. homing_retract_dist: 5
  82. # 400 for 0.9 degree stepper motors and 200 for 1.8 degree stepper motors.
  83. full_steps_per_rotation: 200
  84. rotation_distance: 8
  85. microsteps: 16
  86.  
  87. [output_pin stepper_xy_current]
  88. pin: PL3
  89. pwm: True
  90. scale: 2.0
  91. cycle_time: .002
  92. hardware_pwm: True
  93. #static_value: 0.83
  94. value: 0.83
  95.  
  96. [output_pin stepper_z_current]
  97. pin: PL4
  98. pwm: True
  99. scale: 2.0
  100. cycle_time: .002
  101. hardware_pwm: True
  102. value: 0.830
  103.  
  104. [output_pin stepper_e_current]
  105. pin: PL5
  106. pwm: True
  107. scale: 2.0
  108. cycle_time: .002
  109. hardware_pwm: True
  110. value: 1.0
  111.  
  112. [probe]
  113. pin: ^PB4
  114. x_offset: 24
  115. y_offset: 5
  116. #############z_offset: 1.245
  117. #z_offset: 1.875
  118. #z_offset: 0.2875
  119. #Hardened Steel Nozzle:
  120. z_offset: 0.775
  121. #z_offset: 0.5375
  122. #Brass Nozzle:
  123. #z_offset: 0.6375
  124. speed: 10.0
  125.  
  126. [extruder]
  127. step_pin: PC3
  128. dir_pin: !PL6
  129. enable_pin: !PA4
  130. #Prusa:
  131. #step_distance: .0059
  132. #Pancake:
  133. #step_distance: .0075
  134. nozzle_diameter: 0.500
  135. filament_diameter: 1.750
  136. max_extrude_cross_section: 50.0
  137. max_extrude_only_distance: 200.0
  138. heater_pin: PE5
  139. sensor_type: EPCOS 100K B57560G104F
  140. sensor_pin: PF0
  141. min_temp: 0
  142. max_temp: 300
  143. pressure_advance: 0.04
  144. # 400 for 0.9 degree stepper motors and 200 for 1.8 degree stepper motors.
  145. full_steps_per_rotation: 200
  146. rotation_distance: 24
  147. microsteps: 16
  148.  
  149. [heater_bed]
  150. heater_pin: PG5
  151. sensor_type: EPCOS 100K B57560G104F
  152. sensor_pin: PF2
  153. min_temp: 0
  154. max_temp: 130
  155. pwm_cycle_time: 0.0166
  156.  
  157. [fan]
  158. pin: PH3
  159.  
  160. [heater_fan nozzle_cooling_fan]
  161. pin: PH5
  162.  
  163. [idle_timeout]
  164. timeout: 600
  165.  
  166. [gcode_arcs]
  167.  
  168. #[firmware_retraction]
  169. #retract_length: 0.8
  170. #retract_speed: 60
  171. #unretract_extra_length: 0
  172. #unretract_speed: 60
  173.  
  174. ######################################################################
  175. # Beeper
  176. ######################################################################
  177.  
  178. # M300 : Play tone. Beeper support, as commonly found on usual LCD
  179. # displays (i.e. RepRapDiscount 2004 Smart Controller, RepRapDiscount
  180. # 12864 Full Graphic). This defines a custom I/O pin and a custom
  181. # GCODE macro. Usage:
  182. # M300 [P<ms>] [S<Hz>]
  183. # P is the tone duration, S the tone frequency.
  184. # The frequency won't be pitch perfect.
  185.  
  186. [output_pin BEEPER_pin]
  187. pin: PH2
  188. # Beeper pin. This parameter must be provided.
  189. # ar37 is the default RAMPS/MKS pin.
  190. pwm: True
  191. # A piezo beeper needs a PWM signal, a DC buzzer doesn't.
  192. value: 0
  193. # Silent at power on, set to 1 if active low.
  194. shutdown_value: 0
  195. # Disable at emergency shutdown (no PWM would be available anyway).
  196. cycle_time: 0.001
  197. # PWM frequency : 0.001 = 1ms will give a base tone of 1kHz
  198. scale: 1000
  199. # PWM parameter will be in the range of (0-1000 Hz).
  200. # Although not pitch perfect.
  201.  
  202. ####################################
  203. # Mesh Bed Leveling
  204. ####################################
  205. [bed_mesh]
  206. speed: 100
  207. horizontal_move_z: 5
  208. #samples: 1
  209. #sample_retract_dist: 2.0
  210. mesh_min: 60,40
  211. mesh_max: 180,150
  212. probe_count: 3,3
  213. fade_start: 1.0
  214. fade_end: 10.0
  215. move_check_distance: 5.0
  216. split_delta_z: .025
  217. mesh_pps: 2,2
  218. algorithm: lagrange
  219. bicubic_tension: .2
  220. faulty_region_1_min: 104.0, 0.0
  221. faulty_region_1_max: 114.0, 20.0
  222. faulty_region_2_min: 170.0, 10.0
  223. faulty_region_2_max: 200.0, 20.0
  224. faulty_region_3_min: 0.0, 95.0
  225. faulty_region_3_max: 10.0, 125.0
  226. faulty_region_4_min: 32.0, 104.0
  227. faulty_region_4_max: 62.0, 114.0
  228. faulty_region_5_min: 94.0, 47.0
  229. faulty_region_5_max: 104.0, 77.0
  230. faulty_region_6_min: 94.0, 142.0
  231. faulty_region_6_max: 104.0, 172.0
  232. faulty_region_7_min: 132.0, 104.0
  233. faulty_region_7_max: 162.0, 114.0
  234. faulty_region_8_min: 183.0, 95.0
  235. faulty_region_8_max: 193.0, 125.0
  236. faulty_region_9_min: 210.0, 25.0
  237. faulty_region_9_max: 220.0, 185.0
  238.  
  239. ####################################
  240. # Resonance Compensation
  241. ####################################
  242. #[input_shaper]
  243. #shaper_freq_x: 0
  244. # A frequency (in Hz) of the input shaper for X axis. This is
  245. # usually a resonance frequency of X axis that the input shaper
  246. # should suppress. For more complex shapers, like 2- and 3-hump EI
  247. # input shapers, this parameter can be set from different
  248. # considerations. The default value is 0, which disables input
  249. # shaping for X axis.
  250. #shaper_freq_y: 0
  251. # A frequency (in Hz) of the input shaper for Y axis. This is
  252. # usually a resonance frequency of Y axis that the input shaper
  253. # should suppress. For more complex shapers, like 2- and 3-hump EI
  254. # input shapers, this parameter can be set from different
  255. # considerations. The default value is 0, which disables input
  256. # shaping for Y axis.
  257. #shaper_type: mzv
  258. # A type of the input shaper to use for both X and Y axes. Supported
  259. # shapers are zv, mzv, zvd, ei, 2hump_ei, and 3hump_ei. The default
  260. # is mzv input shaper.
  261. #shaper_type_x:
  262. #shaper_type_y:
  263. # If shaper_type is not set, these two parameters can be used to
  264. # configure different input shapers for X and Y axes. The same
  265. # values are supported as for shaper_type parameter.
  266. #damping_ratio_x: 0.1
  267. #damping_ratio_y: 0.1
  268. # Damping ratios of vibrations of X and Y axes used by input shapers
  269. # to improve vibration suppression. Should not be changed without
  270. # some proper measurements, e.g. with an accelerometer. Default
  271. # value is 0.1 which is a good all-round value for most printers.
Advertisement
Add Comment
Please, Sign In to add comment