barometer4 2.0.0.0
|
Barometer 4 Click is a compact add-on board used to measure air pressure in a specific environment. This board features the ICP-10111, a high accuracy low power barometric and temperature sensor from TDK InvenSense. The ICP-10111 is based on MEMS capacitive technology providing ultra-low noise at the lowest power, enabling industry-leading relative accuracy, sensor throughput, and temperature stability. It comes with a configurable host interface that supports I2C serial communication and measures pressure in a range from 30kPa up to 110kPa with an accuracy of ±1Pa over a wide operating temperature range.
We provide a library for the Barometer4 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 from NECTO Studio Package Manager(recommended way), downloaded from our LibStock™ or found on Mikroe github account.
This library contains API for Barometer4 Click driver.
barometer4_cfg_setup
Config Object Initialization function. barometer4_init
Initialization function. barometer4_default_cfg
Click Default Configuration function. barometer4_get_pressure_and_temperature
Barometer 4 get pressure and temperature function. barometer4_get_raw_data
Barometer 4 get RAW data function. barometer4_soft_reset
Barometer 4 software reset function. This library contains API for the Barometer 4 Click driver. The library initializes and defines the I2C bus drivers to write and read data from registers. This demo application shows an example of atmospheric pressure and temperature measurement.
The demo application is composed of two sections :
The initialization of the I2C module and log UART. After driver initialization and default settings, the app display device ID.
This is an example that shows the use of a Barometer 4 Click boardâ„¢. Logs the atmospheric pressure [ Pa ] and temperature [ degree Celsius ] data. Results are being sent to the Usart Terminal where you can track their changes.
The full application code, and ready to use projects can be installed directly from NECTO Studio Package Manager(recommended way), downloaded from our LibStock™ or found on Mikroe github account.
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. UART terminal is available in all MikroElektronika compilers.