G1/2 inch DN15 Water Flow Sensor Hall Flow Meter Counter YF-S201

In stock

The YF-S201 G1/2" DN15 Water Flow Sensor is a Hall-effect based flow meter designed for accurate and real-time water flow measurement. It is commonly used in water dispensers, irrigation systems, coffee machines, and smart water monitoring solutions. The sensor generates digital pulse signals proportional to the flow rate, making it easy to interface with microcontrollers like Arduino, ESP32, Raspberry Pi, and STM32. ...See more
SKU BTS-00003650
SF Code S3.R2
Tags: Sensors
Delivery Info
truck-fast
Inside Dhaka: 1-2 days
Express (Dhaka): 24 hours
Order before 12.00PM
Outside Dhaka: 2-3 days
hand-holding-dollar
Cash on delivery all over BD
Quality
award
100% Authentic Product
circle-check
Quality Product Guaranteed
Service
credit-card
Safe & secure payment

The YF-S201 G1/2" DN15 Water Flow Sensor is a Hall-effect based flow meter designed for accurate and real-time water flow measurement. It is commonly used in water dispensers, irrigation systems, coffee machines, and smart water monitoring solutions. The sensor generates digital pulse signals proportional to the flow rate, making it easy to interface with microcontrollers like Arduino, ESP32, Raspberry Pi, and STM32.

 

Working Principle:

The sensor consists of a magnetic core, rotating impeller, and a Hall-effect sensor. When water flows through the sensor:

  1. The impeller rotates, triggering the magnetic core.

  2. The Hall-effect sensor detects the rotation and outputs a pulse signal.

  3. The number of pulses per second corresponds to the water flow rate.

  4. The flow rate is calculated using the formula:

    Pulse Frequency=Flow Rate (L/min)×7.5\text{Pulse Frequency} = \text{Flow Rate (L/min)} \times 7.5

    For example, if the pulse frequency is 75Hz, the water flow rate is:

    75÷7.5=10 L/min75 \div 7.5 = 10 \text{ L/min}

 

Specifications:

Parameter Specification
Working Voltage 5V – 24V
Maximum Current 5mA (at DC 5V)
Flow Rate Range 1 – 30 L/min
Output Signal Digital Pulse (Hall-effect sensor)
Pulse Frequency Formula Pulse Frequency = Flow Rate × 7.5
Operating Temperature 0°C – 80°C
Liquid Temperature Up to 80°C
Water Pressure ≤1.75 MPa
Storage Temperature -25°C to +80°C
Weight 43g
Thread Size G1/2" (DN15)

 

Features:

  • High Accuracy: Converts water flow into digital pulses for precise measurement.
  • Wide Voltage Range: Operates on 5V to 24V, making it compatible with various systems.
  • Compact & Lightweight: Weighs only 43g, making it ideal for embedded applications.
  • Easy Interface: Works with Arduino, ESP32, Raspberry Pi, and STM32 with minimal setup.
  • Durable Build: Handles liquid temperatures up to 80°C and water pressure up to 1.75 MPa.

 

Applications:

  • Water flow monitoring in coffee machines, water dispensers, and vending machines.
  • Irrigation systems for precise water control.
  • Smart water meters for home automation and IoT projects.
  • HVAC (Heating, Ventilation, and Air Conditioning) systems.
  • DIY electronics projects using Arduino, ESP32, and Raspberry Pi.
arrow-down
See More
View all reviews above by our customers.

The YF-S201 water flow sensor is a Hall-effect sensor that measures the flow rate of water in liters per minute (L/min). It is widely used in water dispensers, irrigation systems, and other fluid monitoring applications.

 

Components Required:

  • Arduino Uno (or any compatible board)
  • YF-S201 Water Flow Sensor (G1/2" DN15)
  • 10kΩ pull-up resistor (optional)
  • Jumper wires
  • 5V Power supply (Arduino’s 5V pin)

 

Wiring Diagram:

YF-S201 Pin Arduino Pin Description
Red (VCC) 5V Power Supply (5V)
Black (GND) GND Ground
Yellow (Signal) D2 Pulse Output

 

Notes:

  • The signal wire (yellow) outputs pulses corresponding to the water flow rate.
  • A 10kΩ pull-up resistor can be connected between the signal (yellow) and VCC (5V) for more stable readings.
  • Ensure the arrow direction on the sensor is aligned with the flow direction.

 

Arduino Code:

volatile int pulseCount = 0;
float flowRate = 0.0;
unsigned long oldTime = 0;

void IRAM_ATTR pulseCounter() {
    pulseCount++;
}

void setup() {
    Serial.begin(9600);
    pinMode(2, INPUT_PULLUP);
    attachInterrupt(digitalPinToInterrupt(2), pulseCounter, FALLING);
}

void loop() {
    if (millis() - oldTime > 1000) {  // Update every second
        oldTime = millis();

        // Flow rate formula: (Pulse Count / 7.5) = Flow Rate in L/min
        flowRate = (pulseCount / 7.5);

        Serial.print("Flow Rate: ");
        Serial.print(flowRate);
        Serial.println(" L/min");

        pulseCount = 0;  // Reset pulse count
    }
}

 

How It Works

  • The Hall sensor in YF-S201 generates pulses as water flows through it.
  • The Arduino interrupt (pin 2) detects these pulses.
  • The program counts pulses and calculates the flow rate using the formula: Flow Rate(L/min)=Pulse Count7.5\text{Flow Rate} (\text{L/min}) = \frac{\text{Pulse Count}}{7.5} (The value 7.5 is an empirical constant provided by the sensor manufacturer.)
  • The result is displayed on the Serial Monitor.

Customer Reviews

Price
star star star star star
Quality
star star star star star
Value
star star star star star
Sajid's review emoji-happy
Review by Sajid
আমার সোলার হিটারের সাথে ব্যবহার করছি। গরম পানি ৮০ ডিগ্রি পর্যন্ত সামলাতে পারে, এটাই বড় প্লাস। পাইপে জায়গা কম লাগে এবং ওজনও মাত্র ৪৩ গ্রাম। Smart water meter বানাতে চাইলে নিশ্চয়ই recommend করব।
Price
star star star star star
Quality
star star star star star
Value
star star star star star
Omi's review emoji-happy
Review by Omi
Ami smart water meter banate chai, tai eta kinechi. Encoder te connect korte hobe, extra circuit lagbe na. YF-S201 er signal onek clean. Water cholle impeller rotate kore, pulse generate kore. Ami khub happy.
Price
star star star star star
Quality
star star star star star
Value
star star star star star
Shourov's review emoji-happy
Review by Shourov
Arduino diye test korlam. 5V teo colo, 12V teo colo. 1 te 30 liter porjonto flow count korte parlam. Kono extra circuit lage nai. Eto kom dame ekoi ta sensor pawa valo.
Price
star star star star star
Quality
star star star star star
Value
star star star star star
Moutushi Sen's review emoji-happy
Review by Moutushi Sen
Raspberry Pi te pina diye code korechi. Thik thik kaj kore. Tobe note: bypass hole flow rate high show kore. Teflon tape use korle leak hobei na. Ami order kore 5 diner moddhe petechi, packaging o valo.
Price
star star star star star
Quality
star star star star star
Value
star star star star star
Nibir Sorkar's review emoji-happy
Review by Nibir Sorkar
Works as expected. I connected it to an ESP32 and the pulse output matched the formula almost exactly. It is lightweight and easy to mount. Just remember to use thread sealant because the brass fitting can drip if you tighten too much. Good value.
Price
star star star star star
Quality
star star star star star
Value
star star star star star
Tomal's review emoji-happy
Review by Tomal
পানি প্রবাহ মাপার জন্য ছোট্ট সাইজের একটি দারুণ ডিভাইস। 5V থেকে 24V পর্যন্ত চলে, তাই যেকোনো প্রজেক্টে লাগানো যায়। কিছুদিন ব্যবহার করেছি, এখনো ঠিকঠাক কাজ করছে। তবে ফিটিং করার সময় হালকা করে শক্ত করবেন, না হলে থ্রেড নষ্ট হতে পারে।
Price
star star star star star
Quality
star star star star star
Value
star star star star star
Tashrif Chowdhury's review emoji-happy
Review by Tashrif Chowdhury
Product ta onek valo. Ami amar water dispenser e lagiyechi. Hall sensor er pulse output thik ache. Tobe connection ta tightly korben, nahole pani leak korbe. Dam sommane onek kaj korche.
Price
star star star star star
Quality
star star star star star
Value
star star star star star
Tashrif Chowdhury's review emoji-happy
Review by Tashrif Chowdhury
Product ta onek valo. Ami amar water dispenser e lagiyechi. Hall sensor er pulse output thik ache. Tobe connection ta tightly korben, nahole pani leak korbe. Dam sommane onek kaj korche.
Price
star star star star star
Quality
star star star star star
Value
star star star star star
Shourov's review emoji-happy
Review by Shourov
Arduino diye test korlam. 5V teo colo, 12V teo colo. 1 te 30 liter porjonto flow count korte parlam. Kono extra circuit lage nai. Eto kom dame ekoi ta sensor pawa valo.
Price
star star star star star
Quality
star star star star star
Value
star star star star star
Sajid's review emoji-happy
Review by Sajid
আমার সোলার হিটারের সাথে ব্যবহার করছি। গরম পানি ৮০ ডিগ্রি পর্যন্ত সামলাতে পারে, এটাই বড় প্লাস। পাইপে জায়গা কম লাগে এবং ওজনও মাত্র ৪৩ গ্রাম। Smart water meter বানাতে চাইলে নিশ্চয়ই recommend করব।

Items 1 to 10 of 24 total

Write Your Own Review
Only registered users can write reviews. Please Sign in or create an account

Request Stock

x

You might also be interested in...

Customers who bought this also bought...

General Questions

  • What is the latest price of the G1/2 inch DN15 Water Flow Sensor Hall Flow Meter Counter YF-S201 in Bangladesh?

    The latest price of G1/2 inch DN15 Water Flow Sensor Hall Flow Meter Counter YF-S201 in Bangladesh is BDT 409.00 . You can buy the G1/2 inch DN15 Water Flow Sensor Hall Flow Meter Counter YF-S201 at the best price on BDTronics.com or contact us via phone.

  • Where to buy G1/2 inch DN15 Water Flow Sensor Hall Flow Meter Counter YF-S201 in Bangladesh?

    You can buy G1/2 inch DN15 Water Flow Sensor Hall Flow Meter Counter YF-S201 online by ordering on BDTronics.com or directly collect by visiting our store in person. BDTronics is a trusted provider of high-quality electronics, 3D printers, solar systems, and robotics parts. We offer fast shipping across the country via courier service.

  • What are the delivery options of G1/2 inch DN15 Water Flow Sensor Hall Flow Meter Counter YF-S201 in Bangladesh?

    We provide home delivery service all over Bangladesh. We support Cash on Delivery, Online Bank Transfer, bKash and Credit Card (Visa/ MasterCard/ Amex) payment solutions. The delivery time usually takes 1-2 days inside Dhaka and 2-4 days outside Dhaka.

phone
Contact

My Cart

Loading...
home Home
menu Menu
user Account shopping-cart Cart