barometer6
2.0.0.0
|
Barometer 6 Click is a compact add-on board used to measure air pressure in a specific environment. This board features the 2SMPB-02E, a high-accuracy digital barometric air pressure sensor with low current consumption from Omron Electronics. The 2SMPB-02E has a calibration parameter for broader pressure and temperature range, features a MEMS chip for sensing air pressure and an IC chip for signal processing.
We provide a library for the Barometer 6 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 6 Click driver.
barometer6_cfg_setup
Config Object Initialization function. barometer6_init
Initialization function. barometer6_default_cfg
Click Default Configuration function. barometer6_hardware_reset
Barometer 6 hardware reset function. barometer6_set_mode
Barometer 6 set operation mode function. barometer6_read_temperature_value
Barometer 6 get temperature value function. This is an example that demonstrates the use of the Barometer 6 Click board.
The demo application is composed of two sections :
Initalizes SPI or I2C driver, applies default settings and reads Chip ID.
Demonstrates use of Barometer 6 click board by reading pressure and temperature data seconds and logging it on the UART terminal.
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.