> For the complete documentation index, see [llms.txt](https://wiki.openelab.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wiki.openelab.io/aiot/m5stack/m5stack-ncir-2-thermometer-unit-mlx90614.md). Agents can also search and read this documentation through its [MCP server](https://wiki.openelab.io/~gitbook/mcp).

# M5Stack NCIR 2 Thermometer Unit (MLX90614)

{% hint style="info" %}
[**View M5Stack NCIR 2 Thermometer Unit with MLX90614 IR Sensor on OpenELAB**](https://openelab.io/products/ncir-2-thermometer-unit)

**Store SKU / option:** `M5-U150`. Match the purchased model and revision to the official reference below.
{% endhint %}

### M5Stack NCIR 2 Thermometer Unit (MLX90614)

***

### Product Link

{% embed url="<https://openelab.io/products/ncir-2-thermometer-unit>" %}

### Introduction

Living through this pandemic has made contactless temperature sensing a must! The NCIR 2 Thermometer Unit utilizes the MLX90614 temperature sensor, and take ambient and object temperature readings with No Contact. Great for socially-distant reality.

The MLX90614 sensor is factory calibrated in wide temperature range, -40 to 125 ˚C for the ambient temperature and -70 to 380 ˚C for the object temperature. The embedded MCU - STM32 can process the data to achieve high/low temperature alert function. There are also buzzer, RGB LED, function button and reset button on board.

<figure><img src="https://1292444914-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtgOfPnscWebs1eh82EKq%2Fuploads%2FyhlplehOdziZgk71e5BK%2Fimage.png?alt=media&amp;token=ca01ccf6-3a5e-432a-9bd1-e7110cd4fb0f" alt=""><figcaption></figcaption></figure>

This Unit can either work with M5Core through I2C protocol, or work alone. Suitable for medical, environmental monitoring and home automation applications.

### Features

* STM32F030F4P6
* MLX90614 IR Sensor
* HY2.0-4P Connector (I2C)
* Program platform: Arduino, UIFlow
* Two brick-compatible holes

### Specifications

| Resources                            | Parameters          |
| ------------------------------------ | ------------------- |
| MCU                                  | STM32F030F4P6       |
| Sensor                               | MLX90614ESF-BAA     |
| Object Measurement Temperature Range | -70°C \~ 380°C      |
| Calibrated Sensor Temperature        | -40°C \~ 125˚C      |
| Unit Operation Temperature           | 0°C \~ 40°C         |
| Accuracy                             | ±0.5°C              |
| Program Platform                     | Arduino, UIFlow     |
| I2C Address                          | 0x5A                |
| Product Size                         | 48mm × 24mm ×8mm    |
| Package Size                         | 136mm × 92mm × 13mm |
| Product Weight                       | 7.3g                |
| Package Weight                       | 12.8g               |

### Pinout

<figure><img src="https://1292444914-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtgOfPnscWebs1eh82EKq%2Fuploads%2FzgjCbv0NBOnBJ9gX0sFd%2Fimage.png?alt=media&amp;token=1ec9f2b3-426c-4db7-a47b-73d0c7e38cc9" alt=""><figcaption></figcaption></figure>

### Dimensions

<figure><img src="https://1292444914-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtgOfPnscWebs1eh82EKq%2Fuploads%2FXC6IQdrY6yFi3NIvecJo%2Fimage.png?alt=media&amp;token=823944e2-8eb7-4f50-9473-b5c3dc8fc8a7" alt=""><figcaption></figcaption></figure>

### How to Use

* **Connect to M5Stack**: Plug the NCIR 2 Thermometer Unit into an M5Stack development board using the appropriate port.
* **Power Up**: Supply power to the M5Stack board (3.3V - 5V).
* **Initialize Sensor**: Use the M5Stack library and example code to initialize the MLX90614 sensor.
* **Read Temperature**: Access the temperature data through the I2C interface using the provided example code or custom scripts.

### FAQ

<details>

<summary><strong>What is the maximum distance for accurate temperature measurement?</strong></summary>

The sensor can accurately measure temperature up to a few centimeters, depending on the size and emissivity of the object.

</details>

<details>

<summary><strong>Can the sensor measure the temperature of liquids?</strong></summary>

Yes, it can measure the surface temperature of liquids, provided the liquid surface is stable and not reflective.

</details>

<details>

<summary><strong>Is the sensor suitable for outdoor use?</strong></summary>

The sensor operates in a wide temperature range but should be protected from direct exposure to harsh environmental conditions like rain or dust.

</details>

<details>

<summary><strong>How do I calibrate the sensor?</strong></summary>

The MLX90614 comes pre-calibrated from the factory. For recalibration, specialized equipment and software are required.

</details>

<details>

<summary><strong>Can I use this sensor with other microcontroller platforms?</strong></summary>

Yes, it is compatible with any microcontroller that supports I2C communication, including Arduino, Raspberry Pi, and ESP32.

</details>

## Official documentation and development resources

Use [Unit NCIR2](https://docs.m5stack.com/en/unit/Unit_NCIR2) for the manufacturer's complete model reference, diagrams and maintained examples. The official product code is **`U150`**; match the board/Unit label before choosing a firmware or host example. The references below complement this guide's local instructions.

| Development need                          | Model-specific reference                                                                                                             |
| ----------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------ |
| Electrical schematic                      | [Read electrical schematic](https://m5stack-doc.oss-cn-shenzhen.aliyuncs.com/604/Sch_UNIT-NCIR2.pdf)                                 |
| Mechanical / CAD files                    | [Read mechanical / cad files](https://github.com/m5stack/M5_Hardware/tree/master/Products/U150_Unit_NCIR2/Structures)                |
| Mechanical / CAD files                    | [Read mechanical / cad files](https://github.com/m5stack/M5_Hardware/blob/master/Products/U150_Unit_NCIR2/Structures/Unit_NCIR2.stl) |
| Official source: M5Unit-NCIR2             | [Read official source: m5unit-ncir2](https://github.com/m5stack/M5Unit-NCIR2)                                                        |
| Official source: M5Unit-NCIR2-Internal-FW | [Read official source: m5unit-ncir2-internal-fw](https://github.com/m5stack/M5Unit-NCIR2-Internal-FW)                                |

Keep the example's host model, interface pins and dependency versions together when reproducing a result. A schematic or SDK link does not establish that another revision uses the same wiring. Official model pages and accessible tutorial links reviewed **23 November 2026**. Other downloads above are manufacturer-listed resources; listing a file is not a test of its contents. Compilation, firmware flashing and hardware operation were **not performed** in this review.
