The YF-S201 is a Hall-effect-based water flow sensor. It consists of a plastic valve body, a rotor (impeller), and a Hall-effect sensor. When water flows through the sensor, the rotor spins. A magnet attached to the rotor activates the Hall-effect sensor, which generates a square wave pulse. The frequency of this pulse is directly proportional to the flow rate.
The standard conversion formula provided by the manufacturer is:
To use the YF-S201 in Proteus, you need a custom simulation model (*.IDX, *.LIB files). Step 1: Download the Library
The sensor model requires an initial flow rate parameter. Fix: Double-click the YF-S201. Look for a property like FLOW_RATE . Set it to a positive integer (e.g., 10). If the property doesn’t exist, the library is a passive model – replace it with a pulse generator as a workaround.
Adding this sensor to your Proteus environment requires manually placing library files into the software's installation directory.
Search for DCLOCK or SIGNAL GENERATOR in Proteus.
With the library installed, you can now build your virtual monitoring system. This example utilizes an Arduino Uno, an LCD screen, and the YF-S201 model.
To use the YF-S201 in your simulation, follow these steps to install external libraries like those found on Electronics Tree or The Engineering Projects :
Tell you to download from specific popular electronics libraries.
Open Proteus ISIS Schematic Capture. Press P on your keyboard to open the "Pick Devices" window. Search for YF-S201 or Flow Sensor . If installed correctly, the component model will appear with an interactive configuration panel.
Because the YF-S201 is such a popular and affordable component for flow measurement, it is an essential addition to any serious electronics simulation toolkit. Luckily, we do not have to build the model from scratch. A dedicated and free YF-S201 Flow Sensor Library for Proteus 8 has been developed and is available for download. This third-party library provides a ready-to-use component, complete with a schematic symbol and a behavioral model that accurately mimics the sensor's pulse output in response to a simulated flow rate.
Because Proteus does not include a visual "YF-S201" module in its default pick-device library, you must construct a functional equivalent using standard signal generators. Required Components List