1. Catalogs
  2. Shenzhen MemsFrontier Electronics Co., Ltd.
  3. MemsFrontier CO2 Sensor Module MEMSF MTP40-F

MemsFrontier CO2 Sensor Module MEMSF MTP40-F

MemsFrontier CO2 Sensor Module MEMSF MTP40-F

MemsFrontier CO2 Sensor Module MEMSF MTP40-F

Product catalog summary

Product Overview

The MEMSF MTP40-D is an NDIR (Non-Dispersive Infrared) CO2 sensor module designed by Shenzhen MemsFrontier Electronics Co., Ltd. It features advanced self-calibration algorithms enabling long-term high accuracy without factory recalibration.

Specifications

  • Target Gas: CO2
  • Measurement Range: 400 ppm to 5000 ppm
  • Accuracy: ±(50 ppm + 5% of reading)
  • Response Time: T90 = 90 seconds
  • Operating Temperature: -20°C to 60°C
  • Operating Humidity: 0-90% RH (non-condensing)
  • Storage Temperature: -40°C to 85°C
  • Power Supply: 4.2V to 5.5V
  • Power Consumption: Peak 300mA, Normal 4mA, Average 13mA
  • Dimensions: 32.5 × 20 × 8.5 mm (max)
  • Communication Interfaces: UART and I2C
  • Life Expectancy: Over 10 years

Pin Configuration and Electrical Characteristics

The module has 9 pins including power supply, ground, communication lines (Host-TX, Host-RX for UART; I2C SDA, SCL), PWM output, alarm output, and manual calibration input (bCAL-in).

  • Output Voltage: 3.3V ±2%
  • Maximum Output Current: 6mA
  • Alarm Output: Open-drain with weak pull-up (~50kΩ), outputs high when CO2 >1000 ppm, low when <800 ppm
  • Manual Calibration Pin (bCAL-in): Pull low for >2 seconds to trigger manual calibration using ambient CO2 (~400 ppm)

Operating Principles and Features

The sensor uses NDIR technology for CO2 detection. It includes a self-calibration algorithm with a default cycle of 7 days (adjustable from 24 to 720 hours). After power-on, an initial self-calibration occurs within 24 hours to quickly stabilize accuracy. For best results, the sensor environment should approximate outdoor atmospheric CO2 levels for several hours during calibration periods.

Communication Protocol

The module supports UART and I2C communication at 9600 bps. The communication protocol uses a fixed frame header (0x42 0x4D) and includes instruction bytes, command bytes, data length, data payload, and checksum for error checking.

  • Key Commands:
    • Set air pressure parameter (default 1013 hPa)
    • Read air pressure
    • Single point correction (manual calibration)
    • Read calibration status
    • Read CO2 concentration
    • Enable/disable self-calibration
    • Read/set self-calibration period

The CO2 concentration data is transmitted as a 32-bit integer with a validity flag (0x00 valid, 0xFF invalid).

Calibration Methods

  • Self-Calibration: Automatic periodic correction to maintain accuracy, default cycle 7 days, adjustable via commands.
  • Manual Calibration: Triggered by pulling bCAL-in pin low for more than 2 seconds in an environment with ambient CO2 (~400 ppm). Also supported via software commands.

Alarm Function

The Alarm-OC pin outputs a high level when CO2 concentration exceeds 1000 ppm and low when below 800 ppm. It is an open-drain output with a weak pull-up resistor and cannot sink current. In case of module error, the alarm pin remains high.

PWM Output

The PWM output cycle is 1004 ms with a high pulse width ranging from 2 ms to 1002 ms corresponding to CO2 concentration from 0 to 5000 ppm. The CO2 concentration can be calculated using the formula:

Cppm = 5000 × (TH - 2 ms) / (TH + TL - 4 ms)

where TH is the high-level duration and TL is the low-level duration within one PWM cycle.

Application Examples

Examples include setting and reading air pressure parameters, reading CO2 concentration, and controlling calibration functions via serial commands. The document provides detailed hexadecimal command frames for these operations.

Important Notes and Best Practices

  • Ensure the sensor environment approximates outdoor CO2 levels during calibration periods for accurate self-calibration.
  • Do not connect pull-up or pull-down resistors to the RS485 direction control pin (Pin 8) when used in UART mode.
  • The alarm output pin has limited drive capability; external circuitry should accommodate this.
  • Communication lines operate at 3.3V logic levels with internal current limiting resistors.

Manufacturer Contact

Shenzhen MemsFrontier Electronics Co., Ltd.
Address: 3/F, B2 Building, China Merchants Guangming Sci-Tech Park, Guanguang Rd., Guangming District, Shenzhen, Guangdong, China 518107
Tel: +86-755-21386871
Email: [email protected]
Website: www.memsf.com

See more

Catalog excerpts

MemsFrontier CO2 Sensor Module MEMSF MTP40-F-1

S P E C I F I C AT I O N Shenzhen MemsFrontier Electronics Co., Ltd.

 Open the catalog to page 1
MemsFrontier CO2 Sensor Module MEMSF MTP40-F-2

MTP40-F MTP40-D NDIR R C O 2Sensor Module N D I CO 2 传感器模块 Specifications MEMSF MTP40-F-5K CO 2 Module Target Gas Operating Principle Measurement Range Measurement Interval Response Time Operating Temperature Operating Humidity Storage Temperature Power Supply Power Consumption 300mA peak, 4mA normal, 13mA average Life Expectancy Serial Communication Alarm Output >1000ppm output to 1, <800ppm output to 0, open-drain output with pull-up resistor, the pin cannot sink any current Self Calibration Cycle Initial time is 24 hours, later is 7 days Absolute Maximum Ratings Parameter Ambient Storage Temperature...

 Open the catalog to page 2
MemsFrontier CO2 Sensor Module MEMSF MTP40-F-3

MTP40-F MTP40-D NDIR R C O 2Sensor Module N D I CO 2 传感器模块 Terminals Description Pin Function Electrical Specification Power Pins GND(Pin 2) VIN(Pin1) VCC-Out(Pin5) Power Supply Minus Terminal Supply Plus Terminal The internal LDO output of the sensor is usually 3.3V+/-2%. Generally used for serial communication level conversion. Unprotected against reverse connection, input voltage range: 4.2V---5.5V Output voltage: 3.3V+/-2% No overcurrent protection Maximum output current: 6mA Communication Pins Host-TX(Pin6) /IIC-SDA The TX pin of the UART of the host system is usually the TX of the customer's...

 Open the catalog to page 3
MemsFrontier CO2 Sensor Module MEMSF MTP40-F-4

MTP40-F MTP40-D NDIR R C O 2Sensor Module N D I CO 2 传感器模块 Calibration Function The module supports two calibration functions: 1.The MTP40 module is a precision optical module. Due to various reasons such as transportation, installation, welding, etc., the measurement of the module will cause a certain drift, making influence to the accuracy. The module has a built-in self-calibration algorithm, which can automatically correct the measurement error periodically, so that the module always maintains a relatively good measurement accuracy. The module selfcalibration cycle defaults to 7 days (168...

 Open the catalog to page 4
MemsFrontier CO2 Sensor Module MEMSF MTP40-F-5

MTP40-F MTP40-D NDIR R C O 2Sensor Module N D I CO 2 传感器模块 0x0007 0x0008 0x0009 Read self-calibration status Read the self-calibration period(hours) Set the self-calibration period(hours) 2. Basic Control Protocol Function Name Send by Set air pressure MCU paramReturn by eters Module Read the Send by MCU current pressure Return by value Module Send by MCU Read gas concentration Return by value Module Single point correction function (with reference concentration) Read single point correction status Instruction Command Data Length Frame Header Byte Byte The range of atmospheric pressure is 700-1100...

 Open the catalog to page 5
MemsFrontier CO2 Sensor Module MEMSF MTP40-F-6

MTP40-F MTP40-D NDIR R C O 2Sensor Module N D I CO 2 传感器模块 3. Quick Guide: ①Set air pressure parameters Send:0x42 0x4D 0xA0 0x00 0x01 0x00 0x02 0x03 0xF5 0x02 0x2A ③Read gas concentration value Send:0x42 0x4D 0xA0 0x00 0x03 0x00 0x00 0x01 0x32 Data valid bit is 0xFF,the data is unavailable: IIC Instruction Descriptions The module operates in IIC slave mode and can be connected to an external MCU with a pull-up resistor inside the module. The slave address is: 0x32 (7-bit address) The write operation address is: 0x64 The read operation address is: 0x65 Host sending timing: 1.Send a start signal;...

 Open the catalog to page 6
MemsFrontier CO2 Sensor Module MEMSF MTP40-F-7

MTP40-F MTP40-D NDIR R C O 2Sensor Module N D I CO 2 传感器模块 PWM Function Descriptions The cycle of the PWM is 1004ms; High level output 2ms in the initial stage; The central cycle is 1000ms; Low level output 2ms at the end stage. Calculation formula for obtaining the current Co 2 Concentration value through PWM: Cppm = 5000*(TH-2ms)/(TH+TL-4ms); Cppm is the calculated CO2 concentration value, the unit is ppm; TH is the time when the output is high in an output cycle; TL is the time when the output is low in one output cycle. The alarm values were edited. Shenzhen MemsFrontier Electronics Co.,...

 Open the catalog to page 7

All Shenzhen MemsFrontier Electronics Co., Ltd. catalogs and technical brochures

*Prices are pre-tax. They exclude delivery charges and customs duties and do not include additional charges for installation or activation options. Prices are indicative only and may vary by country, with changes to the cost of raw materials and exchange rates.