pressure15
2.0.0.0
|
Pressure 15 Click is a compact add-on board that contains a board-mount pressure sensor. This board features the LPS27HHW, an ultra-compact piezoresistive absolute pressure sensor that functions as a digital output barometer from STMicroelectronics.
We provide a library for the Pressure15 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 Pressure15 Click driver.
pressure15_cfg_setup
Config Object Initialization function. pressure15_init
Initialization function. pressure15_default_cfg
Click Default Configuration function. pressure15_get_int
Get interrupt pin state. pressure15_get_pressure
Get pressure data. pressure15_get_temperature
Get temperature data. This application example showcases the ability of the device to
read temperature and pressure data.
The demo application is composed of two sections :
Initialization of hosts communication modules (UART, SPI/I2C)
and interrupt pin. Checks device ID and sets the default configuration that enables interrupt on new data.
Checks if an interrupt occurred. If occurred reads new pressure and temperature
data in hPa and degC respectively.
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.