TOP Contributors

  1. MIKROE (2751 codes)
  2. Alcides Ramos (372 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (118 codes)
  5. Bugz Bensce (90 codes)
  6. S P (73 codes)
  7. dany (71 codes)
  8. MikroBUS.NET Team (35 codes)
  9. NART SCHINACKOW (34 codes)
  10. Armstrong Subero (27 codes)

Most Downloaded

  1. Timer Calculator (139059 times)
  2. FAT32 Library (71592 times)
  3. Network Ethernet Library (56989 times)
  4. USB Device Library (47330 times)
  5. Network WiFi Library (43006 times)
  6. FT800 Library (42297 times)
  7. GSM click (29777 times)
  8. mikroSDK (27874 times)
  9. PID Library (26858 times)
  10. microSD click (26129 times)
Libstock prefers package manager

Package Manager

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]

< Back
mikroSDK Library

IR Grid 3 click

Rating:

5

Author: MIKROE

Last Updated: 2018-11-05

Package Version: 1.0.0.0

mikroSDK Library: 1.0.0.0

Category: Optical

Downloaded: 2398 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).

No Abuse Reported

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".

  • mikroSDK Library 2.0.0.0
  • Comments (0)

mikroSDK Library Blog

IR Grid 3 click

IR Grid 3 click

Native view of the IR Grid 3 Click board.

View full image
IR Grid 3 click

IR Grid 3 click

Front and back view of the IR Grid 3 Click board.

View full image

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 configuration
  • void irgrid3_getPixelTemperature(float *Ta, float *pixelTemp) - Functions for reads Ambient temperature and pixel temperature

Examples description

The application is composed of the three sections :

  • System Initialization - Initializes I2C module and USB UART for data logging
  • Application Initialization - Initializes driver init and IR Grid 3 module
  • Application Task - (code snippet) - Reads the temperature of all pixels and creates a pixel temperature matrix that logs on usbuart every 500ms
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 clickUSB 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.

ALSO FROM THIS AUTHOR

UWB 4 Click

0

UWB 4 Click is a compact add-on board for precise indoor positioning and location-based applications. This board features the Sera NX040 (453-00174C) from Ezurio, featuring NXP's SR040 chipset for ultra-wideband (UWB) and Nordic Semiconductor's nRF52833 for Bluetooth LE. The module supports IEEE 802.15.4/4z HPR UWB operations, providing exceptional ranging accuracy of less than ±10 cm with a typical receiver sensitivity of -92 dBm.

[Learn More]

Load cell Click

0

Load cell Click is a weight measurement Click which utilizes a load cell element, in order to precisely measure the weight of an object. The Load Cell Click can be used with the strain gauge type of load cells and can measure up to ±20V or ±40V of differential voltage.

[Learn More]

Audio amplifier

0

Simple Audio amplifier which uses 2x30W Amp and ProxFusion click boards.

[Learn More]