voronklipperconfig/mmu/base/mmu.cfg
2025-03-20 15:01:04 +00:00

101 lines
3.5 KiB
INI

########################################################################################################################
# Happy Hare MMU Software
#
# EDIT THIS FILE BASED ON YOUR SETUP
#
# Copyright (C) 2022-2025 moggieuk#6538 (discord)
# moggieuk@hotmail.com
# This file may be distributed under the terms of the GNU GPLv3 license.
#
# Goal: Happy Hare MMU hardware pin config
#
# (\_/)
# ( *,*)
# (")_(") Happy Hare Ready
#
#
# This contains aliases for pins for MCU type MMB11
#
[mcu mmu]
serial: /dev/serial/by-id/usb-Klipper_stm32f446xx_210044000150335331383520-if00 # Change to `canbus_uuid: 1234567890` for CANbus setups
# PIN ALIASES FOR MMU MCU BOARD ----------------------------------------------------------------------------------------
# ██████╗ ██╗███╗ ██╗ █████╗ ██╗ ██╗ █████╗ ███████╗
# ██╔══██╗██║████╗ ██║ ██╔══██╗██║ ██║██╔══██╗██╔════╝
# ██████╔╝██║██╔██╗ ██║ ███████║██║ ██║███████║███████╗
# ██╔═══╝ ██║██║╚██╗██║ ██╔══██║██║ ██║██╔══██║╚════██║
# ██║ ██║██║ ╚████║ ██║ ██║███████╗██║██║ ██║███████║
# ╚═╝ ╚═╝╚═╝ ╚═══╝ ╚═╝ ╚═╝╚══════╝╚═╝╚═╝ ╚═╝╚══════╝
# Section to create alias for pins used by MMU for easier integration into Klippain and RatOS. The names match those
# referenced in the mmu_hardware.cfg file. If you get into difficulty you can also comment out this aliases definition
# completely and configure the pin names directly into mmu_hardware.cfg. However, use of aliases is encouraged.
# Note: that aliases are not created for TOOLHEAD_SENSOR, EXTRUDER_SENSOR or SYNC_FEEDBACK_SENSORS because those are
# most likely on the printer's main mcu. These should be set directly in mmu_hardware.cfg
#
[board_pins mmu]
mcu: mmu # Assumes using an external / extra mcu dedicated to MMU
aliases:
MMU_GEAR_UART=PA10,
MMU_GEAR_STEP=PB15,
MMU_GEAR_DIR=PB14,
MMU_GEAR_ENABLE=PB8,
MMU_GEAR_DIAG=PA3,
MMU_GEAR_UART_1=,
MMU_GEAR_STEP_1=,
MMU_GEAR_DIR_1=,
MMU_GEAR_ENABLE_1=,
MMU_GEAR_DIAG_1=,
MMU_GEAR_UART_2=,
MMU_GEAR_STEP_2=,
MMU_GEAR_DIR_2=,
MMU_GEAR_ENABLE_2=,
MMU_GEAR_DIAG_2=,
MMU_GEAR_UART_3=,
MMU_GEAR_STEP_3=,
MMU_GEAR_DIR_3=,
MMU_GEAR_ENABLE_3=,
MMU_GEAR_DIAG_3=,
MMU_SEL_UART=PC7,
MMU_SEL_STEP=PD2,
MMU_SEL_DIR=PB13,
MMU_SEL_ENABLE=PD1,
MMU_SEL_DIAG=PA4,
MMU_SEL_ENDSTOP=PB2,
MMU_SEL_SERVO=PA0,
MMU_ENCODER=PA1,
MMU_GATE_SENSOR=,
MMU_NEOPIXEL=PA2,
MMU_PRE_GATE_0=PB9,
MMU_PRE_GATE_1=PA8,
MMU_PRE_GATE_2=PC15,
MMU_PRE_GATE_3=PC13,
MMU_PRE_GATE_4=PC14,
MMU_PRE_GATE_5=PB12,
MMU_PRE_GATE_6=PB11,
MMU_PRE_GATE_7=PB10,
MMU_PRE_GATE_8=,
MMU_PRE_GATE_9=,
MMU_PRE_GATE_10=,
MMU_PRE_GATE_11=,
MMU_POST_GEAR_0=,
MMU_POST_GEAR_1=,
MMU_POST_GEAR_2=,
MMU_POST_GEAR_3=,
MMU_POST_GEAR_4=,
MMU_POST_GEAR_5=,
MMU_POST_GEAR_6=,
MMU_POST_GEAR_7=,
MMU_POST_GEAR_8=,
MMU_POST_GEAR_9=,
MMU_POST_GEAR_10=,
MMU_POST_GEAR_11=,