We strongly encourage users to use Package manager for sharing their code on Libstock website, because it boosts your efficiency and leaves the end user with no room for error. [more info]
Rating:
Author: MIKROE
Last Updated: 2018-11-05
Package Version: 1.0.0.0
mikroSDK Library: 1.0.0.0
Category: Optical
Downloaded: 2566 times
Not followed.
License: MIT license
IR Grid 3 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 measuring an object temperature up to 300ËšC within its local Field of View (FOV).
Library Description
The library contains all the necessary functions for successful work with IR Grid 3 Click board.
Key functions:
void irgrid3_deviceConfiguration()
- Functions for device configurationExamples description
The application is composed of the three sections :
void applicationTask()
{
irgrid3_getPixelTemperature(&Ta,&pixelTemp[0]);
mikrobus_logWrite("Ambient temperature: ",_LOG_TEXT);
FloatToStr(Ta,demoText);
mikrobus_logWrite(demoText,_LOG_LINE);
mikrobus_logWrite(" ", _LOG_LINE);
mikrobus_logWrite("--- Pixel temperature matrix 32x24 ---", _LOG_LINE);
for ( cnt = 0 ; cnt < 768 ; cnt++)
{
FloatToStr(pixelTemp[cnt],demoText);
demoText[ 5 ] = 0 ;
mikrobus_logWrite(demoText, _LOG_TEXT);
mikrobus_logWrite("|", _LOG_TEXT);
Delay_1ms();
if(((cnt % 32) == 0) && (cnt > 0))
{
mikrobus_logWrite(" ", _LOG_LINE);
}
}
mikrobus_logWrite(" ", _LOG_LINE);
Delay_ms( 500 );
}
Note: The sensor needs about 4 minutes for calibration.
Other mikroE Libraries used in the example:
I2C
Additional notes and information
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. The terminal available in all MikroElektronika compilers, or any other terminal application of your choice, can be used to read the message.
Magneto 14 Click is a compact add-on board with an accurate and reliable magnetic device. This board features the MA735, a contactless angle sensor with ABZ, and PWM output from Monolithic Power Systems. The MA735 sensor has a 9-bit to 13-bit resolution of the absolute angle encoder.
[Learn More]I2C MUX 3 Click is a compact add-on board that contains eight bidirectional translating switches dedicated for applications with I2C slave address conflicts. This board features the TCA9548APWR, a low voltage 8-channel I2C bus switch with an active-low reset input from Texas Instruments.
[Learn More]AudioAmp Click is a compact add-on board that can add a mono audio amplifier function to your application. This board features the LM48100Q-Q1, a Boomer™ mono 1.3W audio power amplifier with output fault detection and volume control from Texas Instruments. The AudioAmp Click has one dual 3.5mm audio input jack and, next to it, a screw terminal for connecting output wires to a 1.3W, 8 Ohm passive speaker. Each input has its own independent 32-step volume control.
[Learn More]You have unsaved changes. If you choose to leave all changes will be discarded.
Do you want to subscribe in order to receive notifications regarding "IR Grid 3 click" changes.
Do you want to unsubscribe in order to stop receiving notifications regarding "IR Grid 3 click" changes.
Do you want to report abuse regarding "IR Grid 3 click".