Hi There,
I'm trying to set up filament blockage detection using a BTT Smart Filament Sensor in Repetier V2. I can only get the filament runout part to work but not the jam part. Here is what I have in configuration_io.h. Is there something else I have to add?
// BTT SFS V2.0 Smart Filament Sensor
// Blue wire (switch/runout) on PG14 = ORIG_E3_DIAG_PIN
IO_INPUT_PULLUP(IOSFSSwitch, ORIG_E3_DIAG_PIN)
// BTT SFS V2.0 Smart Filament Sensor — encoder (green wire) on PG11 (ORIG_E0_DIAG_PIN)
IO_INPUT_PULLUP(IOSFSEncoder, ORIG_E0_DIAG_PIN)
// BTT SFS V2.0 — simple filament runout detector on blue wire (PG14)
FILAMENT_DETECTOR(filamentSensor, IOSFSSwitch, ToolExtruder1)
// BTT SFS V2.0 — must be after E1Motor so E1MotorType is defined
STEPPER_OBSERVEABLE(extruderObserver, E1Motor)
JAM_DETECTOR_HW(jamSensor,
extruderObserver,
IOSFSEncoder,
ToolExtruder1,
5472, // distanceSteps (2.88mm × 1900 steps/mm)
1368, // jitterSteps (25% of distanceSteps)
200) // jamPercentage — tune down after calibration
Thank you