Library ((top)) | Yfs201 Proteus
Copy the .LIB and .IDX files (e.g., WaterSensorTEP.LIB ) and paste them into the Proteus Library folder. 3. Add the Model in Proteus Open Proteus. Pick Component: Click 'P' to enter the component picker. Search: Type "Water Sensor" or "YFS201".
Move both files into the library folder of your Proteus installation directory. The default paths generally look like this:
Several electronics retailers that sell the physical YFS201 sensor also maintain resources pages where Proteus library files are occasionally shared. When evaluating libraries from these sources, prioritize those that have clear version compatibility information and were uploaded relatively recently. yfs201 proteus library
To test the sensor virtually, build a circuit featuring an Arduino Uno, the YF-S201 library model, a frequency generator (to simulate water flow), and an LCD display to view the data.
produces pulses based on flow. The frequency of the pulse is roughly proportional to the flow rate. Frequency (Hz) = 7.5 × Flow Rate (L/min) Copy the
[Pulse Generator] │ ▼ [YF-S201 Model] ──(Signal Pin)──► [Arduino Uno Pin 2 (INT0)] │ │ ▼ ▼ [Ground] [16x2 LCD Display] Required Components Arduino Uno R3 YF-S201 Sensor Model 16x2 I2C LCD (or LM016L standard text LCD)
is a Hall Effect-based sensor used to measure water flow and volume. It consists of a plastic valve body, a magnetic rotor, and a Hall Effect sensor. As water passes through, the rotor spins, triggering the Hall sensor to output digital pulses proportional to the flow rate. 1 to 30 Liters/Minute. Pick Component: Click 'P' to enter the component picker
To simulate accurately, you must understand the real hardware.
The simplest functional circuit involves connecting the YFS201 to an Arduino (or any compatible microcontroller) as follows:
The sensor outputs a digital signal—not an analog one—which means it should be connected to a digital input pin on your microcontroller, typically one that supports hardware interrupts for accurate pulse counting.