Advertisement
black0r1337

working_anetA8_printer.cfg

Jan 16th, 2019
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.10 KB | None | 0 0
  1. # This file contains common pin mappings for Anet A8 printer from 2016
  2. # and 2017. To use this config, the firmware should be compiled for
  3. # the AVR atmega1284p.
  4.  
  5. # Note that the "make flash" command does not work with Anet boards -
  6. # the boards are typically flashed with this command:
  7. # avrdude -p atmega1284p -c arduino -b 57600 -P /dev/ttyUSB0 -U out/klipper.elf.hex
  8.  
  9. # See the example.cfg file for a description of available parameters.
  10.  
  11. [stepper_x]
  12. step_pin: PD7
  13. dir_pin: PC5
  14. enable_pin: !PD6
  15. step_distance: .01
  16. endstop_pin: ^!PC2
  17. position_endstop: -30
  18. position_max: 220
  19. position_min: -30
  20. homing_speed: 50
  21.  
  22. [stepper_y]
  23. step_pin: PC6
  24. dir_pin: PC7
  25. enable_pin: !PD6
  26. step_distance: .01
  27. endstop_pin: ^!PC3
  28. position_endstop: -8
  29. position_min: -8
  30. position_max: 220
  31. homing_speed: 50
  32.  
  33. [stepper_z]
  34. step_pin: PB3
  35. dir_pin: !PB2
  36. enable_pin: !PA5
  37. step_distance: .0025
  38. #endstop_pin: ^!PC4
  39. endstop_pin: probe:z_virtual_endstop
  40. #position_endstop: .5
  41. position_min: -8
  42. position_max: 240
  43. homing_speed: 20
  44.  
  45. [extruder]
  46. step_pin: PB1
  47. dir_pin: PB0
  48. enable_pin: !PD6
  49. step_distance: .010185
  50. pressure_advance: 0.190
  51. nozzle_diameter: 0.400
  52. filament_diameter: 1.750
  53. heater_pin: PD5
  54. sensor_type: ATC Semitec 104GT-2
  55. sensor_pin: PA7
  56.  
  57. #control = pid
  58. #pid_kp = 23.867
  59. #pid_ki = 0.240
  60. #pid_kd = 594.280
  61. min_temp: 0
  62. max_temp: 250
  63.  
  64. [heater_bed]
  65. heater_pin: PD4
  66. sensor_type: ATC Semitec 104GT-2
  67. sensor_pin: PA6
  68. #control = pid
  69. #pid_kp = 76.824
  70. #pid_ki = 1.330
  71. #pid_kd = 1109.152
  72.  
  73. min_temp: 0
  74. max_temp: 130
  75.  
  76. [fan]
  77. pin: PB4
  78.  
  79. [mcu]
  80. baud: 115200
  81. serial: /dev/serial/by-id/usb-1a86_USB2.0-Serial-if00-port0
  82.  
  83. [printer]
  84. kinematics: cartesian
  85. max_velocity: 300
  86. max_accel: 1000
  87. max_z_velocity: 20
  88. max_z_accel: 100
  89.  
  90. [display]
  91. lcd_type: hd44780
  92. rs_pin: PA3
  93. e_pin: PA2
  94. d4_pin: PD2
  95. d5_pin: PD3
  96. d6_pin: PC0
  97. d7_pin: PC1
  98.  
  99. [bltouch]
  100. sensor_pin: PC4
  101. control_pin: PA4
  102. pin_move_time:1.0
  103. z_offset: 2.3
  104. speed:8
  105. x_offset: 60
  106. y_offset: 0
  107.  
  108. #[servo bltouch]
  109. # set pin to the pin that the bltouch
  110. #servo is connected to.
  111. #pin: PA4
  112. #maximum_servo_angle: 180
  113. #minimum_pulse_width: 0.0006
  114. #maximum_pulse_width: 0.0024
  115.  
  116. # Define a probe using the BLTouch
  117. #[probe]
  118. #pin: ^PC4
  119. #speed: 3.0
  120. #x_offset: 60
  121. #y_offset: 0.0
  122. #z_offset: 1.821
  123. #activate_gcode:
  124. # SET_SERVO SERVO=bltouch ANGLE=10
  125. # SET_SERVO SERVO=bltouch ANGLE=60
  126. # G4 P200
  127. #deactivate_gcode:
  128. # SET_SERVO SERVO=bltouch ANGLE=90
  129.  
  130. [homing_override]
  131. axes: z
  132. gcode:
  133. G90
  134. G1 Z7 F600
  135. G28 X0 Y0
  136. G1 X110 Y125 F3600
  137. G28 Z0
  138. set_position_z: 5
  139.  
  140. [bed_mesh]
  141. speed: 50
  142. horizontal_move_z: 5
  143. samples: 3
  144. sample_retract_dist: 2.0
  145. min_point: -30,10
  146. max_point: 150,210
  147. probe_count: 5,5
  148. fade_start: 1.0
  149. fade_end: 10.0
  150. split_delta_z: 0.025
  151. move_check_distance: 5.0
  152. mesh_pps: 3,3
  153. algorithm: bicubic
  154. bicubic_tension: .2
  155.  
  156.  
  157. # Heater and temperature sensor verification. Heater verification is
  158. # automatically enabled for each heater that is configured on the
  159. # printer. Use verify_heater sections to change the default settings.
  160. [verify_heater extruder]
  161. heating_gain: 1
  162. # The minimum temperature (in Celsius) that the heater must increase
  163. # by when approaching a new target temperature. The default is 2.
  164. check_gain_time: 90
  165. # The amount of time (in seconds) that the heating_gain must be met
  166. # in before an error is raised. The default is 20 seconds for
  167. # extruders and 60 seconds for heater_bed.
  168. hysteresis: 20
  169. # The difference between the target temperature and the current
  170. # temperature for the heater to be considered within range of the
  171. # target temperature. The default is 5.
  172. max_error: 150
  173. # The maximum temperature difference a heater that falls outside the
  174. # target temperature range may accumulate before an error is
  175. # raised. For example, if the target temperature is 200, the
  176. # hysteresis is 5, the max_error is 120, and the temperature is
  177. # reported at 185 degrees for 12 seconds then an error would be
  178. # raised (or 24 seconds at 190, or 120 seconds at 194, etc.). The
  179. # default is 120.
  180.  
  181. # Heater and temperature sensor verification. Heater verification is
  182. # automatically enabled for each heater that is configured on the
  183. # printer. Use verify_heater sections to change the default settings.
  184. [verify_heater heater_bed]
  185. heating_gain: 1
  186. # The minimum temperature (in Celsius) that the heater must increase
  187. # by when approaching a new target temperature. The default is 2.
  188. check_gain_time: 30
  189. # The amount of time (in seconds) that the heating_gain must be met
  190. # in before an error is raised. The default is 20 seconds for
  191. # extruders and 60 seconds for heater_bed.
  192. hysteresis: 5
  193. # The difference between the target temperature and the current
  194. # temperature for the heater to be considered within range of the
  195. # target temperature. The default is 5.
  196. max_error: 150
  197. # The maximum temperature difference a heater that falls outside the
  198. # target temperature range may accumulate before an error is
  199. # raised. For example, if the target temperature is 200, the
  200. # hysteresis is 5, the max_error is 120, and the temperature is
  201. # reported at 185 degrees for 12 seconds then an error would be
  202. # raised (or 24 seconds at 190, or 120 seconds at 194, etc.). The
  203. # default is 120.
  204.  
  205. #*# <---------------------- SAVE_CONFIG ---------------------->
  206. #*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
  207. #*#
  208. #*# [extruder]
  209. #*# control = pid
  210. #*# pid_kp = 26.056
  211. #*# pid_ki = 1.135
  212. #*# pid_kd = 149.499
  213. #*#
  214. #*# [heater_bed]
  215. #*# control = pid
  216. #*# pid_kp = 74.611
  217. #*# pid_ki = 1.330
  218. #*# pid_kd = 1046.419
  219. #*#
  220. #*# [bed_mesh default]
  221. #*# points =
  222. #*# 0.161667, 0.203333, 0.278333, 0.343333, 0.211667
  223. #*# 0.080833, 0.125000, 0.213333, 0.204167, 0.051667
  224. #*# 0.032500, 0.086667, 0.134167, 0.119167, -0.047500
  225. #*# -0.020000, -0.014167, 0.023333, 0.039167, -0.194167
  226. #*# -0.018333, -0.012500, 0.019167, -0.055833, -0.260833
  227. #*# x_count = 5
  228. #*# y_count = 5
  229. #*# min_x = -30.0
  230. #*# max_x = 150.0
  231. #*# min_y = 10.0
  232. #*# max_y = 210.0
  233. #*# x_offset = 60.0
  234. #*# y_offset = 0.0
  235. #*# mesh_x_pps = 3
  236. #*# mesh_y_pps = 3
  237. #*# algo = bicubic
  238. #*# tension = 0.2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement