MaLittlePwny

Untitled

Jul 29th, 2018
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 2.66 KB | None | 0 0
  1. [stepper_x]
  2. step_pin: ar54
  3. dir_pin: ar55
  4. enable_pin: !ar38
  5. step_distance: .0125
  6. endstop_pin: ^!ar3
  7. position_endstop: 0
  8. position_max: 200
  9. homing_speed: 50
  10.  
  11. [stepper_y]
  12. step_pin: ar60
  13. dir_pin: ar61
  14. enable_pin: !ar56
  15. step_distance: .0125
  16. endstop_pin: ^!ar14
  17. position_endstop: 0
  18. position_max: 280
  19. homing_speed: 50
  20.  
  21. [stepper_z]
  22. step_pin: ar46
  23. dir_pin: ar48
  24. enable_pin: !ar62
  25. step_distance: .000625
  26. endstop_pin: probe:z_virtual_endstop
  27. position_endstop: 3.40
  28. position_max: 200
  29.  
  30.  
  31. [extruder]
  32. step_pin: ar26
  33. dir_pin: ar28
  34. enable_pin: !ar24
  35. step_distance: .01
  36. nozzle_diameter: 0.400
  37. filament_diameter: 1.750
  38. heater_pin: ar10
  39. sensor_type: EPCOS 100K B57560G104F
  40. sensor_pin: analog13
  41. control: pid
  42. pid_Kp: 28.70
  43. pid_Ki: 1.81
  44. pid_Kd: 114.02
  45. min_temp: 0
  46. max_temp: 260
  47. max_extrude_only_distance: 700
  48. max_extrude_only_velocity: 30
  49.  
  50. #[extruder1]
  51. #step_pin: ar36
  52. #dir_pin: ar34
  53. #enable_pin: !ar30
  54. #step_distance: .001150
  55. #nozzle_diameter: 0.400
  56. #filament_diameter: 1.750
  57. #shared_heater: extruder
  58. #max_extrude_only_distance: 700
  59. #max_extrude_only_velocity: 30
  60.  
  61. [heater_bed]
  62. heater_pin: ar8
  63. sensor_type: EPCOS 100K B57560G104F
  64. sensor_pin: analog14
  65. control: watermark
  66. min_temp: 0
  67. max_temp: 130
  68.  
  69. [fan]
  70. pin: ar9
  71.  
  72. [heater_fan my_nozzle_fan]
  73. pin: ar7
  74. heater: extruder
  75. heater_temp: 50.0
  76. fan_speed: 1.0
  77.  
  78. [mcu]
  79. serial: /dev/ttyUSB0
  80. pin_map: arduino
  81. baud: 250000
  82.  
  83. [printer]
  84. kinematics: cartesian
  85. max_velocity: 150
  86. max_accel: 1500
  87. max_z_velocity: 5
  88. max_z_accel: 100
  89.  
  90. # "RepRapDiscount 2004 Smart Controller" type displays
  91. [display]
  92. lcd_type: hd44780
  93. rs_pin: ar16
  94. e_pin: ar17
  95. d4_pin: ar23
  96. d5_pin: ar25
  97. d6_pin: ar27
  98. d7_pin: ar29
  99.  
  100. # Define the BLTouch servo
  101. [servo bltouch]
  102. pin: ar11
  103. maximum_servo_angle: 180
  104. minimum_pulse_width: 0.0006
  105. maximum_pulse_width: 0.0024
  106.  
  107. # Define a probe using the BLTouch
  108. [probe]
  109. pin: ar18
  110. z_offset: 0.75
  111. activate_gcode:
  112.     SET_SERVO SERVO=bltouch ANGLE=10
  113.     SET_SERVO SERVO=bltouch ANGLE=60
  114.     G4 P200
  115. deactivate_gcode:
  116.     SET_SERVO SERVO=bltouch ANGLE=90
  117.  
  118. # Example bed_tilt config section
  119. [bed_tilt]
  120. #x_adjust:
  121. #y_adjust:
  122. points:
  123.     100,100
  124.     10,10
  125.     10,100
  126.     10,190
  127.     100,10
  128.     100,190
  129.     190,10
  130.     190,100
  131.     190,190
  132.  
  133. # If the BLTouch is used to home the Z axis, then define a
  134. # homing_override section, use probe:z_virtual_endstop as the
  135. # endstop_pin in the stepper_z section, and set the endstop_position
  136. # in the stepper_z section to match the probe's z_offset.
  137. [homing_override]
  138. set_position_z: 5
  139. gcode:
  140.    G90   ; Uncomment these 2 lines to blindly lift the Z 10mm at start
  141.    G1 Z10 F600
  142.    G28 X0 Y0
  143.    G1 X100 Y136 F3600
  144.    G28 Z0
  145.     G1 X100 Y100 F3600
Advertisement
Add Comment
Please, Sign In to add comment