Description
The YF-B5 is a Hall-effect turbine water flow sensor featuring a copper/brass housing with G3/4″ (DN20) double male threaded connections on both inlet and outlet. This larger-bore sensor is designed for medium-flow applications such as water dispensers, coffee machines, and water heaters, where the 1/2″ (DN15) sensors cannot accommodate the required flow rate .
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 rated flow range is 1–30 L/min, with a K factor of F = 6.6 × Q (Hz, where Q is flow rate in L/min), corresponding to approximately 396 pulses per liter according to the most detailed supplier data . The copper body offers longer life than plastic alternatives and provides high sealing performance .
The sensor operates from DC 3.5V to 24V (5V typical) with a maximum current draw of <15mA, and outputs an NPN pulse signal with high level >4.7V at 5V supply . The maximum water pressure is <1.75 MPa, and the operating temperature range is -20°C to +80°C .
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. Note that users have reported difficulty with voltage dividers on this sensor family—verify your level-shifting circuit works before connecting to sensitive MCUs . A filter should be installed upstream to prevent debris from jamming the turbine.
Features
-
Copper/Brass Housing with Double Male Threads: Both inlet and outlet are G3/4″ (DN20) male threads; longer life and better sealing than plastic bodies .
-
Hall-Effect Pulse Output: Digital square wave proportional to flow rate, readable by any microcontroller with an interrupt-capable GPIO .
-
~396 Pulses per Liter: Resolution suitable for volume tracking; each pulse ≈ 2.53 mL .
-
Flow Range 1–30 L/min: Suitable for water dispensers, coffee machines, and water heaters .
-
Wide Voltage Range (DC 3.5–24V): Flexible compatibility with 5V and higher supply systems .
-
High Pressure Resistance (<1.75 MPa): Suitable for pressurized water systems .
-
NPN Pulse Output: Open-collector style output; pull-up resistor recommended for reliable logic reading.
-
RoHS Compliant: Meets environmental compliance requirements .
Technical Specifications
| Parameter | Specification |
|---|---|
| Model | YF-B5 |
| Connection Size | G3/4″ (DN20), double male thread |
| Body Material | Copper/Brass |
| Operating Voltage | DC 3.5V – 24V |
| Max Current Draw | <15mA |
| Output Signal | NPN pulse; high >4.7V, low <0.5V (at 5V input) |
| Flow Rate Range | 1 – 30 L/min |
| Pulse Formula | F = 6.6 × Q (Hz, Q in L/min) |
| Pulses per Liter | ~396 pulses/L (≈2.53 mL per pulse) |
| Max Water Pressure | <1.75 MPa |
| Operating Temperature | -20°C to +80°C |
| Inner/Outer Diameter | ~17.9mm / 25.8mm |












Reviews
There are no reviews yet.