The sensor outputs a digital square wave frequency proportional to the flow velocity. Formula: The standard formula to convert frequency ( ) to flow rate (
Note: ProgramData is a hidden folder. Type it manually into Windows Explorer.
Because a software environment cannot physically pump water, the Proteus library uses an analog voltage input or an interactive state override to simulate changing water flow speeds. How to Simulate the Input Signal Connect a
Many advanced YFS201 libraries allow you to program flow rate profiles to simulate real-world conditions. You can typically configure: yfs201 proteus library
Open your Proteus Schematic Capture window, press on your keyboard to open the "Pick Devices" window, and search for the following:
Cause: Microcontroller interrupt routines can strain the Proteus simulation engine engine if real-time CPU scaling drops below 100%. To resolve this, navigate to System -> Set Simulation Options in Proteus, and adjust the animation frames or increase the time-step token values.
This public link is valid for 7 days and shares a thread, including any personal information you added. This link or copies made by others cannot be deleted. If you share with third parties, their policies apply. Canβt copy the link right now. Try again later. The sensor outputs a digital square wave frequency
Search for these keywords in the Proteus Pick Devices tool ( P shortcut): ARDUINO UNO (Requires an Arduino Proteus library) LM016L (Standard 16x2 LCD display)
C:\Program Files (x86)\Labcenter Electronics\Proteus 7 Professional\LIBRARY
Connect the sensor (Yellow wire) to Digital Pin 2 on the Arduino. Arduino Uno monitors external interrupts on Pin 2 ( Interrupt 0 ). Sample Arduino Telemetry Code Because a software environment cannot physically pump water,
to match YFS201 characteristics:
The Electronics Tree library appears to be one of the most recent and professionally developed options available, and it's offered as a free download.