Go Down

Topic: do YF-S201 flow sensors bounce? (Read 203 times) previous topic - next topic


do YF-S201 flow sensor's bounce?

Why do I ask?  My project has 3 flow sensors and a bunch of other sensors too.  I'm thinking that having each flow sensor on its own interrupt may preclude me from using some shields.  My plan is to poll them at twice the frequency produced by the max flow rate I expect to see.  In that way, I can monitor them all for a change in state.  If the sensor bounces, then I need to add some debouncing logic and change my sampling frequency. I'd rather skip this if I could.....so I need to know, do they bounce?



The flow meter uses a Hall effect sensor so should not exhibit bounce. 


This is how the example flow sensor code from Adafruit works. There is a discussion of polling multiple sensors in https://forums.adafruit.com/viewtopic.php?f=19&t=77660&p=409053#p409053
He who dies with the most software wins.

Go Up