-
-
Notifications
You must be signed in to change notification settings - Fork 17
Description
Describe the bug
I think there is a significant error somewhere in the Code.
But only to how to read the flow Data. I tested today the code with a 10L bucket. With a contestant flow in the bucked.
But the Flow Rate dropped significantly. My stopped time was around 54secs for the 10L bucked to fill up.
The Result shown on the serial Screen told me by using getFlowRate_s a Number constant lower than 0.00 and the number for l/min was also never peaking over 1.11.
The Flowrate was constantly dropping, witches seems auspices to me. (Because I only opened the valve in one go and I also closed it in one go)
However, the measurement of the Amount was quite accurate.
To Reproduce
Steps to reproduce the behavior:
Measure the FlowRate with a 10L Bucked and stop the time how long it will take to fill up.
Check the Time it took and how much it filled up and compare that with the Data the program Tells you...
Recalculate the flow rate with your measured Time and the amount the bucked is filled. Now you get your average flow Rate.
Expected behavior
To get some Flowrate near my calculations...
Screenshots
My main.cpp void loop() Code I used for the fast test
IDE and its version:
- Arduino (2.1.0)
- PlatformIO (3.4.4)
Device
- Arduino Uno
- YF-S201 FlowSensor



