Robot Pi Shop

YF-S201C Water Flow Sensor – G1/2", 1–30 L/min, 5V Hall Effect

$7.99

Shipping calculated at checkout.

Quantity

YF-S201C Water Flow Sensor – G1/2", 1–30 L/min, 5V Hall Effect

The YF-S201C Water Flow Sensor is a compact, lightweight sensor designed to measure water flow rates in pipelines, irrigation systems, water dispensers, and electronic monitoring applications.

Featuring a G1/2" threaded connection, durable black plastic housing, and a Hall-effect sensing mechanism, the sensor measures water flow by detecting the rotation of an internal turbine.

As water passes through the sensor, it generates electrical pulses proportional to the flow rate. These pulses can be processed by a microcontroller such as Arduino or ESP32 to calculate water flow and estimate total water consumption.

Operating at 5V DC, with a flow measurement range of 1–30 liters per minute, the YF-S201C is suitable for DIY electronics, smart irrigation, automation, and water monitoring projects.

Key Features

  • Hall-Effect Flow Measurement: Detects water flow using an internal rotating turbine and magnetic sensor.
  • 1–30 L/min Flow Range: Suitable for monitoring different water flow rates.
  • 5V DC Operation: Designed for low-voltage electronic systems.
  • Digital Pulse Output: Generates pulses proportional to water flow.
  • G1/2" Threaded Connection: Allows integration into compatible water piping systems.
  • Durable Plastic Housing: Lightweight black plastic construction.
  • Three-Wire Interface: Simple power, ground, and signal connections.
  • Low Power Consumption: Maximum operating current of 10mA at 5V.
  • IP65 Protection Rating: Designed to resist dust and water jets under specified conditions.
  • Microcontroller Integration: Suitable for Arduino, ESP32, and other controllers with appropriate signal interfacing.

Technical Specifications

Parameter Specification
Model YF-S201C
Product Type Water Flow Sensor
Sensor Technology Hall Effect
Housing Material Plastic
Housing Color Black
Operating Voltage 5V DC
Maximum Operating Current 10mA at 5V
Flow Measurement Range 1–30 L/min
Maximum Water Pressure 1.75 MPa
Maximum Liquid Temperature 60°C
Thread Connection G1/2" External Thread
Output Type Digital Pulse
Electrical Connection 3-Wire
Connector Male XH 3-Pin
Ingress Protection IP65

Pin Configuration

The YF-S201C uses a three-wire connection for power and pulse signal output.

Wire Color Function Connection
Red VCC +5V DC
Black GND Ground
Yellow Signal Digital Pulse Output

Working Principle

The YF-S201C operates using a Hall-effect flow sensing mechanism.

When water passes through the sensor, it causes an internal turbine to rotate. A magnetic element attached to the turbine generates a changing magnetic field that is detected by the Hall-effect sensor.

The sensor converts this movement into electrical pulses.

The pulse frequency increases as the water flow rate increases.

A connected microcontroller can count the pulses to determine the approximate flow rate and calculate accumulated water consumption.

Note: The exact pulse-to-flow conversion factor should be confirmed from the manufacturer's specifications or determined through calibration.

Connection with Arduino or ESP32

The YF-S201C can be integrated into microcontroller-based water monitoring systems.

Arduino Connection

YF-S201C Wire Arduino Connection
Red (VCC) 5V
Black (GND) GND
Yellow (Signal) Digital Input Pin (e.g., D2)

ESP32 Connection

YF-S201C Wire ESP32 Connection
Red (VCC) 5V Supply
Black (GND) GND
Yellow (Signal) GPIO Through Compatible Signal Interface

Important: ESP32 GPIO pins operate at 3.3V logic levels. Confirm the sensor output characteristics and use a suitable pull-up or level-shifting circuit to prevent applying 5V directly to an ESP32 GPIO.

Basic Operating Procedure

  1. Connect the sensor to a regulated 5V DC power supply.
  2. Connect the ground and signal output to the microcontroller.
  3. Configure a digital input to count incoming pulses.
  4. Measure pulse frequency over a defined time interval.
  5. Apply the appropriate calibration factor to calculate water flow in L/min.
  6. Accumulate measurements to estimate total water consumption.

Applications

  • Smart Irrigation Systems
  • Water Flow Monitoring
  • Arduino and ESP32 Projects
  • Automatic Water Dispensers
  • Water Consumption Measurement
  • Water Pump Monitoring
  • Smart Home Water Management
  • DIY Plumbing Automation
  • Agricultural Water Monitoring
  • Liquid Circulation Systems
  • Educational Electronics Projects

Important Notes

  • Operating Voltage: Use a regulated 5V DC power supply.
  • Maximum Water Pressure: Do not exceed 1.75 MPa.
  • Maximum Liquid Temperature: Do not exceed 60°C.
  • Installation Direction: Install according to the indicated water flow direction.
  • Thread Compatibility: Use suitable G1/2" fittings and appropriate sealing materials.
  • Pulse Calibration: The pulse-to-flow conversion factor must be verified for accurate measurements.
  • ESP32 Compatibility: Protect 3.3V GPIO inputs from higher signal voltages.
  • IP65 Rating: The sensor is not intended for complete immersion in water.
  • Measurement Accuracy: Actual accuracy depends on calibration, installation conditions, and flow stability.
  • Water Compatibility: Confirm suitability and certification before use in drinking-water applications.
  • Flow Control: The sensor measures water flow but does not regulate or stop it.

Package Includes

  • 1 × YF-S201C Black Water Flow Sensor with 3-Pin Cable