Restart Proteus to see the new component in the (P) menu.
To use the YF-S201 Water Flow Sensor Go to product viewer dialog for this item. yf-s201 proteus library
Before diving into the library, let's understand the hardware. Restart Proteus to see the new component in the (P) menu
oldTime = millis(); flowMilliLitres = (flowRate / 60) * 1000; totalMilliLitres += flowMilliLitres; totalMilliLitres += flowMilliLitres
Before jumping into Proteus, it is essential to understand how the hardware works. The YF-S201 consists of a plastic valve body and a water rotor. Inside the rotor, a Hall Effect sensor sits opposite a magnet.