Solution
The flow meter uses a Quadrature Encoder which outputs two square-wave signals slightly shifted to each other. There are two possibilities to measure the meter's output:
- The typical approach is to use a Quadrature Counter. Such a counter will make use of both of the meter's channels and can detect motion, direction, and position.
- Using a counter with Edge Detection on one of the meter's output channels is sufficient for basic motion detection.
However, both use cases will use one full hardware counter, so the only advantage of using edge detection over quadrature counting would be saving one signal wired to the input device.