Skip to content
Trademarks and datasheets are the property of their respective owners

YF-S201 Arduino Water Flow Sensor

Published Updated 3 views
YF-S201 Arduino Water Flow Sensor

YF-S201 overview

The YF-S201 is an Arduino Water Flow Sensor. Main ratings: Model YF-S201; Sensor Type Hall effect; Working Voltage 5 to 18V DC (min tested working voltage 4.5V); Max current draw 15mA @ 5V. This page brings together the YF-S201 pinout and key specifications, with the full datasheet PDF to preview below or download.

This YF-S201 sensor sits in line with your water line and contains a pinwheel sensor to measure how much liquid has moved through it. There’s an integrated magnetic hall effect sensor that outputs an electrical pulse with every revolution. The hall effect sensor is sealed from the water pipe and allows the sensor to stay safe and dry.

The sensor comes with three wires: red (5-24VDC power), black (ground), and yellow (Hall effect pulse output). By counting the pulses from the output of the sensor, you can easily calculate water flow. Each pulse is approximately 2.25 milliliters. Note this isn’t a precision sensor, and the pulse rate does vary a bit depending on the flow rate, fluid pressure, and sensor orientation. It will need careful calibration if better than 10% precision is required. However, YF-S201 is great for basic measurement tasks!

We have for example Arduino sketch that can be used to quickly test the sensor, it will calculate the approximate flow of water in liters/hour. The pulse signal is a simple square wave so it's quite easy to log and convert into liters per minute using the following formula. Pulse frequency (Hz) / 7.5 = flow rate in L/min.

YF-S201 Arduino Water Flow Sensor

Key specifications

Model
YF-S201
Sensor Type
Hall effect
Working Voltage
5 to 18V DC (min tested working voltage 4.5V)
Max current draw
15mA @ 5V
Output Type
5V TTL
Accuracy
±10%
Working Temperature range
-25 to +80℃
Output duty cycle
50% +-10%

Datasheet

clil-lez-1-water-flow-sensor.pdf
Format PDFSize 710 KBLanguage EN
Third-party / unverified source

YF-S201 features

  • 1/2″ Nominal pipe connections, 0.78″ outer diameter, 1/2″ of thread
  • Flow Rate pulse characteristics Frequency (Hz) = 7.5 * Flow rate (L/min)
  • Maximum Water pressure 2.0 MPa
  • Durability Minimum 300,000 cycles

YF-S201 pinout

YF-S201 pinout diagram
NameDescription
Red wire+5V
Black wireGND
Yellow wirePWM output.

YF-S201 specifications

Model YF-S201
Sensor Type Hall effect
Working Voltage 5 to 18V DC (min tested working voltage 4.5V)
Max current draw 15mA @ 5V
Output Type 5V TTL
Accuracy ±10%
Working Temperature range -25 to +80℃
Output duty cycle 50% +-10%
Working Flow Rate 1 to 30 Liters/Minute
Cable length 15cm
Pulses per Liter 450
Size 2.5″ x 1.4″ x 1.4″
Output fall time 0.18us
Output rise time 0.04us
Working Humidity Range 35%-80% RH

YF-S201 applications

  • YF-S201 Arduino Water Flow Sensor: Measures the flow rate of water.
  • Compatible with Arduino platforms: Enables easy integration and data processing.
  • Pulse output: Provides digital signals corresponding to the water flow rate.
  • Used in water flow monitoring systems for irrigation, industrial processes, and water management.
  • Suitable for measuring the flow of liquids in pipes, tanks, and water supply systems.

YF-S201 datasheet PDF preview

PDF · 710 KB

Comments 0

Leave a comment