If you are using the custom YF-S201 simulation library, use the interactive component buttons to increase or decrease the simulated water flow. If you are using a PULSE generator, change its frequency setting (e.g., 37.5 Hz for 5 L/min, 75 Hz for 10 L/min).
Since a default 3D/2D visual "YF-S201" component is rare in basic Proteus installations, you have two primary methods to simulate it: using a custom downloaded library or using standard interactive components. Method 1: Installing a Custom Proteus Library yf-s201 proteus library
: If a specific YF-S201 model is unavailable, you can use a Pulse Generator or a Logic State switch connected to your microcontroller's interrupt pin to mimic the sensor's behavior during simulation. Interfacing with Arduino If you are using the custom YF-S201 simulation
To work with the YF-S201 water flow sensor using Proteus for simulation and an Arduino or similar microcontroller for the actual implementation, you'll need to integrate a few components in your Proteus simulation and write appropriate code for your microcontroller. The YF-S201 is a popular water flow sensor that outputs a pulse signal proportional to the flow rate of water. Method 1: Installing a Custom Proteus Library :
Navigate to your Proteus library folder. The default path for modern versions is usually: C:\Program Data\Labcenter Electronics\Proteus 8 Professional\Data\LIBRARY (Note: ProgramData is a hidden folder by default in Windows Core settings). Paste both the .IDX and .LIB files into this folder. Step 3: Verify Installation Launch Proteus. Open a new schematic capture window. Press on your keyboard to open the "Pick Devices" window.
Double-click the Arduino Uno component in Proteus and upload the Hex file to its program property path.