MIKROE IR Grid 2 Click

IR Grid 2 Click is a thermal imaging sensor. It has an array of 768 very sensitive factory calibrated IR elements (pixels), arranged in 32 rows of 24 pixels. Each one of them is measuring an object temperature up to 300˚C within its local Field of View (FOV). The MLX90640ESF-BAB IR sensor used on this Click board™ has just four pins, and it is mounted inside of the industry standard TO39 package. It is equipped with 2Kbit of EEPROM for storing the compensation and calibration parameters. The MLX90640ESF-BAB IR sensor array IC has I2C compatible digital interface, allowing it to be interfaced with a wide range of different MCUs. The sensor used on this Click board™ offers a summed field of view of 55˚x32˚. The sensor can output up to 64 frames per second (FPS).

Due to the small number of external components it requires, as well as the low pin count and widely used I2C digital interface, this sensor is an ideal solution for building a range of thermal detection applications. IR Grid 2 Click can be used for a wide range of applications, including thermal scanners, precise contactless thermal measurement, thermal leaks in homes, industrial temperature control of moving parts, other types of heated object localization, human presence, and similar applications that require accurate contactless thermal measurement, or thermal imaging.

IR Grid 2 Click is equipped with the MLX90640ESF-BAB, a 32x24 IR array sensor, from Melexis. This sensor contains 8 Kbit EEPROM, used to store all the compensation and calibration parameters, along with some editable user parameters, such as the config registers, I2C address and similar. These sensors can measure temperature relative to the cold junction temperature, and for this reason, the MLX90640ESF-BAB IR sensor incorporates a PTAT (Proportional to Absolute Temperature) compensation sensor. The device also contains the power supply voltage measurement feature, allowing power supply monitoring. It is recommended that the supply voltage stay as accurate as possible, which is taken care of if used with the MikroElektronika development systems. The IR sensor array, as well as the PTAT sensor readings, are sampled by the internal Analog to Digital Converter (ADC) and stored to RAM, which can be accessed via the I2C interface. The resolution of the ADC can be programmed between 16 bits and 19bits.

The MLX90640ESF-BAB IR sensor used on this Click board™ has a Field of View (FOV) of 55˚x32˚, with the IR sensing elements arranged in a 32x28 grid. Each sensor measures the temperature in its individual FOV, allowing the host MCU to build a thermal image or calculate the temperature at each spot of the viewed scene. The measurement results are stored to RAM. The entire RAM area is divided in two pages, with access patterns controlled by the configuration registers (chess pattern, or interleaved pattern). The compensation parameters stored in the EEPROM are factory calibrated for chess pattern access, yielding the most accurate results when using this mode. The chess pattern mode is selected by default.

The configuration and control registers allow to set the operational parameters of the IR grid sensor. These registers contain bits that control the behavior of the sensor IC: the refresh rate, the ADC resolution, measurement mode (continuous or step mode), sleep mode, I2C mode (FM or FM+), etc. On restart, the data from the corresponding copies of these register locations in EEPROM is mirrored to the operational register locations in RAM, preparing the device to be instantly operated. This allows changing of the default values, since they are actually stored in EEPROM, rather than being hard-coded into the device.

Besides the default working parameters, the EEPROM area contains all the compensation parameters for each IR element, necessary for completing the accurate thermal calculations. Those calculations include ambient temperature calculation, pixel offset calculation, pixel to pixel sensitivity difference compensation, object emissivity compensation, and object temperature calculation. The datasheet of the MLX90640ESF-BAB IR sensor contains equations which use these parameters stored in EEPROM. However, this Click board™ is supplied with the library, which contains functions that simplify working with this sensor, saving time.

Two modes of operation are available: the device can continuously sample data from the IR elements, with the programmed refresh rate (up to 64 frames per second), or it can take one frame, by sampling the selected page. The status byte contains flags that indicate that the reading of a specific page is done.

It should be noted that the sensor measures the IR emissivity of an object, so it is to be expected that some materials cannot be accurately measured by this sensor due to their low emissivity, such as the aluminum. To better understand the emissivity property of the materials, a person wearing clothes, can be taken as an example: the measured temperature will reflect the clothes temperature, rather than the body temperature itself, which is known to be about 37 ˚C Care should be taken not to expose the Click board™ to a cold or hot air flow, as it will cause false readings of the real temperature. This sensor requires the temperature across the sensor package to be constant.

The MLX90640ESF-BAB IR sensor uses 3.3V for optimal results. While the power for the IR sensor itself is taken from the 3.3V mikroBUS™ rail, in order to support MCUs which use 5V compatible logic levels, the Click board™ comes equipped with PCA9306, a bi-directional I2C level translator IC, produced by Texas Instruments. This allows the logic voltage level to be selected by the SMD jumper labeled as VCC SEL. Besides I2C bus lines, no additional lines of the mikroBUS™ are used. I2C bus lines are routed to the respective pins of the mikroBUS™.

  • Interface: I2C
  • Compatibility: mikroBUS™
  • Dimensions: 42.9 x 25.4mm
  • Input Voltage: 3.3V or 5V

Comments

Looking for answers to technical questions?

We welcome your comments and suggestions below. However, if you are looking for solutions to technical questions please see our Technical Assistance page.

Customer Reviews

No reviews yet.