Advertisement
Guest User

Untitled

a guest
Aug 25th, 2019
7,930
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.71 KB | None | 0 0
  1. # This file contains common pin mappings for the 2018 Creality
  2. # Ender 3. To use this config, the firmware should be compiled for the
  3. # AVR atmega1284p.
  4.  
  5. # Note, a number of Melzi boards are shipped with a bootloader that
  6. # requires the following command to flash the board:
  7. # avrdude -p atmega1284p -c arduino -b 57600 -P /dev/ttyUSB0 -U out/klipper.elf.hex
  8. # If the above command does not work and "make flash" does not work
  9. # then one may need to flash a bootloader to the board - see the
  10. # Klipper docs/Bootloaders.md file for more information.
  11.  
  12. # See the example.cfg file for a description of available parameters.
  13.  
  14. [stepper_x]
  15. step_pin: PD7
  16. dir_pin: !PC5
  17. enable_pin: !PD6
  18. step_distance: .0125
  19. endstop_pin: ^PC2
  20. position_endstop: 0
  21. position_max: 235
  22. homing_speed: 50
  23.  
  24. [stepper_y]
  25. step_pin: PC6
  26. dir_pin: !PC7
  27. enable_pin: !PD6
  28. step_distance: .0125
  29. endstop_pin: ^PC3
  30. position_endstop: 0
  31. position_max: 235
  32. homing_speed: 50
  33.  
  34. [stepper_z]
  35. step_pin: PB3
  36. dir_pin: PB2
  37. enable_pin: !PA5
  38. step_distance: .0025
  39. endstop_pin:probe:z_virtual_endstop
  40. position_max: 250
  41. position_min: -1
  42.  
  43. [extruder]
  44. max_extrude_only_distance: 100.0
  45. step_pin: PB1
  46. dir_pin: !PB0
  47. enable_pin: !PD6
  48. step_distance: 0.010526
  49. nozzle_diameter: 0.400
  50. filament_diameter: 1.750
  51. pressure_advance: 0.060
  52. pressure_advance_lookahead_time: 0.010
  53. heater_pin: PD5
  54. sensor_type: EPCOS 100K B57560G104F
  55. sensor_pin: PA7
  56. #control: pid
  57. # tuned for stock hardware with 200 degree Celsius target
  58. #pid_Kp: 21.527
  59. #pid_Ki: 1.063
  60. #pid_Kd: 108.982
  61. min_temp: 0
  62. max_temp: 250
  63.  
  64. [heater_bed]
  65. heater_pin: PD4
  66. sensor_type: EPCOS 100K B57560G104F
  67. sensor_pin: PA6
  68. control: pid
  69. # tuned for stock hardware with 50 degree Celsius target
  70. pid_Kp: 54.027
  71. pid_Ki: 0.770
  72. pid_Kd: 948.182
  73. min_temp: 0
  74. max_temp: 130
  75.  
  76. [fan]
  77. pin: PB4
  78.  
  79. [mcu]
  80. serial: /dev/serial/by-id/usb-FTDI_FT232R_USB_UART_AK06SCF6-if00-port0
  81.  
  82. [printer]
  83. kinematics: cartesian
  84. max_velocity: 300
  85. max_accel: 3000
  86. max_z_velocity: 5
  87. max_z_accel: 100
  88.  
  89. [display]
  90. lcd_type: st7920
  91. cs_pin: PA3
  92. sclk_pin: PA1
  93. sid_pin: PC1
  94. encoder_pins: ^PD2, ^PD3
  95. click_pin: ^!PC0
  96.  
  97. [bltouch]
  98. sensor_pin: ^PC4
  99. control_pin: PA4
  100. x_offset: -45
  101. y_offset: -10
  102. z_offset: 1.6
  103. pin_move_time: 0.4
  104.  
  105. [bed_mesh]
  106. speed: 80
  107. horizontal_move_z: 5
  108. min_point: 90, 20
  109. max_point: 235, 235
  110. probe_count: 3,3
  111. fade_start: 1.0
  112. mesh_pps: 2,2
  113.  
  114. [gcode_macro G29]
  115. gcode:
  116. BED_MESH_CALIBRATE
  117.  
  118. [safe_z_home]
  119. home_xy_position: 155,120
  120. speed: 80.0
  121. z_hop: 10.0
  122. z_hop_speed: 10.0
  123.  
  124.  
  125. #*# <---------------------- SAVE_CONFIG ---------------------->
  126. #*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
  127. #*#
  128. #*# [extruder]
  129. #*# control = pid
  130. #*# pid_kp = 30.662
  131. #*# pid_ki = 2.350
  132. #*# pid_kd = 100.035
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement