пятница, 17 февраля 2012 г.

Using cheap water flow sensor for getting water flow level instead of just on/off threshold. FSC-GL1

FSC-GL1 is cheap water flow sensor. Originally it is used with just LED indicator with just 6 levels

Picture 1 of 2 

but with digital processing it is possible to obtain numeric value from it. Though signal is very noisy, and thus not precise.

 And also non linear.


Output vs water flow%

Resulting calibration plot:

ADC raw value vs water l/min

 

 

Output distribution. l/min vs rate



The distribution is normal. Around 10% which is ok for non sensitive applications.