Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question : where to find FlowMeter Pulse/Liter #14

Open
hallard opened this issue Jul 7, 2023 · 1 comment
Open

Question : where to find FlowMeter Pulse/Liter #14

hallard opened this issue Jul 7, 2023 · 1 comment

Comments

@hallard
Copy link

hallard commented Jul 7, 2023

May be stupid but I would like to know how do you know (or calculate) number of pulse by liter in your sensors definition

// Sensor Type
// -----------------------
// YF
#define YFS201	450
#define YFB1	660
// OF
#define OF10ZAT	400
#define OF10ZZT	400
#define OF05ZAT	2174
#define OF05ZZT	2174
//------------------------

Did you calibrated somewhere or measured it?

Looking at datasheet I can't find anywhere where is the number of pulse by liter.
YF-S201 datasheet does not mention anywhere.

Thanks

@hafidhh
Copy link
Owner

hafidhh commented Nov 6, 2024

many people use 450 for ysf201 but you can get it from flow and freq table (error +- 10%)

at the 1st row you will get 16hz for 120 L/H
to get pulse : 16 x 60 x 60 (freq = pulse/sec)
pulse = 57600 pulse for 120 L
pulse / liter = 57600 / 120 = 480

at the last row you can see 90.2hz for 720 L/H
pulse = 90.2 x 60 x 60
pulse = 324720 pulse for 720 L
pulse / liter = 324720 / 720 = 451

or you can get pulse/liter from
https://components101.com/sensors/yf-s201-water-flow-measurement-sensor
at features you will get pulse/liter = 450
when you click component datasheet in the link above you will see datasheet you mentioned

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants