irgrid2 2.0.0.0
|
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.
We provide a library for the IRGrid2 Click as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.
Package can be downloaded/installed directly from NECTO Studio Package Manager(recommended way), downloaded from our LibStock™ or found on Mikroe github account.
This library contains API for IRGrid2 Click driver.
irgrid2_cfg_setup
Config Object Initialization function. irgrid2_init
Initialization function. irgrid2_default_cfg
Click Default Configuration function. irgrid2_generic_write
This function reads a desired number of data bytes starting from the selected register by using I2C serial interface. irgrid2_get_frame_data
This function is used for getting frame data. irgrid2_get_pixel_temperature
This function is used for getting pixels temperature. The demo application displays a reading of ambient temperature and a 32x24 pixel object temperature matrix.
The demo application is composed of two sections :
Configures the click and log objects and sets the click default configuration.
Reads the temperature of all pixels every 500ms and displays it on USB UART in a form of a 32x24 matrix.
The full application code, and ready to use projects can be installed directly from NECTO Studio Package Manager(recommended way), downloaded from our LibStock™ or found on Mikroe github account.
Other Mikroe Libraries used in the example:
Additional notes and informations
Depending on the development board you are using, you may need 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. UART terminal is available in all MikroElektronika compilers.