Grove - Digital Infrared Temperature Sensor

Introduction

3.3V 5.0V I2C

The Digital Infrared temperature sensor is a non-contact temperature measurement module which bases on MLX90615.Both the IR sensitive thermopile detector chip and the signal conditioning chip are integrated in the same package.This module communicates with Arduino using SMBus,up to 127 sensors can be read via common 2 wires.Thanks to the module’s low noise amplifier, 16-bit ADC and powerful DSP unit, it can achieved a high accuracy of 1℃ over wide temperature rage and a high measurement resolution of 0.02℃.

Specifications

Item Min Typical Max Unit
Voltage 2.6 3 3.4 V
Current 1.4 1.5 mA
Ambient Temperature Range -40 - 85
Object Temperature Range -40 - 115
Dimension  20x40x9.6 mm

Platforms Supported

Hardware Overview

Pin Number Name Type Function Description
1 GND - Signal ground
2 VCC in Positive Power Supply Input Terminal(3.3V or 5V)
3 SDA in/out I2C data input/output
4 SCL in I2C CLK

Usage

We will provide an example here to show you how to use this sensor to measure the temperature of the target which is in front of the sensor,and print the result on the serial monitor.

Software Part

  1. Download the library and demo code Digital_Infrared_Temperature_Sensor_MLX90615.
  2. Unzip it into the libraries file of Arduino IDE by the path: ..\arduino-1.0.5\libraries.
  3. Open the demo code directly by the path:File -> Examples ->Digital_Infrared_Temperature_Sensor_MLX90615->MLX90615Soft.

    You can see :

    Since the sensor is factory calibrated with the digital SMBus compatible interface enabled,but the library is based on a soft i2c library,so you can use any digital pins on any AVR chip to drive the SDA and SCL lines.We use D2 as the SCL pin and D3 as the SDA pin in this demo code.

  4. Upload the code into Arduino.

  5. Start up the Serial Monitor.

    You can see :

Now, you can measure the temperature with this sensor.Ambient temperature is the MLX90615 package temperature and Object temperature is the object target temperature.According to our experiment,when you place the sensor in the normal indoor temperature,and ensure that there is nothing source of heat in front of the sensor’s 1M scope.The Object temperature will approximately equal to Ambient temperature.When measuring the Object temperature,you should ensure the object is as close as possible whit the sensor,but do not touch the surface of the sensor,we recommend the distance is less than 3cm. Wish you have a fun try.

Tip

More details about Grove modules please refer to Grove System

Resources


ArduinoWioBeagleBoneRaspberry PiLinkIt ONE

Caution

The platforms mentioned above as supported is/are an indication of the module's hardware or theoritical compatibility. We only provide software library or code examples for Arduino platform in most cases. It is not possible to provide software library / demo code for all possible MCU platforms. Hence, users have to write their own software library.

Help us make it better

Thank you for choosing Seeed. A couple of months ago we initiated a project to improve our documentation system. What you are looking at now is the first edition of the new documentation system. Comparing to the old one, here is the progresses that we made:

  • Replaced the old documentation system with a new one that was developed from Mkdocs, a more widely used and cooler tool to develop documentation system.
  • Integrated the documentation system with our official website, now you can go to Bazaar and other section like Forum and Community more conveniently.
  • Reviewed and rewrote documents for hundreds of products for the system’s first edition, and will continue migrate documents from old wiki to the new one.

An easy-to-use instruction is as important as the product itself. We are expecting this new system will improve your experience when using Seeed’s products. However since this is the first edition, there are still many things need to improve, if you have any suggestions or findings, you are most welcome to submit the amended version as our contributor or give us suggestions in the survey below, Please don’t forget to leave your email address so that we can reply.

Happy hacking