Liquid Water Flow Sensor Switch Meter Counter Hall Sensor 0.3-6L/min

Photo of author

By Jackson Taylor

Home » Hardware » Liquid Water Flow Sensor Switch Meter Counter Hall Sensor 0.3-6L/min

As an Amazon Associate we earn from qualifying purchases.

This liquid water flow sensor uses a Hall sensor to measure how much water passes through it. It suits a flow range of 0.3 to 6 L/min, which covers small water lines, drink dispensers, coolant loops, and hobby or prototype projects. It gives you a pulse output that a microcontroller can count, so you can use it as a flow meter, a liquid counter, or a simple flow switch.

Water flow sensor 2 Water flow sensor 3 Water flow sensor 4
The water flow sensor from several angles.

How a Hall effect water flow sensor works

Inside the plastic body there is a small rotor, usually a pinwheel, with a magnet attached. When water flows through the sensor, the rotor spins. A Hall effect sensor next to the rotor detects the magnet each time it passes and produces an electrical pulse.

The faster the water moves, the faster the rotor spins and the more pulses you get per second. Counting those pulses over time tells you two things:

Hardware Hack

Stop Buying New Batteries for Your Tech

Electronics are expensive, but their power sources don't have to be. Discover the simple engineering trick to recondition dead batteries and bring your gadgets back to 100% capacity.

Watch the Free Video
  • Flow rate: pulses per second, converted to litres per minute.
  • Total volume: the total number of pulses, converted to litres.

The Hall sensor is sealed away from the liquid, so only the rotor touches the water. This is one reason the design is cheap and reliable for light-duty use. The same sensing principle is behind the Hall effect outputs in BLDC motors.

Specifications

These are the figures given in the original product listing. Check them against the datasheet or label of the exact unit you receive.

  • Flow range: 0.3 to 6 L/min
  • Connection: external threads, 1/4″
  • Liquid temperature: -25 to +80 °C (use temperature up to 80 °C)
  • Allowable pressure: 1.75 MPa
  • Operating humidity: 35% to 90% RH, no frost
  • Working voltage: DC 5 to 18 V
  • Maximum operating current: 15 mA at DC 5 V
  • Load capacity: up to 10 mA at DC 5 V
  • Size: 5.7 cm x 4 cm (2.24 x 1.57 in)
  • Colour: white
  • Quantity: 1 piece

The original listing also gave a lowest rated working voltage of 4.5 V and a range of 5 to 24 V, which does not agree with the 5 to 18 V figure above. If you are unsure, run the sensor from a regulated 5 V supply. That is inside every version of the range and also matches the 5 V logic of most Arduino-style boards.

See also
MSP430-Digital Input

Wiring and connections

The sensor has three wires:

  • Red (IN): connect to the positive supply.
  • Yellow (OUT): the pulse signal output.
  • Black (GND): connect to ground, the negative side of the supply.
Product illustration

Connect the sensor to the same ground as your controller. Connect the yellow wire to an input pin that can count pulses, ideally one that supports hardware interrupts. If your readings are unstable or the pulses look noisy, a pull-up resistor on the signal line is often worth trying, because many Hall sensors have an open-collector output.

Turning pulses into litres per minute

The sensor does not output litres directly. You convert pulses using a calibration factor from the datasheet, which is usually given as a relationship between pulse frequency and flow rate. The general method is:

  1. Count the pulses over a fixed period, such as one second.
  2. Divide by the calibration factor to get the flow rate in L/min.
  3. Multiply the flow rate by the elapsed time, in minutes, and add it to a running total to get volume.

For better accuracy, calibrate your own sensor. Run water through it into a measuring jug, count the pulses for a known volume, and work out the pulses per litre. Readings can vary a little between units and with the installation.

Using it as a flow switch or counter

With a few lines of code, the pulse count can drive simple control logic:

  • Flow switch: if no pulses arrive for a few seconds, treat it as “no flow” and stop a pump or raise an alarm.
  • Dosing or filling: close a valve after a set number of pulses, which equals a set volume.
  • Usage monitoring: log the total volume for a tank, a garden line or a small appliance.

If you want a manual start or reset control, see our Arduino button switch projects. To detect whether water is present at all, a simple water sensor is a good companion. For a test rig you can pair the flow sensor with mini water pumps.

See also
IGBT BASED HEATER TEMPERATURE CONTROL SYSTEM FOR INFANT INCUBATORS (IEEE)

Installation tips

  • Install it so the arrow or flow direction marking, if present, matches the water direction.
  • Fit a fine filter or strainer upstream. Particles can jam the rotor.
  • Keep the flow within 0.3 to 6 L/min. Below the minimum, the rotor may not turn reliably, and well above the maximum it can wear out sooner.
  • Use thread tape on the 1/4″ fitting and avoid over-tightening the plastic body.
  • Keep the electrical connections dry and away from splashing water.
  • Stay within the stated temperature and pressure limits.

Price and availability

The original listing showed a price of 235 and 3 units remaining. It did not state a currency, and stock and pricing change over time, so check the current offer before ordering.

Sustainable Tech

Keep Toxic E-Waste Out of Landfills

Don't throw away your failing laptop, phone, or car batteries. Learn how to recondition them at home in just a few hours. It's better for the planet—and your wallet.

Learn How It Works

FAQ

What flow range does this sensor cover?

It is designed for 0.3 to 6 L/min. Outside that range the readings become unreliable.

Can I connect it directly to an Arduino?

Usually yes. Power it from 5 V, connect ground, and read the yellow signal wire on a digital pin, preferably an interrupt-capable one. Add a pull-up resistor if the signal is unstable.

Is it suitable for hot water?

The listing gives a maximum use temperature of 80 °C, so it can handle warm water within that limit. Do not use it for hotter liquids.

Does it measure other liquids?

It is made for water. Other thin liquids may work, but viscosity and particles affect the rotor and the calibration, so you would need to calibrate it for that liquid and confirm the materials are compatible.

Revive Your Dead Electronics

Got a drawer full of dead gadgets or a failing car battery? Instead of paying a premium for replacements, use this simple trick to easily recondition them right from home.

See How It Works