Description
The YF-B2 is a Hall-effect turbine water flow sensor featuring a brass housing with a G1/2″ (DN15) connection, specifically configured with a male threaded inlet (outer teeth, 4-point) and a female threaded outlet (inner teeth, 4-point). This male-in/female-out design allows the sensor to be installed directly between a standard male pipe end and a male fitting without additional adapters, simplifying plumbing in water heaters, coffee machines, water dispensers, and campus card billing systems .
The sensor operates on a turbine principle: water flowing through the body spins a magnetic rotor, and an integrated Hall-effect sensor detects the rotation, outputting a digital pulse train proportional to flow rate . The pulse frequency follows the relationship F = 11 × Q (Hz, where Q is flow rate in L/min), corresponding to approximately 660 pulses per liter (each pulse ≈ 1.52 mL) . The rated flow range is 1–25 L/min with ±3% accuracy .
The brass body (H57 copper + POM) withstands up to 1.75 MPa pressure and handles liquid temperatures up to 120°C, making it suitable for hot water applications where plastic sensors would fail . The specified thread dimensions are approximately 14.5mm outer thread and 20.8mm inner thread, compatible with standard G1/2 plumbing .
Critical limitations: This is a low-cost, non-certified sensor for hobbyist, educational, and light commercial use. For 3.3V microcontrollers (ESP32, ESP8266), the pulse output high level (>4.7V at 5V supply) requires a logic level shifter or voltage divider to protect GPIO pins . An 80–100 mesh filter should be installed upstream to prevent debris from jamming the turbine .
Features
-
Brass Housing with Male-Inlet/Female-Outlet Design: Direct inline installation between male pipe end and male fitting; no extra adapters needed for many setups .
-
Hall-Effect Pulse Output: Digital square wave proportional to flow rate, readable by any microcontroller with an interrupt-capable GPIO .
-
660 Pulses per Liter: High resolution for volume tracking and billing applications; each pulse ≈ 1.52 mL .
-
Flow Range 1–25 L/min: Suitable for water heaters, coffee machines, water dispensers, and campus card systems .
-
Hot Water Compatible: Brass body and POM internals handle liquid temperatures up to 120°C .
-
High Pressure Resistance (≤1.75 MPa): Suitable for pressurized water systems .
-
Wide Voltage Range (DC 5–15V): 5V typical for Arduino; flexible for different supplies .
-
NPN Pulse Output: Open-collector style output with 50% duty cycle; pull-up resistor recommended for reliable logic reading .
Technical Specifications
| Parameter | Specification |
|---|---|
| Model | YF-B2 |
| Connection Size | G1/2″ (DN15) |
| Thread Configuration | Male inlet (outer, ~14.5mm) / Female outlet (inner, ~20.8mm) |
| Body Material | H57 Copper + POM |
| Operating Voltage | DC 5V – 15V (min 4.5V) |
| Max Current Draw | 15mA @ 5V |
| Output Signal | NPN pulse; high >4.7V, low <0.5V (at 5V input) |
| Flow Rate Range | 1 – 25 L/min |
| Accuracy | ±3% |
| Pulse Formula | F = 11 × Q (Hz, Q in L/min) |
| Pulses per Liter | ~660 pulses/L (≈1.52 mL per pulse) |
| Max Water Pressure | ≤1.75 MPa |
| Liquid Temperature | ≤120°C |
| Operating Temperature | 0 – 80°C |
| Weight | Approx. 99g |














Reviews
There are no reviews yet.