SHARE
TWEET

Untitled

a guest May 19th, 2019 69 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # This file serves as documentation for config parameters. One may
  2. # copy and edit this file to configure a new cartesian style
  3. # printer. For delta style printers, see the "example-delta.cfg"
  4. # file. For corexy/h-bot style printers, see the "example-corexy.cfg"
  5. # file. Only common config sections are described here - see the
  6. # "example-extras.cfg" file for configuring less common devices.
  7.  
  8. # DO NOT COPY THIS FILE WITHOUT CAREFULLY READING AND UPDATING IT
  9. # FIRST. Incorrectly configured parameters may cause damage.
  10.  
  11. # A note on pin names: pins may be configured with a hardware name
  12. # (such as "PA4") or with an Arduino alias name (such as "ar29" or
  13. # "analog3"). In order to use Arduino names, the pin_map variable in
  14. # the mcu section must be present and have a value of "arduino".
  15. # Pin names may be preceded by an '!' to indicate that a reverse
  16. # polarity should be used (eg, trigger on low instead of high). Input
  17. # pins may be preceded by a '^' to indicate that a hardware pull-up
  18. # resistor should be enabled for the pin.
  19.  
  20.  
  21. # The stepper_x section is used to describe the stepper controlling
  22. # the X axis in a cartesian robot.
  23. [stepper_x]
  24. step_pin: ar37
  25. dir_pin: !ar39
  26. enable_pin: !ar35
  27. step_distance: .01245
  28. endstop_pin: ^!ar24
  29. position_endstop: -1.0
  30. position_max: 220
  31. position_min: -1.0
  32. homing_speed: 40.0
  33.  
  34. # The stepper_y section is used to describe the stepper controlling
  35. # the Y axis in a cartesian robot. It has the same settings as the
  36. # stepper_x section.
  37. [stepper_y]
  38. step_pin: ar31
  39. dir_pin: !ar33
  40. enable_pin: !ar29
  41. step_distance: .01245
  42. endstop_pin: ^!ar28
  43. position_endstop: 0
  44. position_max: 220
  45. homing_speed: 40.0
  46.  
  47. # The stepper_z section is used to describe the stepper controlling
  48. # the Z axis in a cartesian robot. It has the same settings as the
  49. # stepper_x section.
  50. [stepper_z]
  51. step_pin: ar25
  52. dir_pin: ar23
  53. enable_pin: !ar27
  54. step_distance: .0025
  55. endstop_pin: ^!ar30
  56. position_endstop: 0.5
  57. position_max: 240
  58. position_min: 0
  59. homing_speed: 20.0
  60.  
  61. # The extruder section is used to describe both the stepper
  62. # controlling the printer extruder and the heater parameters for the
  63. # nozzle. The stepper configuration has the same settings as the
  64. # stepper_x section and the heater configuration has the same settings
  65. # as the heater_bed section (described below).
  66. [extruder]
  67. step_pin: ar46
  68. dir_pin: !ar44
  69. enable_pin: !ar12
  70. step_distance: .010753
  71. nozzle_diameter: 0.400
  72. filament_diameter: 1.750
  73. heater_pin: ar10
  74. sensor_type: EPCOS 100K B57560G104F
  75. sensor_pin: analog11
  76. pullup_resistor: 4700
  77. control: pid
  78. pid_Kp: 21.73
  79. pid_Ki: 1.54
  80. pid_Kd: 76.55
  81. min_temp: 0
  82. max_temp: 250
  83.  
  84.  
  85. # The heater_bed section describes a heated bed (if present - omit
  86. # section if not present).
  87. [heater_bed]
  88. heater_pin: ar4
  89. sensor_type: EPCOS 100K B57560G104F
  90. sensor_pin: analog10
  91. control: pid
  92. pid_Kp: 73.964
  93. pid_Ki: 2.315
  94. pid_Kd: 590.784
  95.  
  96. #max_delta: 2.0
  97. #   On 'watermark' controlled heaters this is the number of degrees in
  98. #   Celsius above the target temperature before disabling the heater
  99. #   as well as the number of degrees below the target before
  100. #   re-enabling the heater. The default is 2 degrees Celsius.
  101. min_temp: 0
  102. max_temp: 110
  103.  
  104. # Print cooling fan (omit section if fan not present).
  105. [fan]
  106. pin: ar9
  107. #   PWM output pin controlling the fan. This parameter must be
  108. #   provided.
  109. #max_power: 1.0
  110. #   The maximum power (expressed as a value from 0.0 to 1.0) that the
  111. #   pin may be set to. The value 1.0 allows the pin to be set fully
  112. #   enabled for extended periods, while a value of 0.5 would allow the
  113. #   pin to be enabled for no more than half the time. This setting may
  114. #   be used to limit the total power output (over extended periods) to
  115. #   the fan. If this value is less than 1.0 then fan speed requests
  116. #   will be scaled between zero and max_power (for example, if
  117. #   max_power is .9 and a fan speed of 80% is requested then the fan
  118. #   power will be set to 72%). The default is 1.0.
  119. #shutdown_speed: 0
  120. #   The desired fan speed (expressed as a value from 0.0 to 1.0) if
  121. #   the micro-controller software enters an error state. The default
  122. #   is 0.
  123. #cycle_time: 0.010
  124. #   The amount of time (in seconds) for each PWM power cycle to the
  125. #   fan. It is recommended this be 10 milliseconds or greater when
  126. #   using software based PWM. The default is 0.010 seconds.
  127. #hardware_pwm: False
  128. #   Enable this to use hardware PWM instead of software PWM. The
  129. #   default is False.
  130. #kick_start_time: 0.100
  131. #   Time (in seconds) to run the fan at full speed when first enabling
  132. #   it (helps get the fan spinning). The default is 0.100 seconds.
  133.  
  134. # Micro-controller information.
  135. [mcu]
  136. serial: /dev/serial/by-id/usb-1a86_USB2.0-Serial-if00-port0
  137. #   The serial port to connect to the MCU. If unsure (or if it
  138. #   changes) see the "Where's my serial port?" section of the FAQ. The
  139. #   default is /dev/ttyS0
  140. #baud: 250000
  141. #   The baud rate to use. The default is 250000.
  142. pin_map: arduino
  143. #   This option may be used to enable Arduino pin name aliases. The
  144. #   default is to not enable the aliases.
  145. #restart_method:
  146. #   This controls the mechanism the host will use to reset the
  147. #   micro-controller. The choices are 'arduino', 'rpi_usb', and
  148. #   'command'. The 'arduino' method (toggle DTR) is common on Arduino
  149. #   boards and clones. The 'rpi_usb' method is useful on Raspberry Pi
  150. #   boards with micro-controllers powered over USB - it briefly
  151. #   disables power to all USB ports to accomplish a micro-controller
  152. #   reset. The 'command' method involves sending a Klipper command to
  153. #   the micro-controller so that it can reset itself. The default is
  154. #   'arduino' if the micro-controller communicates over a serial port,
  155. #   'command' otherwise.
  156.  
  157. # The printer section controls high level printer settings.
  158. [printer]
  159. kinematics: cartesian
  160. #   This option must be "cartesian" for cartesian printers.
  161. max_velocity: 400
  162. #   Maximum velocity (in mm/s) of the toolhead (relative to the
  163. #   print). This parameter must be specified.
  164. max_accel: 1300
  165. #   Maximum acceleration (in mm/s^2) of the toolhead (relative to the
  166. #   print). This parameter must be specified.
  167. max_accel_to_decel: 1000
  168. #   A pseudo acceleration (in mm/s^2) controlling how fast the
  169. #   toolhead may go from acceleration to deceleration. It is used to
  170. #   reduce the top speed of short zig-zag moves (and thus reduce
  171. #   printer vibration from these moves). The default is half of
  172. #   max_accel.
  173. max_z_velocity: 5
  174. #   For cartesian printers this sets the maximum velocity (in mm/s) of
  175. #   movement along the z axis. This setting can be used to restrict
  176. #   the maximum speed of the z stepper motor on cartesian
  177. #   printers. The default is to use max_velocity for max_z_velocity.
  178. max_z_accel: 30
  179. #   For cartesian printers this sets the maximum acceleration (in
  180. #   mm/s^2) of movement along the z axis. It limits the acceleration
  181. #   of the z stepper motor on cartesian printers. The default is to
  182. #   use max_accel for max_z_accel.
  183. #square_corner_velocity: 5.0
  184. #   The maximum velocity (in mm/s) that the toolhead may travel a 90
  185. #   degree corner at. A non-zero value can reduce changes in extruder
  186. #   flow rates by enabling instantaneous velocity changes of the
  187. #   toolhead during cornering. This value configures the internal
  188. #   centripetal velocity cornering algorithm; corners with angles
  189. #   larger than 90 degrees will have a higher cornering velocity while
  190. #   corners with angles less than 90 degrees will have a lower
  191. #   cornering velocity. If this is set to zero then the toolhead will
  192. #   decelerate to zero at each corner. The default is 5mm/s.
  193.  
  194.  
  195. # Looking for more options? Check the example-extras.cfg file.
  196.  
  197. # Support for a display attached to the micro-controller.
  198. [display]
  199. lcd_type: hd44780
  200. #   The type of LCD chip in use. This may be "hd44780" (which is used
  201. #   in "RepRapDiscount 2004 Smart Controller" type displays), "st7920"
  202. #   (which is used in "RepRapDiscount 12864 Full Graphic Smart
  203. #   Controller" type displays), "uc1701" (which is used in "MKS Mini
  204. #   12864" type displays), or "ssd1306". This parameter must be
  205. #   provided.
  206. rs_pin: ar20
  207. e_pin: ar17
  208. d4_pin: ar16
  209. d5_pin: ar21
  210. d6_pin: ar5
  211. d7_pin: ar36
  212. #   The pins connected to an hd44780 type lcd. These parameters must
  213. #   be provided when using an hd44780 display.
  214. #cs_pin:
  215. #sclk_pin:
  216. #sid_pin:
  217. #   The pins connected to an st7920 type lcd. These parameters must be
  218. #   provided when using an st7920 display.
  219. #cs_pin:
  220. #a0_pin:
  221. #   The pins connected to an uc1701 type lcd. These parameters must be
  222. #   provided when using an uc1701 display.
  223. #cs_pin:
  224. #dc_pin:
  225. #   The pins connected to an ssd1306 type lcd when in "4-wire" spi
  226. #   mode. The default is to use i2c mode for ssd1306 displays.
  227. #menu_root:
  228. #   Entry point for menu, root menu container name. If this parameter
  229. #   is not provided then default menu root is used. When provided
  230. #   menu entry is 'deck' type then it'll be initiated immediately at startup.
  231. #   Description of menu items is located in example-menu.cfg file.
  232. #menu_timeout:
  233. #   Timeout for menu. Being inactive this amount of seconds will trigger
  234. #   menu exit or return to root menu when having autorun enabled.
  235. #   The default is 0 seconds (disabled)
  236. encoder_pins: ^ar40, ^ar42
  237. #   The pins connected to encoder. 2 pins must be provided when
  238. #   using encoder. This parameter must be provided when using menu.
  239. click_pin: ^!ar19
  240. #   The pin connected to 'enter' button or encoder 'click'. This parameter
  241. #   must be provided when using menu.
  242. #back_pin:
  243. #   The pin connected to 'back' button. This parameter is optional, menu
  244. #   can be used without it.
  245. #up_pin:
  246. #   The pin connected to 'up' button. This parameter must be provided
  247. #   when using menu without encoder.
  248. #down_pin:
  249. #   The pin connected to 'down' button. This parameter must be provided
  250. #   when using menu without encoder.
  251. #kill_pin:
  252. #   The pin connected to 'kill' button. This button will call
  253. #   emergency stop.
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top