I used an LDO Oribiter Filament Sensor PCB Kit from KB3D. You can learn more about the sensor (including differences between the versions) here: https://www.orbiterprojects.com/orbiter-filament-sensor/
Purchase Link: https://geni.us/ldo-orbiter-frs (affiliate)
There is a configuration file which can be easily modified to work with a V0. It requires 2 input pins that might require changing the pull-up ‘^’ or inversion ‘!’
On my LDO V0.2-S1 kit I used the 5 Pin UART header to connect to the PCB. Only 4 of the 5 are required:
5V
GND
IO0
IO1
The 2 IO Pins connect to the two micro switches on the PCB. One acts as the filament sensor in combination with the ball bearing in the filament path. The other is the unload button. You just have to keep in mind which is which and set the pins appropriately in the config.
Here is the pin set up I used for my config.
#///////////////////////////filament sensor button macros/////////////////////////////////////////////////
[gcode_button filament_sense]
pin: ^!gpio1 # remove the negation "!" for sensor v1 - use just PA9 as example
press_gcode: # sensor released -runnout detected!
runnout_init
# M118 Sense Pressed
release_gcode: #gcode macro for filament auto-load, sensor pressed
filament_load_init
# M118 Sense Release
# #********************************************************************************************************
#////////////////////////////////////////Filament Unload macros/////////////////////////////////////////////////
[gcode_button filament_unload]
pin: ^!gpio0 # remove the negation "!" for sensor v1 - use just PA9 as example
release_gcode: # filament unload procedure
# M118 Unload Released
filament_unload_init
press_gcode: # do not add any macro call here
# M118 Unload Pressed
The URBI Mod by @MapleLeafMakers bypasses the standard V0 filament inlet and FRS (V0.2r1). Instead of running into the printer's foot, through the electronics bay, and through the Frame PCB into the chamber, it goes directly from the spool into the chamber. This shortens the reverse bowden tube and subsequently makes loading filament much shorter.
I originally modded the original Voron V0.2r1 Foot sensor with an Obiter Filament Sensor. Combining it with the URBI mod through the back of the printer makes a lot more sense IMO.
The author remixed this model.
Benefits of URBI combined with smart filament runout sensing. Utilizes macros to pause, heat, load and unload filament.