Go Down

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

jimfrankfort

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?

thanks.....jim

groundfungus

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

wb8nbs

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
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy