Comparison · Intermediate · 3 min read
Flow Sensors and Meters
Hall Turbine, Electromagnetic, Ultrasonic and Thermal
By Geekobot Learning Team · Updated 29 Oct 2026
On this page
Hall-effect turbine meters count pulses as water spins a small rotor and are the easy choice for Arduino projects. Electromagnetic and ultrasonic meters have no moving parts and suit industrial pipes. Thermal (calorimetric) sensors measure low gas or liquid flows. Choose by fluid, pipe size, flow range and output, and use the K-factor to convert pulses to litres.
Key specs at a glance
- Turbine / Hall
- Pulses per litre; clean water; low cost
- Electromagnetic
- Conductive liquids only, no moving parts, accurate
- Ultrasonic
- Clamp-on or inline, clean liquids
- Thermal / calorimetric
- Gas or liquid flow velocity, for small pipes and low flow
- Rotameter
- Visual float scale, no power
- Outputs
- Pulse, 4-20 mA, 0-10 V or RS485 Modbus
Flow meter types
Different technologies suit different fluids.
| Type | Good for | Limits |
|---|---|---|
| Hall turbine (YF-S201, turbine meters) | Clean water, drinks, irrigation | Rotor can clog or wear; low flows are inaccurate |
| Electromagnetic | Dirty or conductive liquids, slurry | Not for oil or pure water with low conductivity |
| Ultrasonic | Clean liquids, retrofit clamp-on | Needs a clean pipe and stable flow |
| Thermal mass / calorimetric | Compressed air, low flows, process monitoring | Needs the right calibration |
| Rotameter | Local reading, simple | Visual only unless fitted with a sensor |
- Hall turbine (YF-S201, turbine meters)
- Good for:
- Clean water, drinks, irrigation
- Limits:
- Rotor can clog or wear; low flows are inaccurate
- Electromagnetic
- Good for:
- Dirty or conductive liquids, slurry
- Limits:
- Not for oil or pure water with low conductivity
- Ultrasonic
- Good for:
- Clean liquids, retrofit clamp-on
- Limits:
- Needs a clean pipe and stable flow
- Thermal mass / calorimetric
- Good for:
- Compressed air, low flows, process monitoring
- Limits:
- Needs the right calibration
- Rotameter
- Good for:
- Local reading, simple
- Limits:
- Visual only unless fitted with a sensor
Counting pulses
A turbine sensor gives a pulse for each part of a revolution. The datasheet lists the K-factor (pulses per litre). Flow in litres per minute is the pulse frequency in hertz divided by the K-factor, times 60. Count pulses with an interrupt for accuracy.
const uint8_t FLOW_PIN = 2;
const float K_PULSES_PER_L = 450.0; // check your meter data sheet
volatile unsigned long pulses = 0;
void onPulse() { pulses++; }
void setup() {
Serial.begin(115200);
pinMode(FLOW_PIN, INPUT_PULLUP);
attachInterrupt(digitalPinToInterrupt(FLOW_PIN), onPulse, RISING);
}
void loop() {
static unsigned long total = 0;
delay(1000);
noInterrupts(); unsigned long p = pulses; pulses = 0; interrupts();
total += p;
float lpm = p / K_PULSES_PER_L * 60.0;
Serial.print(lpm); Serial.print(" L/min total "); Serial.print(total / K_PULSES_PER_L); Serial.println(" L");
}How to choose
- 1Fluid: water, oil, air or slurry decides the technology.
- 2Pipe size and fittings: thread or flange must fit.
- 3Flow range: choose a meter whose range covers your minimum and maximum flows. Meters are least accurate near their minimum.
- 4Pressure and temperature rating.
- 5Output signal: pulse for microcontrollers, 4-20 mA or RS485 for PLCs (Modbus).
- 6Installation: straight pipe before and after the meter improves accuracy.
Try it: Flow rate converter calculator
Change the values and the diagram and results update as you type.
Common mistakes to avoid
- Choosing a meter too large for the actual flow.
- Using a turbine meter with dirty water.
- Mounting without straight pipe runs.
- Ignoring the K-factor when converting pulses.
- Using electromagnetic meters on non-conductive liquids.
Frequently asked questions
Can I measure fuel with a water flow sensor?
No. Use a meter rated for the fluid; many cheap sensors are not compatible with oil or fuel.
What is the K-factor?
Pulses per litre. It comes from the data sheet or calibration.
How accurate are cheap Hall sensors?
Around ±5 to 10 % unless calibrated, and worse at low flow.
Do I need a pull-up resistor?
Yes, the sensor output is usually open collector. Use INPUT_PULLUP or a resistor.
Which meter has no moving parts?
Electromagnetic and ultrasonic meters.
Parts for this guide
Calculators
Terms in this guide
Keep learning
Sources
Written by the Geekobot team from manufacturer datasheets. Always check the datasheet for the exact part and variant you buy.




