I was missing a filament sensor on my Ender 3 Pro, and I had the Awesome Filament sensor from MapleLeafMakers on my V0, so decided to remix it, and make it more universal.
A Big Credit to Andre!
BOM :
I cannot provide any useful configuration for Marlin, as i run klipper on my machines.
[filament_switch_sensor filament_sensor]
switch_pin: #INSERT YOUR CORRECT PIN HERE#
pause_on_runout: True
insert_gcode:
M117 Insert Detected
runout_gcode:
M117 Runout Detected
SET_FILAMENT_SENSOR SENSOR=filament_sensor ENABLE=1
SET_FILAMENT_SENSOR SENSOR=filament_sensor ENABLE=0
The author remixed this model.