Kevin
Kevin

目录

Marlin配置基本功能小结

显示自定义启动画面

file

  1. SHOW_BOOTSCREEN, 启动时显示Marlin的LOGO
  2. SHOW_CUSTOM_BOOTSCREEN,显示Marlin/_Bootscreen.h在启动界面
  3. CUSTOM_STATUS_SCREEN_IMAGE,显示Marlin/_Statusscreen.h在状态界面

热传感器脱落保护(最重要的配置!!!)

file

#define THERMAL_PROTECTION_HOTENDS // Enable thermal protection for all extruders
#define THERMAL_PROTECTION_BED     // Enable thermal protection for the heated bed
#define THERMAL_PROTECTION_CHAMBER // Enable thermal protection for the heated chamber

喷头数目

#define EXTRUDERS 0

耗材直径传感器

如果有耗材直径,可以通过根据直径控制流量
file

#define DEFAULT_NOMINAL_FILAMENT_DIA 1.75

MK2混色器

可以用一个电机驱动器同时驱动2-8个步进电机,没有Prusa MK2混色器就不用启动了。

#define MK2_MULTIPLEXER

切换挤出头

file
这是用于Prusa Multi-Material Unit v2的功能,需要喷头数量达到5和NOZZLE_PARK_FEATURE

#define SWITCHING_EXTRUDER

切换喷嘴

双挤出头可以用一个舵机提高其中一个或两个喷嘴。

#define SWITCHING_NOZZLE

挤出头停靠

通过一个电磁铁来带动另一个打印头进行打印
//#define PARKING_EXTRUDER
通过一个磁铁来带动另一个打印头进行打印
项目链接:https://www.thingiverse.com/thing:3080893
视频1:https://youtu.be/0xCEiG9VS3k
视频2:https://youtu.be/Bqbcs0CU2FE

#define PARKING_EXTRUDER

切换工具头

通过一个舵机锁定工具头

define SWITCHING_TOOLHEAD

通过一个磁铁锁定工具头

#define MAGNETIC_SWITCHING_TOOLHEAD

通过一个电磁铁锁定工具头,视频:https://youtu.be/JolbsAKTKf4

#define ELECTROMAGNETIC_SWITCHING_TOOLHEAD

混合挤出头

#define MIXING_EXTRUDER

喷头位移

通过固件来切换喷头,设置喷头位移

#define HOTEND_OFFSET_X { 0.0, 20.00 } // (mm) relative X-offset for each nozzle
#define HOTEND_OFFSET_Y { 0.0, 5.00 }  // (mm) relative Y-offset for each nozzle
#define HOTEND_OFFSET_Z { 0.0, 0.00 }  // (mm) relative Z-offset for each nozzle

电源供应

#define PSU_CONTROL
#define PSU_NAME "Power Supply"

PID热床控制

#define PIDTEMPBED

限位开关设置

#define USE_XMIN_PLUG
#define USE_YMIN_PLUG
#define USE_ZMIN_PLUG
//#define USE_XMAX_PLUG
//#define USE_YMAX_PLUG
//#define USE_ZMAX_PLUG

限位开关反转

#define X_MIN_ENDSTOP_INVERTING false // Set to true to invert the logic of the endstop.
#define Y_MIN_ENDSTOP_INVERTING false // Set to true to invert the logic of the endstop.
#define Z_MIN_ENDSTOP_INVERTING false // Set to true to invert the logic of the endstop.
#define X_MAX_ENDSTOP_INVERTING false // Set to true to invert the logic of the endstop.
#define Y_MAX_ENDSTOP_INVERTING false // Set to true to invert the logic of the endstop.
#define Z_MAX_ENDSTOP_INVERTING false // Set to true to invert the logic of the endstop.
#define Z_MIN_PROBE_ENDSTOP_INVERTING false // Set to true to invert the logic of the probe.

电机配置

默认使用A4988,如果不是A4988才需要改变

//#define X_DRIVER_TYPE  A4988
//#define Y_DRIVER_TYPE  A4988
//#define Z_DRIVER_TYPE  A4988
//#define X2_DRIVER_TYPE A4988
//#define Y2_DRIVER_TYPE A4988
//#define Z2_DRIVER_TYPE A4988
//#define Z3_DRIVER_TYPE A4988
//#define Z4_DRIVER_TYPE A4988
//#define E0_DRIVER_TYPE A4988
//#define E1_DRIVER_TYPE A4988
//#define E2_DRIVER_TYPE A4988
//#define E3_DRIVER_TYPE A4988
//#define E4_DRIVER_TYPE A4988
//#define E5_DRIVER_TYPE A4988
//#define E6_DRIVER_TYPE A4988
//#define E7_DRIVER_TYPE A4988

限位开关终端

任何限位开关触发中断打印,开启后会占有较多CPU

#define ENDSTOP_INTERRUPTS_FEATURE