Guest User

printer.cfg Sermoon D1

a guest
Jan 18th, 2023
609
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.43 KB | None | 0 0
  1. [include mainsail.cfg]
  2.  
  3. # This file contains pin mappings for the Creality Sermoon D1 with
  4. # Rev. 4.3.1 Motherboard.
  5.  
  6. # To use this config, during "make menuconfig" select the STM32F103
  7. # with a "28KiB bootloader" and serial (on USART1 PA10/PA9)
  8. # communication.
  9.  
  10. # Flash this firmware by copying "out/klipper.bin" to a SD card and
  11. # turning on the printer with the card inserted. The firmware
  12. # filename must end in ".bin" and must not match the last filename
  13. # that was flashed.
  14.  
  15. # See docs/Config_Reference.md for a description of parameters.
  16.  
  17. [mcu rpi]
  18. serial: /tmp/klipper_host_mcu
  19.  
  20. [adxl345]
  21. cs_pin: rpi:None
  22.  
  23. [resonance_tester]
  24. accel_chip: adxl345
  25. probe_points:
  26. 140, 135, 20 # an example
  27.  
  28. [stepper_x]
  29. step_pin: PC2
  30. dir_pin: !PB9
  31. enable_pin: !PC3
  32. rotation_distance: 40
  33. microsteps: 16
  34. endstop_pin: ^PA5
  35. position_min: -5
  36. position_endstop: -5
  37. position_max: 280
  38. homing_speed: 50
  39.  
  40. [stepper_y]
  41. step_pin: PB8
  42. dir_pin: PB7
  43. enable_pin: !PC3
  44. rotation_distance: 40
  45. microsteps: 16
  46. endstop_pin: ^PA6
  47. position_min: -2
  48. position_endstop: -2
  49. position_max: 260
  50. homing_speed: 50
  51.  
  52. [stepper_z]
  53. step_pin: PB6
  54. dir_pin: PB5
  55. enable_pin: !PC3
  56. rotation_distance: 8
  57. microsteps: 16
  58. #position_endstop: 0.0 # disable to use BLTouch
  59. #endstop_pin: ^PA7 # disable to use BLTouch
  60. endstop_pin: probe:z_virtual_endstop # enable to use BLTouch
  61. position_min: -5 # enable to use BLTouch
  62. position_max: 300
  63. homing_speed: 4
  64. second_homing_speed: 1
  65. homing_retract_dist: 2.0
  66.  
  67. [extruder]
  68. max_extrude_only_distance: 1000.0
  69. step_pin: PB4
  70. dir_pin: PB3
  71. enable_pin: !PC3
  72. microsteps: 16
  73. rotation_distance: 34.936
  74. nozzle_diameter: 0.400
  75. filament_diameter: 1.750
  76. heater_pin: PA1
  77. sensor_type: EPCOS 100K B57560G104F
  78. sensor_pin: PC5
  79. control: pid
  80. pid_kp: 26.163
  81. pid_ki: 1.418
  82. pid_kd: 120.675
  83. min_temp: 0
  84. max_temp: 260
  85.  
  86. [heater_bed]
  87. heater_pin: PA2
  88. sensor_type: EPCOS 100K B57560G104F
  89. sensor_pin: PC4
  90. control: pid
  91. pid_Kp: 76.301
  92. pid_Ki: 1.707
  93. pid_Kd: 852.669
  94. min_temp: 0
  95. max_temp: 100
  96.  
  97. [fan]
  98. pin: PA0
  99. kick_start_time: 0.5
  100.  
  101. [mcu]
  102. #use command ls /dev/serial/by-id/* to find the printer connected via USB
  103. serial: /dev/serial/by-id/usb-1a86_USB_Serial-if00-port0
  104. restart_method: command
  105.  
  106. # Before printing the PROBE_CALIBRATE command needs to be issued
  107. # to run the probe calibration procedure, described at
  108. # docs/Probe_Calibrate.md, to find the correct z_offset.
  109.  
  110. [safe_z_home] # enable for BLTouch
  111. home_xy_position: 150.7, 137
  112. speed: 100
  113. z_hop: 10
  114. z_hop_speed: 5
  115.  
  116. [bltouch]
  117. sensor_pin: ^PB1
  118. control_pin: PB0
  119. x_offset: 54
  120. y_offset: -7
  121. #z_offset: 2
  122. speed: 3.0
  123.  
  124. [bed_mesh] # enable for BLTouch
  125. speed: 100
  126. mesh_min: 55, 25
  127. mesh_max: 278, 250
  128. algorithm: bicubic
  129. probe_count: 7, 7
  130.  
  131. [filament_switch_sensor filament_sensor]
  132. pause_on_runout: false
  133. switch_pin: !PA4
  134.  
  135. [printer]
  136. kinematics: cartesian
  137. max_velocity: 500
  138. max_z_velocity: 5
  139. max_z_accel: 100
  140. max_accel: 10000
  141. max_accel_to_decel: 10000
  142.  
  143. [board_pins]
  144. aliases:
  145. # EXP1 header
  146. EXP1_1=P1.30, EXP1_3=P1.18, EXP1_5=P1.20, EXP1_7=P1.22, EXP1_9=<GND>,
  147. EXP1_2=P0.28, EXP1_4=P1.19, EXP1_6=P1.21, EXP1_8=P1.23, EXP1_10=<5V>,
  148. # EXP2 header
  149. EXP2_1=P0.17, EXP2_3=P3.26, EXP2_5=P3.25, EXP2_7=P1.31, EXP2_9=<GND>,
  150. EXP2_2=P0.15, EXP2_4=P0.16, EXP2_6=P0.18, EXP2_8=<RST>, EXP2_10=<NC>
  151. # Pins EXP2_1, EXP2_6, EXP2_2 are also MISO, MOSI, SCK of bus "ssp0"
  152.  
  153. #*# <---------------------- SAVE_CONFIG ---------------------->
  154. #*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
  155. #*#
  156. #*# [bltouch]
  157. #*# z_offset = 1.650
  158. #*#
  159. #*# [bed_mesh default]
  160. #*# version = 1
  161. #*# points =
  162. #*# -0.045000, -0.030000, -0.020000, -0.037500, -0.027500, -0.015000, -0.040000
  163. #*# -0.055000, -0.030000, -0.025000, -0.037500, -0.052500, -0.050000, -0.085000
  164. #*# -0.027500, -0.022500, -0.022500, -0.047500, -0.065000, -0.052500, -0.080000
  165. #*# 0.007500, 0.012500, 0.002500, -0.025000, -0.052500, -0.042500, -0.085000
  166. #*# 0.002500, -0.015000, -0.025000, -0.072500, -0.080000, -0.072500, -0.087500
  167. #*# -0.007500, -0.015000, -0.040000, -0.082500, -0.100000, -0.095000, -0.117500
  168. #*# -0.020000, -0.045000, -0.082500, -0.125000, -0.125000, -0.122500, -0.137500
  169. #*# x_count = 7
  170. #*# y_count = 7
  171. #*# mesh_x_pps = 2
  172. #*# mesh_y_pps = 2
  173. #*# algo = bicubic
  174. #*# tension = 0.2
  175. #*# min_x = 52.0
  176. #*# max_x = 280.0
  177. #*# min_y = 25.0
  178. #*# max_y = 250.0
  179.  
Advertisement
Add Comment
Please, Sign In to add comment