grideye 2.0.0.0
|
Grid-EYE click is a 8x8 thermal array sensor-detector that carries the AMG8853 infrared array sensor from Panasonic.
We provide a library for the Grideye 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 form compilers IDE(recommended way), or downloaded from our LibStock, or found on mikroE github account.
This library contains API for Grideye Click driver.
- Initialization function.void grideye_cfg_setup ( grideye_cfg_t *cfg );
GRIDEYE_RETVAL grideye_init ( grideye_t *ctx, grideye_cfg_t *cfg );
void grideye_default_cfg ( grideye_t *ctx );
- Generic read function.void grideye_generic_write ( grideye_t *ctx, uint8_t reg, uint8_t *data_buf, uint8_t len );
void grideye_generic_read ( grideye_t *ctx, uint8_t reg, uint8_t *data_buf, uint8_t len );
void grideye_write_data ( grideye_t *ctx, uint8_t wr_addr, uint16_t wr_data );
64 individual thermal sensors build an image on a display. The detecting distance is 5m.
The demo application is composed of two sections :
Initalizes I2C driver, applies default settings, and makes an initial log.
This example demonstrates the use of Grid-EYE click board by reading full grid and displaying values via USART terminal.
The full application code, and ready to use projects can be installed directly form compilers IDE(recommneded) or found on LibStock page or mikroE GitHub accaunt.
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. The terminal available in all Mikroelektronika compilers, or any other terminal application of your choice, can be used to read the message.