Advertisement
rootiest

tomtom-printer.cfg

Jul 6th, 2022
1,103
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # This file contains common pin mappings for MKS Robin Nano V3
  2. # boards. To use this config, the firmware should be compiled for the
  3. # stm32f407. When running "make menuconfig", select the 48KiB
  4. # bootloader, and enable "USB for communication".
  5.  
  6. # The "make flash" command does not work on the MKS Robin. Instead,
  7. # after running "make", copy the generated "out/klipper.bin" file to a
  8. # file named "Robin_nano_v3.bin" on an SD card and then restart the
  9. # MKS Robin with that SD card.
  10.  
  11. # See docs/Config_Reference.md for a description of parameters.
  12.  
  13. [mcu]
  14. serial: /dev/serial/by-id/usb-Klipper_stm32f407xx_2E0022000350324239323920-if00 # Run ls /dev/serial/by-id/* on your Raspberry Pi to get which serial to use.
  15.  
  16. [printer]
  17. kinematics: delta
  18. max_velocity: 7000
  19. max_accel: 7000
  20. max_z_velocity: 2000
  21. minimum_z_position: -5
  22. square_corner_velocity: 15.0
  23. #delta_radius: 130
  24. print_radius: 130
  25.  
  26. ########################################
  27. # A (X-Stepper) Configuration
  28. ########################################
  29. [stepper_a] # X
  30. step_pin: PE3
  31. dir_pin: PE2
  32. enable_pin: !PE4
  33. microsteps: 16
  34. rotation_distance: 40
  35. full_steps_per_rotation: 200
  36. endstop_pin: ^PA15 #X_MAX
  37. #position_endstop: 336.5
  38. homing_speed: 60
  39. #arm_length: 315
  40.  
  41. [tmc2209 stepper_a]
  42. uart_pin: PD5
  43. interpolate: true
  44. run_current: 0.90
  45. hold_current: 0.5
  46. sense_resistor: 0.110
  47. stealthchop_threshold: 100
  48.  
  49. ########################################
  50. # B (Y-Stepper)  Configuration
  51. ########################################
  52. [stepper_b] # Y
  53. step_pin: PE0
  54. dir_pin: PB9
  55. enable_pin: !PE1
  56. microsteps: 16
  57. rotation_distance: 40
  58. full_steps_per_rotation: 200
  59. endstop_pin: ^PD2 #Y_MAX
  60. #position_endstop: 336.5
  61. homing_speed: 60
  62. #arm_length: 315
  63.  
  64. [tmc2209 stepper_b]
  65. uart_pin: PD7
  66. interpolate: true
  67. run_current: 0.90
  68. hold_current: 0.5
  69. sense_resistor: 0.110
  70. stealthchop_threshold: 100
  71.  
  72. ########################################
  73. # C (Z-Stepper)  Configuration
  74. ########################################
  75. [stepper_c] # Z
  76. step_pin: PB5
  77. dir_pin: PB4
  78. enable_pin: !PB8
  79. microsteps: 16
  80. rotation_distance: 40
  81. full_steps_per_rotation: 200
  82. endstop_pin: ^PC4 #Z_MAX
  83. #position_endstop: 336.5
  84. homing_speed: 60
  85. #arm_length: 315
  86.  
  87. [tmc2209 stepper_c]
  88. uart_pin: PD4
  89. interpolate: true
  90. run_current: 0.90
  91. hold_current: 0.5
  92. sense_resistor: 0.110
  93. stealthchop_threshold: 100
  94.  
  95. ########################################
  96. # Extruder Configuration
  97. ########################################
  98. [extruder]
  99. step_pin: PD6
  100. dir_pin: !PD3
  101. enable_pin: !PB3
  102. microsteps: 16
  103.  
  104. # E3D Hemera Default 7.82
  105. # E3D Hemera Other: 16.273
  106. # FLSUN Stock: 7.68
  107. # Sherpa 12.80
  108. rotation_distance: 22.75
  109. gear_ratio: 50:10
  110. full_steps_per_rotation: 200
  111. nozzle_diameter: 0.400
  112. filament_diameter: 1.750
  113. heater_pin: PE5
  114. #sensor_type: NTC 100K beta 3950 #deprecated, https://docs.mainsail.xyz/faq/klipper_warnings/deprecated_value
  115. sensor_type: Generic 3950
  116. sensor_pin: PC1
  117. control: pid
  118. pid_Kp: 13.7
  119. pid_Ki: 0.48
  120. pid_Kd: 70.22
  121. min_temp: 0
  122. max_temp: 300
  123. pressure_advance: 0
  124. pressure_advance_smooth_time: 0.040
  125. max_extrude_only_distance: 800.0
  126.  
  127. [tmc2209 extruder]
  128. uart_pin: PD9
  129. interpolate: true
  130. run_current: 0.847
  131. hold_current: 0.5
  132. sense_resistor: 0.110
  133. stealthchop_threshold: 100
  134.  
  135. ########################################
  136. # Bed Configuration
  137. ########################################
  138.  
  139. [heater_bed]
  140. heater_pin: PA0
  141. #sensor_type: NTC 100K beta 3950 #deprecated, https://docs.mainsail.xyz/faq/klipper_warnings/deprecated_value
  142. sensor_type: Generic 3950
  143. sensor_pin: PC0
  144. control: pid
  145. pid_Kp: 10.00
  146. pid_Ki: 0.023
  147. pid_Kd: 305.4
  148. min_temp: 0
  149. max_temp: 130
  150.  
  151. ########################################
  152. # Fan/Other Configuration
  153. ########################################
  154.  
  155. [fan]       # Part Cooling
  156. pin: PC14
  157.  
  158. [heater_fan heatsink_fan] # Heatsink
  159. pin: PB0 #PB1
  160. max_power: 1.0
  161. heater: extruder
  162. heater_temp: 50.0
  163. fan_speed: 1.0
  164.  
  165. [delta_calibrate]
  166. radius: 130
  167. horizontal_move_z: 50
  168. speed: 20
  169.  
  170. [bed_mesh]
  171. speed: 100
  172. horizontal_move_z: 50
  173. mesh_radius: 125
  174. mesh_origin: 0,0
  175. round_probe_count: 5
  176.  
  177. [probe]
  178. pin: ^!PC8 #Z_MIN
  179. x_offset: 0
  180. y_offset: 0
  181. z_offset: 16.705
  182. speed: 20
  183. samples: 5
  184. samples_result: average
  185. sample_retract_dist: 10
  186. samples_tolerance: 0.02
  187. samples_tolerance_retries: 5
  188.  
  189. [endstop_phase]
  190.  
  191. #######################################
  192. ###      Fixed by u/dopeboogie      ###
  193. #######################################
  194. [virtual_sdcard]
  195. path: ~/gcode_files
  196.  
  197. [display_status]
  198.  
  199. [pause_resume]
  200.  
  201. [gcode_macro CANCEL_PRINT]
  202. description: Cancel the actual running print
  203. rename_existing: CANCEL_PRINT_BASE
  204. gcode:
  205.    TURN_OFF_HEATERS
  206.     CANCEL_PRINT_BASE
  207.  
  208. #######################################
  209.  
  210.  
  211. ########################################
  212. # Filament Runout
  213. ########################################
  214.  
  215. #[filament_switch_sensor my_sensor]
  216. #switch_pin: PA4
  217. #pause_on_runout: true
  218. #   The pin on which the switch is connected. This parameter must be
  219. #   provided.
  220.  
  221. #runout_gcode:
  222. #   A list of G-Code commands to execute after a filament runout is
  223. #   detected. See docs/Command_Templates.md for G-Code format. If
  224. #   pause_on_runout is set to True this G-Code will run after the
  225. #   PAUSE is complete. The default is not to run any G-Code commands.
  226. #insert_gcode:
  227. #   A list of G-Code commands to execute after a filament insert is
  228. #   detected. See docs/Command_Templates.md for G-Code format. The
  229. #   default is not to run any G-Code commands, which disables insert
  230. #   detection.
  231. #event_delay: 3.0
  232. #   The minimum amount of time in seconds to delay between events.
  233. #   Events triggered during this time period will be silently
  234. #   ignored. The default is 3 seconds.
  235. #pause_delay: 0.5
  236. #   The amount of time to delay, in seconds, between the pause command
  237. #   dispatch and execution of the runout_gcode. It may be useful to
  238. #   increase this delay if OctoPrint exhibits strange pause behavior.
  239. #   Default is 0.5 seconds.
  240.  
  241.  
  242. ########################################
  243. # Raspberry / Fluidd Configuration
  244. ########################################
  245. [temperature_sensor rpi_temperature]
  246. sensor_type: temperature_host
  247.  
  248. [temperature_sensor mcu_temperature]
  249. sensor_type: temperature_mcu
  250.  
  251. [include fluidd.cfg]
  252.  
  253. ########################################
  254. # EXP1 / EXP2 (display) pins
  255. ########################################
  256.  
  257. [board_pins]
  258. aliases:
  259.    # EXP1 header
  260.     EXP1_1=PC5,  EXP1_3=PD13, EXP1_5=PE14, EXP1_7=PD11, EXP1_9=<GND>,
  261.     EXP1_2=PE13, EXP1_4=PC6,  EXP1_6=PE15, EXP1_8=PD10, EXP1_10=<5V>,
  262.     # EXP2 header
  263.     EXP2_1=PA6, EXP2_3=PE8, EXP2_5=PE11, EXP2_7=PE12,  EXP2_9=<GND>,
  264.     EXP2_2=PA5, EXP2_4=PE10, EXP2_6=PA7, EXP2_8=<RST>, EXP2_10=<3.3v>
  265.    # Pins EXP2_1, EXP2_6, EXP2_2 are also MISO, MOSI, SCK of bus "ssp1"
  266.  
  267. # See the sample-lcd.cfg file for definitions of common LCD displays.
  268.  
  269. ########################################
  270. # Macro's
  271. ########################################
  272.  
  273. [include macro-pause.cfg]
  274. [include macro-resume.cfg]
  275. [include macro-cancel.cfg]
  276. [include macro-start.cfg]
  277. [include macro-end.cfg]
  278. [include macro-load.cfg]
  279. [include macro-unload.cfg]
  280.  
  281. #*# <---------------------- SAVE_CONFIG ---------------------->
  282. #*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
  283. #*#
  284. #*# [printer]
  285. #*# delta_radius = 151.668446
  286. #*#
  287. #*# [stepper_a]
  288. #*# angle = 210.302224
  289. #*# arm_length = 315.000000
  290. #*# position_endstop = 333.665168
  291. #*#
  292. #*# [stepper_b]
  293. #*# angle = 330.325433
  294. #*# arm_length = 315.000000
  295. #*# position_endstop = 333.183748
  296. #*#
  297. #*# [stepper_c]
  298. #*# angle = 90.000000
  299. #*# arm_length = 315.000000
  300. #*# position_endstop = 333.166035
  301. #*#
  302. #*# [delta_calibrate]
  303. #*# height0 = 16.705
  304. #*# height0_pos = 25330.200,25330.200,25330.200
  305. #*# height1 = 16.705
  306. #*# height1_pos = 29614.400,29614.400,22489.800
  307. #*# height2 = 16.705
  308. #*# height2_pos = 24604.000,32130.000,24604.000
  309. #*# height3 = 16.705
  310. #*# height3_pos = 22676.800,28939.400,28939.400
  311. #*# height4 = 16.705
  312. #*# height4_pos = 24522.400,24522.400,30008.400
  313. #*# height5 = 16.705
  314. #*# height5_pos = 28280.800,22834.400,28280.800
  315. #*# height6 = 16.705
  316. #*# height6_pos = 30965.600,24508.600,24508.600
  317. #*#
  318. #*# [bed_mesh default]
  319. #*# version = 1
  320. #*# points =
  321. #*#     -0.064540, -0.064540, -0.064540, -0.064540, -0.064540
  322. #*#     -0.044131, -0.044131, -0.050644, -0.036332, -0.036332
  323. #*#     -0.077461, -0.060102, -0.034184, 0.017070, -0.080652
  324. #*#     -0.081891, -0.081891, -0.003895, 0.028849, 0.028849
  325. #*#     -0.095251, -0.095251, -0.095251, -0.095251, -0.095251
  326. #*# tension = 0.2
  327. #*# min_x = -125.0
  328. #*# algo = lagrange
  329. #*# y_count = 5
  330. #*# mesh_y_pps = 2
  331. #*# min_y = -125.0
  332. #*# x_count = 5
  333. #*# max_y = 125.0
  334. #*# mesh_x_pps = 2
  335. #*# max_x = 125.0
  336.  
Advertisement
RAW Paste Data Copied
Advertisement