Yfs201 Proteus Library Exclusive
Arduino UNO Library for Proteus and other software - Campus Component 2 May 2023 —
To create an exclusive, dedicated component:
Right-click your Arduino microcontroller, select Edit Properties , and ensure the clock frequency matches your code (typically 16MHz). Avoid setting the flow rate in the sensor model to its maximum value (30 L/min = 225Hz) immediately upon starting the simulation. yfs201 proteus library exclusive
Share public link
Here is how to use the simulation to test a simple Arduino flow rate sketch. 1. Schematic Design Arduino Uno YFS201 Sensor Model Virtual Terminal (for reading output) 2. Arduino Code Arduino UNO Library for Proteus and other software
Set the frequency to 75 Hz (Period = 13.33 ms).
Note: The ProgramData folder is hidden by default in Windows. You may need to enable "Hidden items" in your File Explorer view settings. Note: The ProgramData folder is hidden by default in Windows
: These custom libraries provide a component that mimics the three-pin interface (VCC, GND, and Signal). In a simulation environment, the "flow" is often simulated using a logic toggle or a signal generator to provide pulses to an Arduino or microcontroller model. Installation :
). If you set the sensor to 10 L/min, the library automatically calculates a 75 Hz square wave and injects it directly into your simulated microcontroller's interrupt pin. Step-by-Step: Installing the YF-S201 Library in Proteus