IrThermo 3 Click Board
IrThermo 3 Click Board
The IrThermo 3 Click Board™ is a device that allows contactless measurement of the object temperature. It uses a highly advanced MLX90632 FIR sensor, which detects the average temperature of objects within its field of view (FOV), which is typically ±25°. It is factory calibrated, with the calibration constants stored in its internal EEPROM. Besides EEPROM used for storing trimming values, device settings, and calibration constants, it has an additional RAM area that can be used for auxiliary measurement data storage. The integrated temperature sensor provides ambient temperature measurement, necessary for proper calibration.
The device is calibrated to sense objects with the temperature ranging from -20°C up to 200°C, and the ambient temperature ranging up to 80°C. The measurement resolution is 0.02°C. Measured data is available via the industry-standard I2C communication bus.
Software Support
We provide a library for the IrThermo3 Click 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
The library performs IR and temperature measurement. The sensor measures the temperature of the detected object (body) and measures the ambient temperature. For more details, see the documentation.
Key functions :
void irthermo3_init()
- Function for initialization chipfloat irthermo3_getAmbientTemperature()
- Function for reading the ambient temperaturefloat irthermo3_getObjectTemperature()
- Function for reading Object temperature
Example Description
The application is composed of three sections :
- System Initialization - Initializes I2C module
- Application Initialization - Driver init and chip initialization
- Application Task - Reads the ambient temperature and temperature of the object every 400ms.
void applicationTask() { ambientTemp = irthermo3_getAmbientTemperature(); mikrobus_logWrite(" Ambient temperature : ",_LOG_TEXT); FloatToStr(ambientTemp, demoText); mikrobus_logWrite(demoText,_LOG_LINE); objectTemp = irthermo3_getObjectTemperature(); mikrobus_logWrite(" Object temperature :",_LOG_TEXT); FloatToStr(objectTemp, demoText); mikrobus_logWrite(demoText, _LOG_LINE); mikrobus_logWrite(" ",_LOG_LINE); Delay_ms(1000); }
The full application code, and ready to use projects can be found on our
LibStock page.
Other mikroE Libraries used in the example:
- I2C
- Conversions
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 IrThermo 3 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.
IrThermo 3 Click Board
Frequently Asked Questions
Have a Question?
Be the first to ask a question about this.