OFF
MIKROE-2293
17 g
Status:
Pressure 3 Click is a compact add-on board that contains a board-mount pressure sensor. This board features the DPS310, a digital XENSIV™ barometric pressure sensor for portable devices from Infineon. It is a fast sensor with a typical measurement time of 27.6ms for Standard mode, down to 3.6ms in Low precision mode. The DPS310 has an operating range from 300 up to 1200hPa with a relative accuracy of 0.06hPa and absolute accuracy of 1hPa. This Click board™ makes the perfect solution for developing portable weather station applications, indoor navigation, drone altitude control, and similar applications that rely on barometric pressure measurements.
Pressure 3 Click is supported by a mikroSDK compliant library, which includes functions that simplify software development. This Click board™ comes as a fully tested product, ready to be used on a system equipped with the mikroBUS™ socket.
This product is no longer in stock
Availability date:
Pressure 3 Click is based on the DPS310, a digital barometric pressure sensor from Infineon. This miniaturized sensor, with high accuracy and low power consumption, is capable of measuring not only the pressure but temperature as well in a range of -40 up to 85°C with a half-degree accuracy. Its sensing element is based on a capacitance sensing principle, so it achieves high precision during temperature changes. Each unit for measuring pressure and temperature is individually calibrated, and the internal signal processor converts the outputs to a 24-bit result. The calibration coefficients, stored in registers, convert measurements to high-accuracy values, both for pressure and temperature. The DPS310 integrates a FIFO (First-In-First-Out) buffer that can store the last 32 measurements, which can save power as the host MCU doesn’t have to poll for results constantly.
The DPS310 operates in three operating modes. In Standby mode, as a default mode, no measurements are performed. It is a mode after the Power-on or reset conditions in which all registers and coefficients are accessible. In Command mode (manual), the DPS310 performs one temperature and pressure measurement, after which the sensor returns to Standby mode. The measurement results are available in the data registers. In Background mode (automatic), pressure and/or temperature measurements are continuously performed according to the selected precision and rate. The DPS310 will first perform a pressure measurement and, after that, the temperature measurement.
To communicate with the host MCU, the Pressure 3 Click offers a choice between two interfaces, the I2C and the SPI. The selection can be made by positioning the SMD jumpers labeled SPI I2C to an appropriate position (I2C selected by default). Note that all the jumpers must be placed on the same side, or the Click board™ may become unresponsive. The interrupt function is available over the INT pin only while using this Click board™ via an I2C interface and can be triggered whenever a new measurement is available or if a FIFO buffer is full.
This Click board™ can only be operated with a 3.3V logic voltage level. The board must perform appropriate logic voltage level conversion before using MCUs with different logic levels. However, the Click board™ comes equipped with a library containing functions and an example code that can be used, as a reference, for further development.
Type
Pressure
Applications
Can be used for the development of portable weather station applications, indoor navigation, altitude control for drones, and similar applications that rely on barometric pressure measurements
On-board modules
DPS310 - digital barometric pressure sensor from Infineon
Key Features
Pressure measurement range 300 up to 1200hPa with relative accuracy of 0.06hPa, temperature measurement range -40 up to 85°C in a half degree accuracy, fast measurement time, low power consumption, each unit calibration individually, selectable interface, and more
Interface
I2C,SPI
Feature
No ClickID
Compatibility
mikroBUS™
Click board size
S (28.6 x 25.4 mm)
Input Voltage
3.3V
This table shows how the pinout on Pressure 3 Click corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).
Label | Name | Default | Description |
---|---|---|---|
LD1 | PWR | - | Power LED Indicator |
JP2 | SPI I2C | Right | Communication Interface Selection SPI/I2C: Left position SPI, Right position I2C |
Description | Min | Typ | Max | Unit |
---|---|---|---|---|
Supply Voltage | - | 3.3 | - | V |
Pressure Operating Range | 300 | - | 1200 | hPa |
Temperature Operating Range | -40 | - | 85 | °C |
Relative Pressure Accuracy | - | - | ±0.06 | hPa |
Temperature Accuracy | - | - | ±0.5 | °C |
Resolution | - | 24 | - | bit |
We provide a library for the Pressure 3 Click as well as a demo application (example), developed using MIKROE compilers. The demo can run on all the main MIKROE development boards.
Package can be downloaded/installed directly from NECTO Studio Package Manager (recommended), downloaded from our LibStock™ or found on Mikroe github account.
Library Description
This library contains API for Pressure 3 Click driver.
Key functions
Get temperature pressure.
Get coefficients.
Read the coefficients value for calculation function.
Example Description
This application is digital barometric pressure sensor.
void application_task ( void )
{
float pressure;
float temperature;
pressure3_get_t_p_data( &pressure3, &temperature, &pressure, &coeff_struct );
log_printf( &logger, " * Pressure: %.2f mbar * rn", pressure );
log_printf( &logger, " * Temperature: %.2f C * rn", temperature );
log_printf( &logger, " ----------------------- rn" );
Delay_ms( 3000 );
}
The full application code, and ready to use projects can be installed directly from NECTO Studio Package Manager (recommended), 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 MIKROE compilers.
This Click board™ is supported with mikroSDK - MIKROE Software Development Kit. To ensure proper operation of mikroSDK compliant Click board™ demo applications, mikroSDK should be downloaded from the LibStock and installed for the compiler you are using.
For more information about mikroSDK, visit the official page.
NOTE: Please be advised that any peripheral devices or accessories shown connected to the Click board™ are not included in the package. Check their availability in our shop or in the YMAN section below.