Gpio causes bouncing, don't understand debouncer

I have a water flow sensor connected to 3.3v and ground on my RPi3. If the water is low the the rpi-gpio IN node shows 1.
If the water is high it fluctuates quickly between 0 and 1. How should I use Debounce nodes to show 0 when it is quickly fluctuating between 0 and 1?

It might be that I do not need a debouncer. I found the following on AI:

Important Note on Pull-ups: The Raspberry Pi GPIO pins usually have built-in pull-up or pull-down resistors. For a float sensor connected to Ground (GND) and GPIO 17, you should ensure the GPIO is configured with a PULL-UP resistor. This keeps the voltage high (1) when the contacts are open (low water) and makes the voltage low (0) when the contacts are closed (high water).

After I set the Resistor value in the Node to Pulldown it seems to give a steady 0.

1 Like

It depends on what type of switch is in the water flow sensor.
If it's equipt with a hall sensor no debounce is required.
If there's an reed contact or similar like that debounce is required. Most of the time debounce of 20ms is enough.