본문으로 건너뛰기

배선 및 설정

버퍼 내부 배선도

설치 영상

버퍼를 메인보드에 연결 및 설정 방법

중요 안내
  • 아래 배선 예시의 MMU 툴보드는 인터페이스 정의 참조용입니다. 실제 사용 시에는 다음을 참고해 주세요:
  1. 케이블을 KLIPPER 메인보드의 엔드스위치 신호 포트에 직접 연결하세요.
  2. 설정 파일(예: printer.cfg)에서 PD3, PD4, PD5에 해당하는 포트 번호 설정을 수정 및 확인하여 기능이 정상적으로 작동하도록 하세요.
  • 본 버퍼는 필라멘트 감지수동 제어 기능을 통합하였습니다:

  • 필라멘트 감지 (FILAMENT_SENSOR)

    • 신호 출력: 필라멘트가 끊어지면 버퍼의 PB15 핀에서 로우 레벨 신호가 출력됩니다.
  • 급이 버튼 (FEED)

    • 단일 클릭: 버퍼의 PA2 핀에서 3초간의 하이 레벨 펄스 신호가 출력됩니다.
    • 롱 클릭: 버튼을 놓을 때까지 지속적인 급이 동작을 수행합니다.
  • 리트랙트 버튼 (RETRACT)

    • 단일 클릭: 버퍼의 PA3 핀에서 3초간의 로우 레벨 펄스 신호가 출력됩니다.
    • 롱 클릭: 버튼을 놓을 때까지 지속적인 리트랙트 동작을 수행합니다.

배선 가이드

  • 위 기능을 사용할 경우, 아래 배선도를 참조하세요:

중요 안내
  • 도식의 MMU 툴보드는 인터페이스 정의 참조용입니다. 실제 사용 시에는 다음을 참고해 주세요:
  1. 케이블을 KLIPPER 메인보드의 엔드스위치 신호 포트에 직접 연결하세요.
  2. 설정 파일(예: printer.cfg)에서 PD3, PD4, PD5에 해당하는 포트 번호 설정을 수정 및 확인하여 기능이 정상적으로 작동하도록 하세요.

설정 예시

[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)
variable_extruder_time: 10 ## 시간 (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 time = printer["gcode_macro CONFIG"].extruder_time %}
{% set feedrate = speed * 60 %}

RESPOND MSG="Heat the extruder to {temp} °C"
RESPOND MSG="엑스트루더를 {temp} °C로 가열하세요"
M109 S{temp}

G4 P{time *1000}
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 time = printer["gcode_macro CONFIG"].extruder_time %}
{% set feedrate = speed * 60 %}

RESPOND MSG="Heat the extruder to {temp} °C"
RESPOND MSG="엑스트루더를 {temp} °C로 가열하세요"
M109 S{temp}

G4 P{time *1000}
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...