Recent Changes - Search:

Contents

Fire Defence Concepts

Forecasting fire approach

Home-built systems

Commercial systems

Experiences in actual fires

Active defence with pumps and sprinkler systems

Research resources

Water flow and pressure

Flow and pressure sensors answer two questions: is the water actually going out? and how fast is the tank emptying?

Is the pump really delivering?

  • Oil pressure switch on the engine: tells you the engine is running.
  • Water pressure switch on the pump outlet: tells you the pump is delivering.
  • Together they distinguish engine failure (no oil pressure) from a pump or valve problem (engine running, no water pressure).
  • These switches are often already fitted for a commercial pump controller. If you read them too, make sure your circuit cannot load the controller's sensing - use a diode and your own pull-up, or an optocoupler (see Remote and automatic starting).

Measuring flow

  • Hall-effect turbine meters give a pulse for each turn of a small rotor; the pulse rate is proportional to flow. They are cheap and easy to read on an Arduino interrupt pin (see how they work and what to buy, below).
  • Calibrate them against a water meter: makers' pulses-per-litre figures can be well out.
  • Debounce and average: ignore pulses closer together than a few milliseconds, and average large meters over a second or two, or the reading jumps.
  • Power them from a clean supply: noise on an Arduino's 5 V rail can produce phantom pulses - flow when nothing is flowing.
  • A visual flow meter and pressure gauge in the pipework are worth having for checks by eye.

How a Hall-effect flow meter works

  • Inside the meter body is a small turbine (rotor) that the water spins; the faster the flow, the faster it turns.
  • A magnet is fixed in the rotor. Outside the water path, sealed in the body, is a Hall-effect sensor: a small chip that responds to a magnetic field.
  • Each time the magnet passes, the Hall sensor switches its output, giving one electrical pulse. So the number of pulses per second is proportional to the flow, and the total number of pulses to the volume that has passed.
  • The meter's K-factor (pulses per litre) converts one to the other: litres per minute = pulses per second x 60 / K. Makers' figures are a starting point only - check against a water meter.
  • Because nothing electrical touches the water and the output is a simple on/off pulse, these meters are cheap, robust and easy to read.

Reading one with an Arduino

  • Three wires: red to the supply (often 5-24 V), black to ground, yellow (signal) to an interrupt-capable digital pin (on an UNO, D2 or D3), so every pulse is counted the moment it arrives.
  • Add a pull-up resistor if the meter's output needs one (many have an open-collector output).
  • If you power the meter above 5 V, check the signal voltage: it may follow the supply, which would damage the board's input. Power it from a clean 5 V supply or reduce the signal with a divider (essential on 3.3 V boards such as the ESP32).
  • In the code, debounce (ignore pulses only a few milliseconds apart) and average over a second or two.

Buying a flow meter

The cheapest source is AliExpress. Search for "Hall flow sensor" or "water flow sensor" with the pipe size:

  • Small meters (DN15, 1/2 inch, e.g. the YF-S201 type; plastic or brass) cost a few dollars and suit a mains or refill line up to about 30 L/min.
  • Larger meters (DN25 to DN50, 1 to 2 inch; brass or plastic) for the pump output cost roughly $20-60. Choose the size to suit the pipe and the flow (a 2-inch meter for a few hundred litres a minute) and check the thread type (BSP in Australia).
  • All of them can be input into an Arduino as above.

A manual (visual) flow meter

Two kinds are on AliExpress:

  • A Hall-effect flow meter with its own digital display (e.g. DN50, 2 inch, in stainless steel). It works in the same way as the meters above, but has a built-in screen showing the flow rate (and usually the total volume), so you can read it by eye in the pipework without a board or dashboard. Check the listing for its power supply, and whether it also has a pulse or 4-20 mA output that an Arduino could read.
  • A variable-area or "float" flow meter for roughly $15-100 depending on size (rotameter; e.g. the LZS series with a clear plastic tube). Water flowing up through a tapered tube lifts a float, and the higher the flow the higher the float rides: you read the flow in litres per minute from a scale on the tube. It needs no power or electronics, so it is a good independent check by eye on the electronic meter - but it must be mounted vertically, and it cannot be read by an Arduino. (Dial water meters, which total the litres, are another manual option; some have a pulse output that an Arduino can count.)

Why flow matters less than you might think

Once the flows are measured, they tend to be steady and predictable; the tank level tells you more about how long you can keep going (see Tank level). Flow meters come into their own as a backup: if the tank gauge fails, the level can be estimated from the water pumped out.

The ARMAC approach

  • Oil and water pressure switches shared with the SFS01 controller, read through 1N5819 diodes, 1 kohm pull-ups and an optocoupler board.
  • A DN50 stainless steel Hall-effect meter with a digital display (from AliExpress) in the shed's control pipe, with a pressure gauge, for checks by eye.
  • A DN50 Hall-effect meter on the pump output, calibrated at 16.2 pulses per litre against the house meter and averaged over 2 seconds; a DN15 meter on the mains inlet to the tank.
  • Measured flows of 147 L/min (reduced) and 217 L/min (high), which the controller learns and uses if the flow meter fails too.

Details: Sensors on ARMAC.AU (water flow and pressure sections).


Pages here are kept under the Site Editor's control; see Contributing to add to them.

Discuss this page

Questions, corrections or your own experience of this topic? Add a comment below. You need to be signed in to the forum to comment.

Edit - History - Print - Recent Changes - Search
Page last modified on 03 December 2026, at 09:49
By using this site you accept the Terms of Use · Privacy