: Open the file location of your Proteus installation. The path is generally:
The is a third-party simulation block that models the YF-S201 Hall-Effect Water Flow Sensor inside Labcenter Electronics' Proteus VSM environment. Because Proteus does not native-ship with plumbing-based components, this custom library allows developers to virtually test liquid automation circuits, water flow meters, and smart irrigation code before building physical hardware. Hardware Overview & Principles
To simulate accurately, you must understand the real hardware.
Serial.print("Total Volume: "); Serial.print(totalVolume); Serial.println(" L"); Serial.println("---");
Once placed on your schematic, the virtual YFS201 will typically have (matching the physical sensor):
: As water moves through the chamber, it spins the internal propeller. The spinning magnet passes the Hall sensor, triggering a square-wave digital output pulse for every fractional rotation.
The library model usually features a built-in or Interactive Toggle Switches on the schematic component.
This article provides a comprehensive guide to finding, installing, and using the YFS201 Proteus Library Go to product viewer dialog for this item.
: Connect the RS, Enable, and Data pins (D4-D7) of the LM016L LCD to Arduino digital pins (e.g., Pins 12, 11, 5, 4, 3, 2) or use an I2C adapter to save pins.
Complex circuits with multiple sensors can slow simulations considerably:
In simulation, the sensor usually features a "Test Pin" or a toggle button. Since the real sensor sends pulses based on water flow (approx. 450 pulses per litre), the simulation model allows you to manually trigger these pulses or use a signal generator to mimic flow rates. Connection: Connect the Signal pin