TOP Contributors

  1. MIKROE (2652 codes)
  2. Alcides Ramos (351 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (112 codes)
  5. Chisanga Mumba (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 (136610 times)
  2. FAT32 Library (69810 times)
  3. Network Ethernet Library (55881 times)
  4. USB Device Library (46214 times)
  5. Network WiFi Library (41858 times)
  6. FT800 Library (41070 times)
  7. GSM click (28942 times)
  8. PID Library (26401 times)
  9. mikroSDK (26310 times)
  10. microSD click (25326 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 click

Rating:

5

Author: MIKROE

Last Updated: 2018-07-03

Package Version: 1.0.0.1

mikroSDK Library: 1.0.0.0

Category: Optical

Downloaded: 5535 times

Not followed.

License: MIT license  

IR Grid click 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 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 click" changes.

Do you want to unsubscribe in order to stop receiving notifications regarding "IR Grid click" changes.

Do you want to report abuse regarding "IR Grid click".

  • mikroSDK Library 2.0.0.0
  • Comments (0)
DOWNLOAD LINK RELATED COMPILER CONTAINS
mikroBasic PRO for ARM
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroBasic PRO for AVR
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroBasic PRO for dsPIC30/33 & PIC24
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroBasic PRO for PIC
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroBasic PRO for PIC32
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroC PRO for ARM
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroC PRO for AVR
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroC PRO for dsPIC30/33 & PIC24
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroC PRO for PIC
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroC PRO for PIC32
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroPascal PRO for ARM
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroPascal PRO for AVR
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroPascal PRO for dsPIC30/33 & PIC24
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroPascal PRO for PIC
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroPascal PRO for PIC32
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc

mikroSDK Library Blog

IR Grid click

IR Grid click

Native view of the IR Grid click board.

View full image
IR Grid click

IR Grid click

Front and back view of the IR Grid click board.

View full image

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 IR Grid click.
  • 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);
}


Other MikroElektronika libraries used in the example:

  • I2C
  • UART

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

MPU 9DOF click

1

Simple example which demonstrates usage of the MPU 9 DOF Click board with MPU-9150 module which integrates the accel, gyro and magnetic sensors. STM32F407VG on mikromedia for STM32 M4 is used as a host for this example project.

[Learn More]

RN4870 click

5

RN4870 click carries the RN4870 Bluetooth® 4.2 low energy module from Microchip. The click is designed to run on a 3.3V power supply. It uses ASCII Command Interface over UART for communication with target microcontroller.

[Learn More]

6DOF IMU 17 click

0

6DOF IMU 17 Click is a compact add-on board that contains a 6-axis inertial measurement unit. This board features the IIM-42652, a 6-axis SmartIndustrial™ MotionTracking device that supports an extended operating temperature range for industrial applications from TDK InvenSense. It combines a 3-axis gyroscope and a 3-axis accelerometer featuring a 2K-byte FIFO that can lower the traffic on the serial bus interface (SPI or I2C) and reduce power consumption by allowing the system processor to burst read sensor data and then go into a low-power mode.

[Learn More]