Facebook
From Mika, 4 Years ago, written in Plain Text.
Embed
Download Paste or View Raw
Hits: 130
  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. position_endstop: 0.5
  40. position_max: 240
  41. homing_speed: 20
  42.  
  43. [extruder]
  44. step_pin: PB1
  45. dir_pin: PB0
  46. enable_pin: !PD6
  47. step_distance: .0105
  48. nozzle_diameter: 0.400
  49. filament_diameter: 1.750
  50. heater_pin: PD5
  51. sensor_type: ATC Semitec 104GT-2
  52. sensor_pin: PA7
  53. #control: pid
  54. #pid_Kp: 2.151492
  55. #pid_Ki: 0.633897
  56. #pid_Kd: 230.042965
  57. min_temp: 0
  58. max_temp: 250
  59.  
  60. [heater_bed]
  61. heater_pin: PD4
  62. sensor_type: ATC Semitec 104GT-2
  63. sensor_pin: PA6
  64. #control: watermark
  65. min_temp: 0
  66. max_temp: 130
  67.  
  68. [fan]
  69. pin: PB4
  70.  
  71. [mcu]
  72. serial: /dev/ttyUSB0
  73.  
  74. [printer]
  75. kinematics: cartesian
  76. max_velocity: 300
  77. max_accel: 1000
  78. max_z_velocity: 20
  79. max_z_accel: 100
  80.  
  81. [display]
  82. lcd_type: hd44780
  83. rs_pin: PA3
  84. e_pin: PA2
  85. d4_pin: PD2
  86. d5_pin: PD3
  87. d6_pin: PC0
  88. d7_pin: PC1
  89. up_pin: PA1
  90. analog_range_up_pin: 9000, 13000
  91. down_pin: PA1
  92. analog_range_down_pin: 800, 1300
  93. click_pin: PA1
  94. analog_range_click_pin: 2000, 2500
  95. back_pin: PA1
  96. analog_range_back_pin: 4500, 5000
  97. #kill_pin: PA1
  98. #analog_range_kill_pin: 400, 600
  99.  
  100. #*# <---------------------- SAVE_CONFIG ---------------------->
  101. #*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
  102. #*#
  103. #*# [extruder]
  104. #*# control = pid
  105. #*# pid_kp = 20.302
  106. #*# pid_ki = 0.691
  107. #*# pid_kd = 149.217
  108. #*#
  109. #*# [heater_bed]
  110. #*# control = pid
  111. #*# pid_kp = 69.898
  112. #*# pid_ki = 1.277
  113. #*# pid_kd = 956.729
  114.