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

Fuel level

A diesel or petrol pump that runs out of fuel stops defending. A fuel gauge you can read remotely tells you how long the pump can keep going, and when the tank needs topping up before the fire season - or before the fire arrives.

Fuel senders

A fuel level sender is a float that rides on the fuel and changes an electrical resistance as the level changes. Two kinds are common:

TypeHow it worksNotes
Tube (reed switch) senderA float carrying a magnet slides up and down a sealed stainless tube; inside, the magnet closes small reed switches along a chain of resistors, so the resistance changes in stepsCompact, no moving arm; fits through a small hole in the tank top. Must be the right length for the tank's depth
Arm (lever) senderA float on an arm turns a variable resistor, as in a carSuits deeper tanks; the arm needs room to swing

Senders come in standard resistance ranges, so that they match a dashboard gauge: 240-33 ohm (240 ohm empty, 33 ohm full; common for boats), 0-190 ohm and 10-180 ohm (European). Any of them can be read by an Arduino; if you also want a gauge on the tank, buy a matching pair. Make sure the sender suits the fuel (stainless steel, rated for diesel or petrol).

Buying a fuel sender

The cheapest source is AliExpress, where stainless 240-33 ohm tube senders in lengths from 100 to 500 mm cost roughly $15-40 (search for "fuel level sender 240-33 ohm stainless"). Choose the length from the tank's inside depth: the maker's instructions usually call for a sender a little shorter than the tank. Marine and automotive suppliers sell the same types for more, with local support.

Reading a fuel sender with an Arduino

The sender is a variable resistor, so it can be input into an Arduino with a voltage divider:

  5 V ---[ fixed resistor, e.g. 100 ohm ]---+---[ sender ]--- GND
                                            |
                                            +--> Arduino analog input
  • The voltage at the junction rises as the resistance rises (towards empty). Choose the fixed resistor so the current stays modest (about 10-20 mA) and the voltage spans a good part of the 0-5 V range.
  • Calibrate by recording the reading with the tank empty and full (and ideally at a few levels in between): the divider is not linear, and a reed sender moves in steps.
  • Smooth the reading over several seconds: fuel sloshes when the engine vibrates.
  • Treat a reading beyond the empty or full limits as a fault (cable cut or shorted), not a level.
  • Keep the wiring away from the fuel and out of the engine's heat.

Other ways to know the fuel

  • A sight tube or mechanical gauge on the tank, for checks by eye.
  • Run time: the pump's fuel use per hour times the hours it has run gives a rough estimate, and is a useful backup.
  • Capacitive and ultrasonic fuel sensors with ready-made voltage outputs exist, but cost more.

The ARMAC approach

  • A Wema 240-30 ohm, 100 mm stainless reed-switch sender, suitable for diesel (from Boat Accessories Australia), in the 24-litre reserve tank that runs in parallel with the pump's own 13-litre tank.
  • Wired 5 V - 100 ohm - sender - GND, with the junction read on an Arduino analog input; it draws 9-15 mA. Bench tests gave 3.54 V empty and 1.17 V full, and the code uses the raw readings from a calibration run on the Arduino.
  • Shown as a gauge on the Home Assistant dashboard, and available to the autonomous decision making. When it reads empty about 6 litres still remain in that tank.

Details: Sensors on ARMAC.AU (diesel fuel level section).


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