Tag: water flow sensor

1 articles found.

YF-S201 Water Flow Sensor Library for Proteus V1.0: Flow Meter

YF-S201 Water Flow Sensor Library for Proteus V1.0: the sensor with its STATUS panel and the Advance pop-up

Hello friends, I hope you all are doing great. Today, I am going to share the new YF-S201 Water Flow Sensor Library for Proteus V1.0. The YF-S201 is the black plastic water flow sensor with a half-inch thread on both ends that shows up in so many Arduino projects: water meters for a tank or a garden, leak alarms, coffee machines, aquarium pumps and cooling loops. Water turns a small impeller inside it, and every turn gives a few pulses on its yellow wire - more water, faster pulses. Count them with an Arduino and you have a flow meter. Behind the part sits our own model, written from the YF-S201 datasheet. It gives the square wave the real sensor gives, 7.5 pulses a second for every litre per minute, with every edge at its exact time, so your interrupt code sees what it would see on a real pipe. You can open and close the tap while the simulation runs, pour exactly one litre for a calibration, add a leak, close a valve or connect a pulsing pump. The impeller stops at very low flows and slips a little just above them, like the real one. You get a Simple device with a live STATUS panel and an Advance device with a pop-up window and three test tools. The demo runs on our Arduino UNO V4.0. NOTICE: a flow sensor is easy to fake: a pulse generator with a knob. We wanted more. Our YF-S201 counts the water that really passed, its impeller speeds up and slows down with a little inertia, it does not turn at all for a dripping tap, and every part can have its own pulses per litre - so ...