Component guide · Advanced · 5 min read
Gas and Air Mass Flow Sensors

Sensirion SFM3300, SFM3003 and SFM3400, Asair AFM3000, AFM3020, AFM3100, AMS2000 and AMC2100, Winsen F1012, F1031 and FR03, Honeywell AWM3300V and TE MAF
By Geekobot Learning Team · Updated 29 Oct 2026
On this page
Mass flow sensors measure how much gas passes per minute using a tiny heated element: more flow carries away more heat. They read in standard litres per minute (slm) and are used in ventilators, gas mixing, fuel cells, lab rigs and air quality instruments. Sensirion SFM and Asair AFM sensors use I2C, Asair AMS and AMC units use RS485 Modbus, and Winsen and Honeywell parts give an analog voltage.
Key specs at a glance
- Principle
- Thermal MEMS (calorimetric)
- Ranges
- Under 1 slm to 500 slm depending on model
- Outputs
- I2C (SFM, AFM3000), RS485 Modbus (AMS, AMC), 0.5-4.5V analog (Winsen, Honeywell)
- Gas
- Calibrated for air or O2; other gases need correction
- Supply
- 3.3-5V for I2C parts, 9-24V for Modbus meters
- Controller
- AMC2100 also controls flow with a built-in valve
Models in this guide
These are alternatives. Pick the one that fits your project; you only need one.
Option 1Sensirion SFM3300-AW Air Flow Sensor ±250 slm, Digital I2C Output₹20,880
Option 2Sensirion SFM3003-300-CE Mass Flow Sensor 0-300 slm, Calibrated Air/O2₹18,469
Option 3Sensirion SFM3400-33-AW Digital Flow Sensor, 33 L/min, 1.1 Bar, 5.25V, I2C Interface₹21,759
Option 4Asair AFM3000 Mass Flow Meter – Digital I2C Interface₹5,599
Option 5Asair AFM3020 Mass Flow Sensor – I2C Interface₹4,499
Option 6Asair AFM3100 Flow Sensor – Bidirectional Mass Flow, Temperature & Humidity Measurement₹9,259
What the MEMS gas and air mass flow sensors (Sensirion SFM, Asair AFM, Winsen, Honeywell) is
Gas mass flow sensors such as the Sensirion SFM3000 and Honeywell AWM series measure how much gas flows through a pipe, for ventilators, analysers and lab gas lines.
Pick by range and interface. For breathing and ventilator airflow, the Sensirion SFM3300 (±250 slm, I2C) and Asair AFM3000 family are common. For small gas lines in lab or analyser equipment, Winsen FR03 and FR06 or the Honeywell AWM3300V give simple analog outputs. For panel meters on gas lines, the Asair AMS2000 and AMS2106 read over Modbus and show flow on a display; the AMC2100 adds closed-loop control.
Keep the gas clean and dry, fit straight pipe before and after the sensor, and match the flow direction arrow. A sensor calibrated for air reads wrong for CO2 or argon unless you apply the maker's gas factor.
MEMS gas and air mass flow sensors (Sensirion SFM, Asair AFM, Winsen, Honeywell) pinout
The pins on the MEMS gas and air mass flow sensors (Sensirion SFM, Asair AFM, Winsen, Honeywell) and what each one does.
| Pin | Function |
|---|---|
| VDD | 3.3-5V (I2C parts) or 9-24V (Modbus) |
| GND | Ground |
| SDA / SCL | I2C on SFM and AFM3000 |
| A / B | RS485 on AMS and AMC |
| Vout | Analog output on Winsen and Honeywell |
- VDD
- 3.3-5V (I2C parts) or 9-24V (Modbus)
- GND
- Ground
- SDA / SCL
- I2C on SFM and AFM3000
- A / B
- RS485 on AMS and AMC
- Vout
- Analog output on Winsen and Honeywell
Wiring the MEMS gas and air mass flow sensors (Sensirion SFM, Asair AFM, Winsen, Honeywell)
Follow the flow arrow and keep straight pipe before the inlet for a stable reading.
| MEMS gas and air mass flow sensors (Sensirion SFM, Asair AFM, Winsen, Honeywell) pin | Connection | Note |
|---|---|---|
| VDD | 5V | SFM3300 needs 5V |
| GND | GND | Common |
| SDA | ESP32 GPIO21 | Pull-ups on the board |
| SCL | ESP32 GPIO22 | Keep wires short |
- VDD
- Connection:
- 5V
- Note:
- SFM3300 needs 5V
- GND
- Connection:
- GND
- Note:
- Common
- SDA
- Connection:
- ESP32 GPIO21
- Note:
- Pull-ups on the board
- SCL
- Connection:
- ESP32 GPIO22
- Note:
- Keep wires short
Example code
Offset and scale differ between SFM models and between air and O2 calibrations. Take them from the data sheet of your exact part.
#include <Wire.h>
const uint8_t ADDR = 0x40;
const float OFFSET = 32768.0; // SFM3300 data sheet values
const float SCALE = 120.0; // check your model's data sheet
void setup() {
Serial.begin(115200);
Wire.begin(21, 22);
Wire.beginTransmission(ADDR);
Wire.write(0x10); Wire.write(0x00); // start continuous measurement
Wire.endTransmission();
delay(100);
}
void loop() {
Wire.requestFrom(ADDR, (uint8_t)3); // 2 data bytes + CRC
if (Wire.available() >= 3) {
uint16_t raw = (Wire.read() << 8) | Wire.read();
Wire.read(); // CRC, not checked here
float slm = (raw - OFFSET) / SCALE;
Serial.print("Flow: "); Serial.print(slm, 2); Serial.println(" slm");
}
delay(100);
}Setup and tuning
digital sensors use I2C; analog ones give a voltage proportional to flow.
fit the sensor with the flow arrow pointing the right way.
keep straight pipe before the sensor so the flow is smooth.
calibration is for air or a stated gas; other gases need a correction factor.
add a filter upstream so dust does not clog the sensor.
What you need
Shop this list19 of 20 found in our store · ₹1,84,010
Sensirion SFM3300-AW Air Flow Sensor ±250 slm, Digital I2C Output: the part this guide coversSensirion SFM3300-AW Air Flow Sensor ±250 slm, Digital I2C Output₹20,880
Sensirion SFM3003-300-CE Mass Flow Sensor 0-300 slm, Calibrated Air/O2: another version this guide coversSensirion SFM3003-300-CE Mass Flow Sensor 0-300 slm, Calibrated Air/O2₹18,469
Sensirion SFM3400-33-AW Digital Flow Sensor, 33 L/min, 1.1 Bar, 5.25V, I2C Interface: another version this guide coversSensirion SFM3400-33-AW Digital Flow Sensor, 33 L/min, 1.1 Bar, 5.25V, I2C Interface₹21,759
Asair AFM3000 Mass Flow Meter – Digital I2C Interface: another version this guide coversAsair AFM3000 Mass Flow Meter – Digital I2C Interface₹5,599
Asair AFM3020 Mass Flow Sensor – I2C Interface: another version this guide coversAsair AFM3020 Mass Flow Sensor – I2C Interface₹4,499
Asair AFM3100 Flow Sensor – Bidirectional Mass Flow, Temperature & Humidity Measurement: another version this guide coversAsair AFM3100 Flow Sensor – Bidirectional Mass Flow, Temperature & Humidity Measurement₹9,259
Asair AFM0725 Mass Flow Meter – RS485 Digital Output: another version this guide coversAsair AFM0725 Mass Flow Meter – RS485 Digital Output₹11,669
Asair AMS2000 Mass Flow Meter 500 L/min – Modbus RTU, 9-24V DC: another version this guide coversAsair AMS2000 Mass Flow Meter 500 L/min – Modbus RTU, 9-24V DC₹17,589
Asair AMS2106 Digital Display Gas Mass Flow Meter -200L/min – RS485 Modbus: another version this guide coversAsair AMS2106 Digital Display Gas Mass Flow Meter -200L/min – RS485 Modbus₹12,659
Asair AMC2100 Series Mass Flow Controller – RS485 Modbus RTU, Stainless Steel: another version this guide coversAsair AMC2100 Series Mass Flow Controller – RS485 Modbus RTU, Stainless Steel₹17,349
Winsen F1012 Micro Gas Flow Sensor – MEMS Thermal Flow Sensor, 50-2000 sccm, 10V DC: another version this guide coversWinsen F1012 Micro Gas Flow Sensor – MEMS Thermal Flow Sensor, 50-2000 sccm, 10V DC₹5,359
Winsen F1031V Micro Flow Sensor for Ventilation – 150 SLM: another version this guide coversWinsen F1031V Micro Flow Sensor for Ventilation – 150 SLM₹8,217
Winsens F1031 Micro Gas Flow Sensor – Analog Voltage Output: another version this guide coversWinsens F1031 Micro Gas Flow Sensor – Analog Voltage Output₹4,209
Winsen FR03 Micro Flow Sensor – MEMS Thermal, 0.2-0.5 SLM, 0.5-4.5V Output: another version this guide coversWinsen FR03 Micro Flow Sensor – MEMS Thermal, 0.2-0.5 SLM, 0.5-4.5V Output₹6,429
Winsen FR06 Micro Flow Sensor – DN6 Port, 0.5-4.5V Output, 10/20 SLM Full Scale: another version this guide coversWinsen FR06 Micro Flow Sensor – DN6 Port, 0.5-4.5V Output, 10/20 SLM Full Scale₹6,149
Honeywell AWM3300V Flow Sensor, Range: ±1 SLPM, 5V Output, Silicon Housing: another version this guide coversHoneywell AWM3300V Flow Sensor, Range: ±1 SLPM, 5V Output, Silicon Housing₹8,229
TE Connectivity G-MAFCO-005 Mass Air Flow Sensor – Hot Film Anemometer, 55-70mm Channel: another version this guide coversTE Connectivity G-MAFCO-005 Mass Air Flow Sensor – Hot Film Anemometer, 55-70mm Channel₹5,249
ESP32-WROOM-32 38-pin development board: for Wi-Fi logging and dashboardsESP32-WROOM-32 38-Pin Development Board₹389
Dupont jumper wires: for the connectionsDupont Jumper Wires (40 pcs)₹49Closest match, check the specs- USB to RS485 converter: to read Modbus flow meters from a PCFind this part
Alternatives and when to choose them
- Industrial flow meters: liquid flow meters.
- Hall effect water flow sensor: low-cost water flow.
- Oxygen O2 sensors: gas concentration.
Common mistakes to avoid
- Installing the sensor backwards.
- Using it with a gas it is not calibrated for.
- Placing it right after a bend.
- Running without an upstream filter.
Frequently asked questions
What does a mass flow sensor measure?
The mass of gas passing per unit time, often shown in standard litres per minute.
Can I use an air-calibrated sensor for oxygen?
Yes, with the correction factor from the datasheet.
Why are readings noisy?
Turbulent flow; add straight pipe before the sensor and average readings.
Does flow direction matter?
Yes. Most sensors only measure one way or need the arrow followed.
Can I use it for medical devices?
Only with certified parts and design; DIY builds are not medical equipment.
Parts for 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.

