10-26-2015 11:30 PM
Hi, guys
I'm using flowmeter sensors YF-S201 in a project and I wanna read the frequecy from this component.
Summarazing, this sensor is based on Hall effect: a frequency pulse varies while the internal rotor is moved by a liquid that pass inside passage. On Arduino, I can read this pulse in a digital pin using a interrupt in the programming.
How can I read a variable frequency to calculte the flow using Labview Interface for Arduino or another Labview function?
Thanks,
Sierra
10-27-2015 08:49 PM
LIFA doesn't have any functionality to read a singal frequency. LINX (the replacement for LIFA since LIFA is deprecated), however, provides access to the pulseIn() function which will give you the pulse width of a single pulse which you might be able to assume you can calculate the frequency from that (I say "might" because this method won't mitigate any random noise in teh signal but it really depends on how accurate you need to be in your application).
10-28-2015 10:51 AM
Thanks for answer Nathan_B.!!
I was reading another discussions about this topic and ... Won't be easy kkk
I'm looking for use a LM2907 or 2917 to converte frequency to tension and read a analog signal from the flowmeters. OR try to use the pulseIn().
Anyway, thanks again Nathan_B.
03-16-2018 10:52 AM
Hi GuiSierra,
did you solve your issue? I'm dealing with the same application for my thesis but I'm stuck. Could you please provide some guidelines? Thank you very much
09-13-2018 03:07 AM
Hello everyone,
As I was dealing with the same issue (using Labview with a YF-201 Flowmeter), I came across a solution.
In my case, I had access to a NI9219 acquisition card to read voltages.
The principle goes like this :
I am not sure if this solution is 100% working and I highly doubt that it is optimized in any way.
I hope it will help you. I may share my VI if needed.
Regards,
02-25-2019 12:50 AM
hello
I would like to do same as your project, to mesure the frequency of the pulse generated bu the flowmeter.
did you fine any solution.
please help me.