跳到主要内容

接线与配置

缓冲器内部接线图

安装视频

缓冲器接到主板与配置方法

  • 本缓冲器集成断料检测手动控制功能:

  • 断料检测 (FILAMENT_SENSOR)

    • 信号输出: 触发断料后,缓冲器的 PB15 引脚输出低电平信号
  • 进料按钮 (FEED)

    • 单击: 缓冲器的 PA2 引脚输出 3S高电平脉冲信号
    • 长按: 缓冲器将执行持续进料动作,直至松开按钮。
  • 退料按钮 (RETRACT)

    • 单击: 缓冲器的 PA3 引脚输出 3S低电平脉冲信号
    • 长按: 缓冲器将执行持续退料动作,直至松开按钮。

接线指南

  • 使用上述功能时,请参照下图接线:

重要提示
  • 图示中的 MMU工具板 仅为接口定义参考。实际使用时,您需要:
  1. 将线缆直接连接至您的主板(如Klipper、Marlin主板)的限位信号端口
  2. 在配置文件(如printer.cfg)中,修改并确认PD3PD4PD5对应的端口号配置,以确保功能正常。

配置参考

[mcu LLL_PLUS]
serial:/dev/serial/by-id/usb-Klipper_stm32h723xx_12345-if00

[filament_switch_sensor Material_breakage_detection]
pause_on_runout: true
switch_pin: ^LLL_PLUS:PD3
runout_gcode:
PAUSE
RESPOND MSG="material shortage"
insert_gcode:
RESPOND MSG="Detected"
event_delay: 1.0
pause_delay: 0.5

[gcode_button Load_consumables]
pin:^LLL_PLUS:PD4 # 替换成自己使用的引脚, 连接到进料的引脚
press_gcode:
_Load_consumables

[gcode_button RETRACT]
pin:^!LLL_PLUS:PD5 # 替换成自己使用的引脚, 连接到退料的引脚
press_gcode:
_RETRACT

[gcode_macro CONFIG]
description: 挤出机配置
variable_extruder_temp: 200 ## 温度
variable_extruder_length: 50 ## 长度
variable_extruder_speed: 5 ## 速度 (mm/s)
gcode:

[gcode_macro _Load_consumables] ## 进料
gcode:
{% set temp = printer["gcode_macro CONFIG"].extruder_temp %}
{% set length = printer["gcode_macro CONFIG"].extruder_length %}
{% set speed = printer["gcode_macro CONFIG"].extruder_speed %}
{% set feedrate = speed * 60 %}

RESPOND MSG="Heat the extruder to {temp} °C"
RESPOND MSG="加热挤出机到 {temp} °C"
M109 S{temp}

RESPOND MSG="Start feeding {length}mm"
RESPOND MSG="开始进料{length}mm"
G91 ; 相对坐标模式
G1 E{length} F{feedrate}
G90 ; 绝对坐标模式

RESPOND MSG="Extrusion completed"
RESPOND MSG="挤出完成"
M104 S0

[gcode_macro _RETRACT] ##退料
gcode:
{% set temp = printer["gcode_macro CONFIG"].extruder_temp %}
{% set length = printer["gcode_macro CONFIG"].extruder_length %}
{% set speed = printer["gcode_macro CONFIG"].extruder_speed %}
{% set feedrate = speed * 60 %}

RESPOND MSG="Heat the extruder to {temp} °C"
RESPOND MSG="加热挤出机到 {temp} °C"
M109 S{temp}

RESPOND MSG="Start material return {length}mm"
RESPOND MSG="开始退料{length}mm"
G91 ; 相对坐标模式
G1 E-{length} F{feedrate}
G90 ; 绝对坐标模式

RESPOND MSG="Return of materials completed"
RESPOND MSG="退料完成"
M104 S0


Loading...
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
Loading...