Water flow sensor consists of a plastic valve body, a water rotor, and a hall-effect sensor. When water flows through the rotor, rotor rolls. Its speed changes with different rate of flow. The hall-effect sensor outputs the corresponding pulse Signal.
[Link: http://www.seeedstudio.com/wiki/G1/2_Water_Flow_sensor]