Bread_clip

Printer Config

Jan 4th, 2026
21
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.22 KB | None | 0 0
  1. # This file contains common pin mappings for Longer LK4 Pro.
  2. # To use this config, the firmware should be compiled for the AVR
  3. # atmega2560 (though other AVR chips are also possible).
  4.  
  5. # See docs/Config_Reference.md for a description of parameters.
  6.  
  7. [stepper_x]
  8. step_pin: PF0
  9. dir_pin: !PF1
  10. enable_pin: !PD7
  11. microsteps: 16
  12. rotation_distance: 40
  13. endstop_pin: ^!PE5
  14. position_endstop: 0
  15. position_max: 235
  16. homing_speed: 50
  17.  
  18. [stepper_y]
  19. step_pin: PF6
  20. dir_pin: PF7
  21. enable_pin: !PF2
  22. microsteps: 16
  23. rotation_distance: 40
  24. endstop_pin: ^!PJ1
  25. position_endstop: 0
  26. position_max: 235
  27. homing_speed: 50
  28.  
  29. [stepper_z]
  30. step_pin: PL3
  31. dir_pin: !PL1
  32. enable_pin: !PK0
  33. microsteps: 16
  34. rotation_distance: 8
  35. endstop_pin: ^!PC2
  36. # Uncomment for BLTouch
  37. # endstop_pin: probe:z_virtual_endstop
  38. position_endstop: 0.5
  39. position_max: 250
  40.  
  41. # Uncomment this section for BLTouch
  42.  
  43. # [homing_override]
  44. # axes: z
  45. # set_position_z: 0.0
  46. # gcode:
  47. # G90
  48. # G0 Z5 F600
  49. # G28 X0 Y0
  50. # G0 X143 Y137 F3600
  51. # G28 Z0
  52. # G0 Z5 F600
  53.  
  54. # [bltouch]
  55. # According this follow mapping :
  56. # https://arduiblog.com/2020/06/22/installation-dun-bltouch-sur-lalfawise-u30-pro/
  57. # & see "Branchement" paragraph & picture
  58. # sensor_pin: ^PC2
  59. # control_pin: PH4
  60. # If you use this fang : https://www.thingiverse.com/thing:3603067
  61. # you can use this follow values for x & y offset
  62. # x_offset: -28
  63. # y_offset: -26
  64. # and test this z_offset
  65. # z_offset: 1.56
  66.  
  67. # [bed_mesh]
  68. # mesh_min: 16, 16
  69. # mesh_max: 201, 200
  70. # probe_count: 4, 3
  71.  
  72. [extruder]
  73. step_pin: PA4
  74. dir_pin: !PA6
  75. enable_pin: !PA2
  76. microsteps: 16
  77. rotation_distance: 34.5576
  78. nozzle_diameter: 0.400
  79. filament_diameter: 1.750
  80. heater_pin: PB4
  81. sensor_type: EPCOS 100K B57560G104F
  82. sensor_pin: PK5
  83. control: pid
  84. pid_Kp: 22.2
  85. pid_Ki: 1.08
  86. pid_Kd: 114
  87. min_temp: 0
  88. max_temp: 250
  89.  
  90. [filament_switch_sensor filament_sensor]
  91. switch_pin: ^!PE4
  92.  
  93. [heater_bed]
  94. heater_pin: PH5
  95. sensor_type: EPCOS 100K B57560G104F
  96. sensor_pin: PK6
  97. control: watermark
  98. min_temp: 0
  99. max_temp: 130
  100.  
  101. [fan]
  102. pin: PH6
  103.  
  104. [mcu]
  105. serial: /dev/ttyUSB0
  106.  
  107. [printer]
  108. kinematics: cartesian
  109. max_velocity: 300
  110. max_accel: 3000
  111. max_z_velocity: 5
  112. max_z_accel: 100
  113.  
  114. # Klipper doesn't able to working display at this time
  115.  
Advertisement
Add Comment
Please, Sign In to add comment