Yf-s201 Proteus Library __exclusive__ -
Are you looking to use a like an ESP32 or PIC? Share public link
For every 1 L/min of water flow, the YF-S201 outputs a 7.5 Hz pulse train. So, to simulate a flow rate of , you would set the generator to output a 75 Hz signal. A flow rate of 30 L/min would require a 225 Hz signal. By adjusting the generator's frequency, you can simulate low or high flow conditions and observe how your code responds.
If you cannot find a functional custom library file, you can perfectly replicate the YF-S201 sensor behavior using standard Proteus components. Because the sensor output is simply a digital square wave, you can use a or a Pulse Voltage Source (PULSE) . Open the Pick Devices window and search for PULSE . yf-s201 proteus library
Inside the YF-S201, a pinwheel rotor contains a magnet. As water flows, the rotor spins. A Hall Effect sensor detects the magnetic field changes and outputs a digital pulse train. The frequency of these pulses is directly proportional to the flow rate.
A typical flow meter system involves reading the sensor's pulse output with a microcontroller. In Proteus, you can connect: Are you looking to use a like an ESP32 or PIC
The YF-S201 is a Hall-effect-based sensor that measures the rate of liquid flowing through it. Its working principle is straightforward: as water flows, it spins a small magnetic rotor, and a Hall effect sensor detects this rotation, converting it into a digital pulse train. The frequency of these pulses is directly proportional to the water flow rate, which is the key to all measurements.
To build a complete simulation environment, wire your simulated YF-S201 to an Arduino Uno model inside Proteus. A flow rate of 30 L/min would require a 225 Hz signal
You can download custom libraries for Proteus from electronic design hubs like The Engineering Projects or GitHub . Look for a package containing the TEP_YFS201.IDX and TEP_YFS201.LIB files. 2. Installation Steps
Last updated: 2025. This article will be refreshed as new library versions become available for Proteus 9 and beyond.