IR Grid Click Board
IR Grid Click Board
Key Features:
- 64 factory calibrated sensors, capable of contactless measuring of temperature up to 300˚C, integrated 2048Kbit of EEPROM for storing configuration and compensation parameters, programmable refresh rate up to 512Hz, etc.
- Based on the MLX90621, a 16x4 IR array sensor with EEPROM, from Melexis
- It can be used for 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 other similar applications.
- mikroBUS: I2C Interface
The IR Grid Click Board™ is a thermal imaging sensor. It has an array of 64 very sensitive factory-calibrated IR elements (pixels), arranged in 4 rows of 16 pixels, each measuring an object's temperature up to 300˚C within its local Field of View (FOV). The MLX90621ESF-BAD IR sensor used on this Click Board™ has only 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 MLX90621BAD 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 the IR Grid Click Board™ offers 40&Deg; x 10&Deg; Field of View. The sensor can output up to 512 frames per second (FPS).
Software Support
We provide a demo application for the IR Grid Click Board™ on our Libstock page, as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.
Library Description
Library performs IR and temperature measurement. The sensor gets an IR picture of the detected object (body) and measures ambient temperature, compares that two measurements and shows the IR picture as a 16x4 matrix. For more details check the documentation.
Key Functions
float irgrid_getTemperature(uint16_t ptat_data, uint16_t config_reg)
- Returns value of ambient temperature.void irgrid_getIRArray(uint16_t *pixel_data)
- Functions for reading IR pixels.void irgrid_measurement(uint8_t *Temperature)
- Functions for reading all pixels temperature.
Example Description
The application is composed of three sections:
- System Initialization - Initializes I2C module.
- Application Initialization - Initializes driver and the IR Grid Click Board™.
- Application Task - (code snippet) - Reads pixels of temperature and creates temperature matrix which logs on USB-UART every 3 sec.
void applicationTask() { irgrid_measurement(Temperature); mikrobus_logWrite("IR Grid Temperature matrix",_LOG_LINE); for (irgrid_cnt = 0; irgrid_cnt < 64; irgrid_cnt++) { if(irgrid_cnt % 16 == 0) { mikrobus_logWrite(" ",_LOG_LINE); } if(Temperature[ irgrid_cnt ] < 36) { mikrobus_logWrite("/",_LOG_BYTE); } else { mikrobus_logWrite("*",_LOG_BYTE); } Delay_10ms(); } mikrobus_logWrite(" ",_LOG_LINE); Delay_ms(3000); }
The full application code, and ready to use projects can be found on our Libstock page.
Other MikroElektronika libraries used in the example:
- I2C
- UART
Additional Notes and Information
Depending on the development board you are using, you may need a USB UART click, USB UART 2 click or RS232 click to connect to your PC, for development systems with no UART to USB interface available on the board. The terminal available in all MikroElektronika compilers, or any other terminal application of your choice, can be used to read the message.
MIKROSDK
The IR Grid Click Board™ is supported with mikroSDK - MikroElektronika Software Development Kit. To ensure proper operation of mikroSDK compliant click board demo applications, mikroSDK should be downloaded from the LibStock and installed for the compiler you are using.
IR Grid Click Board
Frequently Asked Questions
Have a Question?
Be the first to ask a question about this.