深圳市必趣科技有限公司
BIGTREETECH
5 / 6
2. Marlin
On Marlin, an extruder can only correspond to one filament detection, so we
choose "motion sensor", follow the steps below to enable the motion sensor (Note:
It is necessary to check whether the FIL_RUNOUT_PIN in the pin file of the
motherboard is the same as the actual motion sensor connecting pin).
#define FILAMENT_MOTION_SENSOR // set encoder type
#define FILAMENT_RUNOUT_DISTANCE_MM 3 // set sensitivity, the
recommended setting for SFS V2.0 is 3mm, which means if no signal of filament
movement is detected after 3mm of filament travel command, filament error will
be triggered.
The settings below also need to be set to instruct the printer to park the nozzle
after filament error is
detected.
#define NOZZLE_PARK_FEATURE // park nozzle
#define NOZZLE_PARK_POINT { (X_MIN_POS + 10), (Y_MAX_POS - 10), 20 }
// set the X, Y and Z offset coordinates of the nozzle