Advertisement
Guest User

Untitled

a guest
Jul 15th, 2024
44
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.27 KB | None | 0 0
  1. # This file contains pin mappings for the Creality "v4.2.7" board. To
  2. # use this config, during "make menuconfig" select the STM32F103 with
  3. # a "28KiB bootloader" and serial (on USART1 PA10/PA9) communication.
  4.  
  5. # If you prefer a direct serial connection, in "make menuconfig"
  6. # select "Enable extra low-level configuration options" and select
  7. # serial (on USART3 PB11/PB10), which is broken out on the 10 pin IDC
  8. # cable used for the LCD module as follows:
  9. # 3: Tx, 4: Rx, 9: GND, 10: VCC
  10.  
  11. # Flash this firmware by copying "out/klipper.bin" to a SD card and
  12. # turning on the printer with the card inserted. The firmware
  13. # filename must end in ".bin" and must not match the last filename
  14. # that was flashed.
  15.  
  16. # See docs/Config_Reference.md for a description of parameters.
  17.  
  18. [stepper_x]
  19. step_pin: PB9
  20. dir_pin: PC2
  21. enable_pin: !PC3
  22. microsteps: 16
  23. rotation_distance: 40
  24. endstop_pin: ^PA5
  25. position_endstop: 0
  26. position_max: 235
  27. homing_speed: 50
  28.  
  29. [stepper_y]
  30. step_pin: PB7
  31. dir_pin: PB8
  32. enable_pin: !PC3
  33. microsteps: 16
  34. rotation_distance: 40
  35. endstop_pin: ^PA6
  36. position_endstop: 0
  37. position_max: 235
  38. homing_speed: 50
  39.  
  40. [stepper_z]
  41. step_pin: PB5
  42. dir_pin: !PB6
  43. enable_pin: !PC3
  44. microsteps: 16
  45. rotation_distance: 8
  46. # position_endstop: 0.0 # disable to use BLTouch
  47. # endstop_pin: ^PA7 # disable to use BLTouch
  48. endstop_pin: probe:z_virtual_endstop # enable to use BLTouch
  49. position_min: -5 # enable to use BLTouch
  50. position_max: 250
  51.  
  52. [safe_z_home] # enable for BLTouch
  53. home_xy_position: 157.5,120.5
  54. speed: 100
  55. z_hop: 10
  56. z_hop_speed: 5
  57.  
  58. [bltouch] # enable for BLTouch - fast-mode
  59. sensor_pin: ^PB1
  60. control_pin: PB0
  61. pin_up_touch_mode_reports_triggered: True
  62. probe_with_touch_mode: True
  63. x_offset: -44 # modify as needed for bltouch location
  64. y_offset: -6 # modify as needed for bltouch location
  65. z_offset: 0.5 # modify as needed for bltouch or run PROBE_CALIBRATE
  66. speed: 10
  67. samples: 3
  68. sample_retract_dist: 5.0 # Can be set lower, example 2.5 depending on height of bltouch from bed
  69. lift_speed: 40
  70. samples_tolerance_retries: 3
  71. speed: 10
  72. samples: 2
  73.  
  74. [bed_mesh]
  75. speed: 80
  76. horizontal_move_z: 5
  77. mesh_min: 18,18
  78. mesh_max: 175,202
  79. probe_count: 5,5
  80. algorithm: bicubic
  81.  
  82. # # manual Bed adjustment via BED_SCREWS_ADJUST
  83. # [bed_screws]
  84. # screw1: 72.5, 41.5
  85. # screw1_name: front left screw
  86. # screw2: 198.5,35.5
  87. # screw2_name: front right screw
  88. # screw3: 198.5,205.5
  89. # screw3_name: rear right screw
  90. # screw4: 28.5,205.5
  91. # screw4_name: rear left screw
  92. # horizontal_move_z: 10
  93. # speed: 50
  94.  
  95. [screws_tilt_adjust]
  96. screw1: 72.5, 41.5
  97. screw1_name: front left screw
  98. screw2: 198.5,41.5
  99. screw2_name: front right screw
  100. screw3: 198.5,212.5
  101. screw3_name: rear right screw
  102. screw4: 72.5,212.5
  103. screw4_name: rear left screw
  104. horizontal_move_z: 10
  105. speed: 50
  106. screw_thread: CW-M4
  107.  
  108. [input_shaper]
  109. shaper_freq_x: 100
  110. shaper_freq_y: 100
  111. shaper_type: mzv
  112.  
  113. [gcode_macro G29]
  114. gcode:
  115. G28
  116. BED_MESH_CALIBRATE
  117. G0 X0 Y0 Z10 F6000
  118. BED_MESH_PROFILE save=default
  119. SAVE_CONFIG
  120.  
  121.  
  122. [extruder]
  123. max_extrude_only_distance: 100.0
  124. step_pin: PB3
  125. dir_pin: PB4
  126. enable_pin: !PC3
  127. microsteps: 16
  128. rotation_distance: 33.500
  129. nozzle_diameter: 0.400
  130. filament_diameter: 1.750
  131. heater_pin: PA1
  132. sensor_type: EPCOS 100K B57560G104F
  133. sensor_pin: PC5
  134. control: pid
  135. pid_Kp: 21.527
  136. pid_Ki: 1.063
  137. pid_Kd: 108.982
  138. min_temp: 0
  139. max_temp: 250
  140.  
  141. [heater_bed]
  142. heater_pin: PA2
  143. sensor_type: EPCOS 100K B57560G104F
  144. sensor_pin: PC4
  145. control: pid
  146. pid_Kp: 54.027
  147. pid_Ki: 0.770
  148. pid_Kd: 948.182
  149. min_temp: 0
  150. max_temp: 130
  151.  
  152. [fan]
  153. pin: PA0
  154.  
  155. [mcu]
  156. serial: /dev/serial/by-id/usb-1a86_USB_Serial-if00-port0
  157. restart_method: command
  158.  
  159. [printer]
  160. kinematics: cartesian
  161. max_velocity: 300
  162. max_accel: 3000
  163. max_accel_to_decel: 3000
  164. max_z_velocity: 5
  165. max_z_accel: 100
  166.  
  167. [display]
  168. lcd_type: st7920
  169. cs_pin: PB12
  170. sclk_pin: PB13
  171. sid_pin: PB15
  172. encoder_pins: ^PB14, ^PB10
  173. click_pin: ^!PB2
  174.  
  175. [board_pins]
  176. aliases:
  177. EXP1_1=PC6,EXP1_3=PB10,EXP1_5=PB14,EXP1_7=PB12,EXP1_9=<GND>,
  178. EXP1_2=PB2,EXP1_4=PB11,EXP1_6=PB13,EXP1_8=PB15,EXP1_10=<5V>,
  179. PROBE_IN=PB0,PROBE_OUT=PB1,FIL_RUNOUT=PC6
  180.  
  181. [include mainsail.cfg]
  182.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement