Water flow sensor YF-S201
Turbine flow meter for half-inch pipes. It gives pulses as water flows.
What is the Water flow sensor YF-S201 and what is it used for?
Turbine flow meter for half-inch pipes. It gives pulses as water flows. Makers use it for water use meters.
Water spins a small turbine with a magnet, and a Hall sensor makes a pulse each turn.
Key specifications
| Sensor spec | Value |
|---|---|
| Measures | Water flow |
| Range | 1 to 30 L/min |
| Accuracy | About ±10 % |
| Interface | Pulse output, about 7.5 Hz per L/min |
| Supply voltage | 5 to 18 V |
Pinout
How to use it
Count pulses with an interrupt for one second: flow in L/min ≈ pulse frequency ÷ 7.5. Calibrate with a measured bucket, as the factor varies between units. Fit it in the direction of the arrow.
Applications
Builds that use it
Shower timer for saving water
Water use monitor
RO water purifier filter life counter
Garden hose water usage meter
Water litre counter
Crop sprayer pump controller
Compost heat capture study
Solar hot water heat meter
Alternatives
- Float switch (vertical)Simple level switch instead of flow
Common questions
What is the Water flow sensor YF-S201 used for?
In maker projects: water use meters.
How does the Water flow sensor YF-S201 work?
Water spins a small turbine with a magnet, and a Hall sensor makes a pulse each turn.
What voltage does the Water flow sensor YF-S201 need?
5 to 18 V.
How do I connect the Water flow sensor YF-S201 to an Arduino or ESP32?
Pulse output, about 7.5 Hz per L/min. Pins: Red (5 to 18 V), Black (Ground), Yellow (Pulse output (open collector on many, add a 10 kΩ pull-up to your logic voltage)).
What can I use instead of the Water flow sensor YF-S201?
Float switch (vertical).
