barometer7
2.0.0.0
|
Barometer 7 Click is a compact add-on board used to measure air pressure in a specific environment. This board features the KP264XTMA1, a high-accuracy digital barometric air pressure sensor based on a capacitive principle from Infineon Technologies. The KP264XTMA1 is surface micromachined with a monolithic integrated signal conditioning circuit implemented in BiCMOS technology that converts pressure into a 10-bit digital value and sends the information via the SPI interface. It measures pressure from 40kPa up to 115kPa with an accuracy of ±1.5kPa over a wide operating temperature range.
We provide a library for the Barometer 7 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 Barometer 7 Click driver.
barometer7_cfg_setup
Config Object Initialization function. barometer7_init
Initialization function. barometer7_default_cfg
Click Default Configuration function. barometer7_get_pressure
Barometer 7 get pressure function. barometer7_get_temperature
Barometer 7 get temperature function. This library contains API for Barometer 7 Click driver. The demo application reads and calculate temperature and pressure data.
The demo application is composed of two sections :
Initializes SPI driver and log UART. After driver initialization the app set default settings and display sensor identifier data.
This is an example that demonstrates the use of the Barometer 7 Click boardâ„¢. In this example, display the Pressure ( mBar ) and Temperature ( degree Celsius ) data. Results are being sent to the Usart Terminal where you can track their changes.
display_error
This function displays diagnosis error messages. 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.