Paste the downloaded .IDX and .LIB files into this folder.
The sensor contains a plastic valve body, a water rotor, and a magnetic Hall-effect sensor. When water flows through the rotor, the rotor rolls.
Upload your firmware to the virtual microcontroller. A standard interrupt-based pulse counting code works perfectly here. yfs201 proteus library exclusive
Connect the Virtual Terminal pin to the Arduino TXD (Pin 1) pin. Sample Arduino Simulation Code
Because Proteus cannot physically "flow" water, the simulation model uses a to mimic flow behavior. The Engineering Projects Simulating Flow : Connect a potentiometer Paste the downloaded
Paste both the .IDX and .LIB files directly into the LIBRARY directory. Step 4: Restart Proteus
void pulseCounter() pulseCount++;
, are required to simulate the YF-S201 Water Flow Sensor in Proteus. These libraries provide necessary
Do you need the to convert pulses to Liters/Minute? Upload your firmware to the virtual microcontroller
The YF-S201 consists of a plastic valve body, a water rotor, and a Hall Effect sensor.
// Frequency = pulses per second // Flow (L/min) = Frequency / 7.5 flowRate = pulseCount / 7.5;