1. Introduction
The YF-S201 water flow sensor is a device designed to measure the flow rate of water. It is primarily composed of a plastic valve body, a water flow rotor assembly, and a Hall sensor. This sensor is commonly installed at the water inlet of appliances such as water heaters and automatic water vending machines to detect and regulate water flow. As water passes through the rotor assembly, a magnetic rotor spins, and its speed, which varies with the flow rate, is converted into a pulse signal by the Hall sensor. This signal is then sent to a controller for flow judgment and regulation.

Figure 1: YF-S201 Water Flow Sensors (Black and White versions)
2. Specifications
The YF-S201 water flow sensor offers reliable performance for various applications. Key specifications are detailed below:
| Parameter | Value |
|---|---|
| Model | YF-S201 |
| Type | Water Flow Sensor |
| Theory | Hall Sensor |
| Output | Switching Transducer |
| Use | Speed Sensor |
| Minimum Rated Working Voltage | DC 4.5V |
| Maximum Working Current | 15 mA (DC 5V) |
| Operating Voltage Range | DC 3.5V ~ 24V |
| Load Capacity | ≤ 10mA (DC 5V) |
| Operating Temperature Range | ≤ 80 ℃ |
| Operating Humidity Range | 35% ~ 90% RH (non-condensing) |
| Allowable Pressure Resistance | Water pressure below 1.75 MPa |
| Storage Temperature | -25 ℃ ~ +80 ℃ |
| Storage Humidity | 25% ~ 95% RH |
| Flow Range | 1 ~ 30 L/min |
| Pulse Output (per liter) | 450 pulses |
| Frequency Calculation | F = 7.5 * Q (L/Min) |

Figure 2: YF-S201 Water Flow Sensor Dimensions

Figure 3: YF-S201 Water Flow Sensor Technical Diagram
3. Setup and Installation
Proper installation is crucial for accurate and reliable operation of the YF-S201 water flow sensor. Follow these steps:
- Mounting Direction: Install the sensor in the direction indicated by the arrow on the product body. This arrow signifies the direction of water flow.

Figure 4: Flow Direction Indicator
- Water Quality: If the water quality is poor or contains particulates, it is recommended to install a filter screen at the inlet end of the sensor to prevent clogging and damage to the impeller.
- Wiring Connections: Connect the sensor to your control circuit using the provided three-wire connector.
- Red (IN): Connect to the positive power supply (DC 3.5V ~ 24V).
- Yellow (OUT): This is the signal output line, providing pulse signals proportional to flow.
- Black (GND): Connect to ground.

Figure 5: Wiring Diagram
- Pressure and Temperature: Ensure that the water pressure does not exceed 1.75 MPa and the medium temperature does not exceed 80 ℃.
4. Operating Instructions
The YF-S201 water flow sensor generates a pulse signal that can be used to measure water flow. The output frequency (F) is directly proportional to the flow rate (Q).
- Pulse Output: For every liter of water that flows through the sensor, approximately 450 pulses are generated.
- Flow Rate Calculation: The relationship between frequency (F) and flow rate (Q) is given by the formula:
F = 7.5 * Q (L/Min)
Where:- F = Frequency in Hz (pulses per second)
- Q = Flow rate in Liters per Minute (L/Min)
Q = F / 7.5 (L/Min)
- Signal Interpretation: Connect the yellow (OUT) wire to a microcontroller or a pulse counter to read the frequency and convert it into a flow rate. Ensure the microcontroller's input can handle the sensor's output voltage range.
5. Maintenance
To ensure the longevity and accurate performance of your YF-S201 water flow sensor, consider the following maintenance tips:
- Water Quality: Regularly check and clean any filter screens installed at the inlet if water quality is poor. Sediment and debris can affect the impeller's rotation and sensor accuracy.
- Environmental Conditions: Avoid exposing the sensor to temperatures outside its operating range (≤ 80 ℃) or to corrosive chemicals.
- Physical Integrity: Do not subject the sensor to severe impact or throwing, as this can damage internal components.
6. Troubleshooting
If you encounter issues with your YF-S201 water flow sensor, review the following common problems and solutions:
- No Signal Output:
- Check power supply connections (Red to positive, Black to ground) and ensure voltage is within DC 3.5V ~ 24V.
- Verify that water is flowing through the sensor in the correct direction (indicated by the arrow).
- Inspect for blockages in the sensor or connected pipes, especially if a filter is not used with poor water quality.
- Ensure the load capacity (current draw from the signal line) does not exceed 10mA.
- Inaccurate Readings:
- Confirm the sensor is installed correctly with the flow arrow aligned with water direction.
- Check for debris or scale buildup on the impeller, which can impede its rotation.
- Ensure the flow rate is within the specified range of 1 ~ 30 L/min. Operating outside this range may lead to inaccuracies.
- Verify the frequency calculation (F = 7.5 * Q) is correctly implemented in your control system.
- Leakage:
- Ensure all connections are properly sealed and tightened.
- Check for cracks or damage to the plastic valve body.
- Verify that water pressure does not exceed 1.75 MPa, as excessive pressure can cause leaks.
7. User Tips
While no specific user reviews or Q&A were provided, general tips for Hall effect water flow sensors include:
- Calibration: For highly precise applications, consider performing a simple calibration by flowing a known volume of water through the sensor and comparing the pulse count to the expected 450 pulses per liter. Adjust your calculation constant if necessary.
- Power Supply Stability: Use a stable and regulated DC power supply within the specified voltage range (3.5V-24V) to ensure consistent sensor performance.
- Signal Filtering: In noisy electrical environments, consider adding a small capacitor (e.g., 0.1uF) between the signal output and ground near your microcontroller to smooth the pulse signal.
8. Warranty and Support
For any questions, technical assistance, or warranty claims regarding your YF-S201 water flow sensor, please contact the seller or manufacturer directly. Retain your purchase records for proof of purchase.





