Open Proteus. In the Pick Devices window (press the "P" key), type YF-S201 or YFS201 in the search bar. The component should appear. If it doesn’t, double-check the folder path and file integrity.
If you need accurate, continuous flow simulation, consider these alternatives to a pure Proteus library:
The YF-S201 is a popular water flow sensor used in various DIY projects, home automation, and industrial applications to measure the flow rate of water. It works on the Hall effect principle, detecting the flow of water through a rotating wheel with magnets. As water flows, it turns the wheel, and the sensor outputs a series of pulses that can be counted to calculate the flow rate. yf-s201 proteus library
Build a variable frequency oscillator using a 555 timer IC and a potentiometer. Turning the pot changes the simulated flow rate. This is educational but messy for large schematics.
Since the sensor alone doesn't simulate flow, combine it with a Frequency Generator: Open Proteus
Consider using Wokwi (online), Tinkercad (limited), or Proteus’s own Flow Sensor if a different model exists (e.g., FS300A). Some users adapt the YF‑S401 library (low-flow version) with scaling.
Create a rectangle with these pins:
| Pin Number | Pin Name | Type | PCB Pad | |------------|----------|------|---------| | 1 | VCC | POWER | 1 | | 2 | GND | POWER | 2 | | 3 | SIGNAL | OUTPUT| 3 |
Arrange them: VCC top, GND bottom, SIGNAL right. For 10 L/min: Frequency = 45 Hz → Period ≈ 22