Sensor type · Frequency / pulse width · NTC thermistor

MAF sensor (mass airflow)

mass airflow sensormass air flow meterair mass meterHFMhot wire MAF

A MAF sensor measures the mass of air entering the engine by how much the airflow cools a heated wire or film. Wiring depends on the output: hot-wire and many hot-film units give an analog voltage, others a frequency signal, so the signal goes to an analog or a frequency input. Most post-1996 MAFs also carry an intake air temperature thermistor in the same housing.Medium31

Parts in the library

Support across ECUs

Across the 2 parts in this hub (0 with a maker-verified pinout). Open a part for the setup notes and sources.

GAINS ECU22 to be confirmed
Haltech (Elite / Nexus)2 configurable (generic input)
Link (G4X)2 unverified
MoTeC (M1)2 unverified
ECUMaster (EMU Black)2 unverified
AEM (Infinity)2 unverified
MaxxECU2 unverified
Holley (Terminator X / EFI)2 unverified

Trademarks belong to their owners. Names are used only to identify compatible products; no endorsement is implied.

How it works

The sensor heats an element in the airstream. Passing air carries heat away in proportion to its mass, and the electronics turn the resulting temperature difference into an airflow signal the ECU uses to meter fuel.Medium23

Older vane and Kármán-vortex meters measured volume and needed separate temperature and pressure corrections. A thermal MAF responds to mass, which is what fuelling needs.Medium31

Bosch calibrates the element and its housing together and supplies only complete assemblies to the aftermarket, because removing or altering the element breaks that calibration. Its later HFM 7 and HFM 8 units use digital control.2

Types and variants

Hot wire

A heated platinum wire. Output is typically an analog voltage or a pulse-width signal; some use a burn-off cycle after shutdown to clean the wire.Medium3

Hot film (Bosch HFM)Frequency / pulse width

A heated film grid instead of a wire. Many hot-film sensors output a frequency rather than a voltage; check the specific part.Medium32

Kármán vortexFrequency / pulse width

Counts vortices shed behind a strut and outputs a frequency; used on some Toyota, Lexus, Mitsubishi and BMW models. It measures volume, not mass.Medium3

MAF with built-in IATNTC thermistor

Most post-1996 MAFs carry an intake air temperature thermistor in the housing, wired as a separate two-wire thermistor circuit through the same connector.Medium3

Wiring

A MAF connector carries the sensor supply, ground or grounds, the airflow signal and, where fitted, the IAT. Take pin functions from the OEM wiring diagram for that exact part number; layouts differ between makers and generations.Medium13

Match the ECU input to the output type: an analog-voltage MAF goes to an analog input with the pull-up off, a frequency MAF to a digital or frequency input. The IAT goes to an analog input with the pull-up on.Medium31

Keep the factory housing, screen and a straight run of pipe ahead of the sensor. Bosch's point that the element is calibrated to its housing applies to the whole inlet: a new bore or bend changes the reading.Medium21

Connector and wiring library

Common faults and checks

Trims swing lean or rich after an intake or housing change

Likely cause Calibration no longer matches the housing

Check Return to the factory housing or recalibrate the airflow table against lambda and fuel trims.Medium23

Airflow reads high, lean codes after a filter service

Likely cause Oil from an oiled-gauze filter coating the element

Check Inspect the element; GM has issued a bulletin on this.Low3

Airflow reading erratic at full load

Likely cause Turbulence from a bend or a blow-off valve venting upstream

Check Check the inlet layout and where any recirculated air re-enters ahead of the MAF.Medium1

Frequently asked

Does a MAF sensor output voltage or frequency?

It depends on the design. Hot-wire sensors usually output an analog voltage or a pulse-width signal, while many hot-film and Kármán-vortex sensors output a frequency. Check the part's OEM data before choosing the ECU input.Medium3

How do you wire a MAF sensor to a standalone ECU?

Supply and ground per the OEM diagram, the airflow signal to an analog input (voltage type) or a frequency input (frequency type), and any built-in IAT to an analog input with its pull-up on. The ECU then needs an airflow calibration for that sensor and housing.Medium31

Can you run an engine without a MAF sensor?

Yes. A speed-density ECU calculates airflow from manifold pressure, engine speed and air temperature, so many standalone builds drop the MAF and fit a MAP sensor instead.Medium1

Why does a bigger MAF housing need a retune?

The sensor reads airflow over a small element, and its calibration assumes the factory bore and inlet. Bosch calibrates element and housing as one unit, so a different housing changes the reading until the airflow table is redone.Medium2

Is the IAT inside the MAF accurate enough to use?

Usually yes for fuelling correction, if the MAF sits in the moving inlet air. On a boosted engine the MAF is upstream of the compressor, so it reads inlet air, not charge temperature after the intercooler.Medium31

Related

Use it with GAINS

MAF sensor on GAINS hardware

ECU2Digital/frequency input personality

Pins
On the ECU2 pin map
Pull-up
On
Shielding
Not needed

Frequency MAF: INJ5-6 (4-cylinder builds) or IGN5-6 as a digital/frequency input with the 2.2 kΩ pull-up. An airflow model is not in the concept firmware yet.Medium4

ECU2AVI (0-5 V, pull-up off)

Pins
On the ECU2 pin map
Pull-up
Off
Shielding
Not needed

Analog-voltage MAF on an AVI with the pull-up off (signal level must stay within 0-5 V).Medium4

GAINS hardware is pre-release concept design; pin numbers can change before release and none of it has been tested on a vehicle yet.45

Concept Pre-release hardware. Pin assignments come from the current design documents and may change.

Sources

  1. Automotive Handbook, 10th edition (2018) · Robert Bosch GmbH / Wiley · book · retrieved 2026-11-04
  2. Air Mass Meters: overview, features and benefits (Aug 2017) · Robert Bosch Ltd (Bosch Automotive Aftermarket UK) · vendor-doc · retrieved 2026-11-04
  3. Mass flow sensor (Wikipedia) · Wikipedia · reference · retrieved 2026-11-04
  4. internal GAINS internal: ECU2 concept and pin map v0.3 (hardware/mini-ecu/CONCEPT.md §3)
  5. internal GAINS internal: PDM2 input and output specification (hardware/mini-pdm/SPEC.md)