







How Does The Barometer 10 Click Board™ Work?
The Barometer 10 Click Board™ is based on the LPS28DFW, a high-accuracy absolute pressure sensor that functions as a digital output barometer from STMicroelectronics. The LPS28DFW delivers ultra-low pressure noise with low power consumption and operates over an extended temperature range. It has a selectable dual full-scale absolute pressure range, from 260 up to 1260hPa or 4060hPa, with an absolute pressure accuracy of 0.5hPa, ideally suited to the harsh environmental conditions in industrial and consumer applications.
The LPS28DFW has a unique cylindrical package solution with a full metal lid assembled on a ceramic substrate. This cylindrical package provides the easy assembly with O-rings in the end user's application. Its sensing element is based on a piezoresistive Wheatstone bridge approach with an interface that provides a digital signal from the sensing element to the application. The sensing element, which detects absolute pressure, consists of a silicon membrane manufactured using a dedicated process developed by ST. When pressure is applied, the membrane deflection induces an imbalance in the Wheatstone bridge piezoresistance, whose output signal is converted by the serial interface into a 24-bit output pressure data.
The trimming values are stored inside the LPS28DFW in a non-volatile structure. When the LPS28DFW is turned on, the trimming parameters are downloaded into the registers to be employed during normal operation, allowing the device to be used without further calibration.
This Click board™ communicates with an MCU using the standard I2C 2-Wire interface to read data and configure settings, supporting Fast-Plus mode with a frequency of up to 1MHz. In addition, the LPS28DFW allows choosing the least significant bits (LSB) of its I2C slave address using the SMD jumper labelled ADDR SEL. The LPS28DFW features a data-ready signal, routed on the INT pin of the mikroBUS™ socket, which indicates when a new set of measured pressure and temperature data are available, thus simplifying data synchronization in the digital system that uses the device.
The Barometer 10 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.
SPECIFICATIONS
Type | Pressure |
Applications | It can be used for various pressure-based industrial, consumer, weather stations, and other applications. |
On-board modules | LPS28DFW - dual full-scale absolute pressure sensor from STMicroelectronics |
Key Features | Low power consumption, selectable dual full-scale absolute pressure range, low-pressure sensor noise, high performance, embedded temperature compensation, extended temperature range, embedded FIFO, interrupt function, and more |
Interface | I2C |
Compatibility | mikroBUS |
Click board size | S (28.6 x 25.4 mm) |
Input Voltage | 3.3V |
PINOUT DIAGRAM
This table shows how the pinout of the Barometer 10 Click Board™ corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).
Notes | Pin | ![]() |
Pin | Notes | |||
---|---|---|---|---|---|---|---|
NC | 1 | AN | PWM | 16 | NC | ||
NC | 2 | RST | INT | 15 | INT | Interrupt | |
NC | 3 | CS | RX | 14 | NC | ||
NC | 4 | SCK | TX | 13 | NC | ||
NC | 5 | MISO | SCL | 12 | SCL | I2C Clock | |
NC | 6 | MOSI | SDA | 11 | SDA | I2C Data | |
Power Supply | 3.3V | 7 | 3.3V | 5V | 10 | NC | |
Ground | GND | 8 | GND | GND | 9 | GND | Ground |
ONBOARD SETTINGS AND INDICATORS
Label | Name | Default | Description |
---|---|---|---|
LD1 | PWR | - | Power LED Indicator |
JP1 | ADDR SEL | Left | I2C Address Selection 0/1: Left position 0, Right position 1 |
BAROMETER 10 CLICK ELECTRICAL SPECIFICATIONS
Description | Min | Typ | Max | Unit |
---|---|---|---|---|
Supply Voltage | - | 3.3 | - | V |
Operating Pressure Range | 260 | - | 1260(4060) | hPa |
Pressure Sensitivity | - | 4096(2048) | - | LSB/hPa |
Absolute Pressure Accuracy | - | 0.5 | - | hPa |
Resolution | - | 24 | - | bits |
Software Support
We provide a library for the Barometer 10 Click Board™ and a demo application (example), developed using MikroE compilers. The demo can run on all the main MikroE development boards.
The package can be downloaded/installed directly from NECTO Studio The package Manager (recommended), downloaded from our LibStock™ or found on the MikroE Github account.
Library Description
This library contains API for Barometer 10 Click driver.
Key functions
-
barometer10_get_pressure
Barometer 10 gets pressure function. -
barometer10_get_temperature
Barometer 10 gets the temperature function.
Example Description
This example demonstrates the use of the Barometer 10 Click board™. The demo application reads and calculates pressure and temperature data.
void application_task ( void )
{
static float pressure, temperature;
if ( BAROMETER10_OK == barometer10_get_pressure( &barometer10, &pressure ) )
{
log_printf( &logger, " Pressure: %.2f [mbar] rn", pressure );
}
if ( BAROMETER10_OK == barometer10_get_temperature( &barometer10, &temperature ) )
{
log_printf( &logger, " Temperature : %.2f [deg c] rn", temperature );
}
log_printf( &logger, "------------------------rn" );
Delay_ms( 1000 );
}
The full application code, and ready to use projects can be installed directly from NECTO Studio The package Manager (recommended), is downloaded from our LibStock™ or found on MikroE Github account.
Other MikroE Libraries used in the example:
- MikroSDK.Board
- MikroSDK.Log
- Click.Barometer10
Additional Notes and Information
Depending on the development board you are using, you may need USB UART Click Board™, 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.
MIKROSDK
The Barometer 10 Click Board™ is supported with mikroSDK - MikroE Software Development Kit, that needs to be downloaded from the LibStock and installed for the compiler you are using to ensure proper operation of mikroSDK compliant Click board™ demo applications.
Barometer 10 Click Board
Frequently Asked Questions
Ask a Question-
Can the Barometer 10 Click Board™ be used in weather stations?
Yes, the Barometer 10 Click Board™ is suitable for weather stations and other pressure-based applications.
-
What kind of pressure sensor does the Barometer 10 Click Board™ use?
The Barometer 10 Click Board™ uses the LPS28DFW, an ultra-compact piezoresistive absolute pressure sensor from STMicroelectronics.
-
What is the pressure range of the Barometer 10 Click Board™?
The Barometer 10 Click Board™ has a selectable dual full-scale absolute pressure range of up to 1260hPa and 4060hPa.
-
What is the output interface of the Barometer 10 Click Board™?
The Barometer 10 Click Board™ sends the information via I2C serial interface.
-
What is the accuracy of the Barometer 10 Click Board™?
Yes, the Barometer 10 Click Board™ is easy to use. It is supported by a mikroSDK-compliant library, which includes functions that simplify software development. This Click board™ comes as a fully tested product, ready for use on a system equipped with the mikroBUS™ socket.
-
Is the Barometer 10 Click Board™ easy to use?
Yes, the Barometer 10 Click Board™ is easy to use. It is supported by a mikroSDK-compliant library, which includes functions that simplify software development. This Click board™ comes as a fully tested product, ready for use on a system equipped with the mikroBUS™ socket.
-
What kind of applications is the Barometer 10 Click Board™ suitable for?
The Barometer 10 Click Board™ is suitable for various pressure-based industrial, consumer, weather stations, and more applications.
-
What is the LPS28DFW?
The LPS28DFW is a sensing element and an IC chip for signal processing in one package that converts pressure into a 24-bit digital value and sends the information via I2C serial interface. It has a selectable dual full-scale absolute pressure range of up to 1260hPa and 4060hPa, with an absolute pressure accuracy of 0.5hPa over a wide operating temperature range.
-
What is the Barometer 10 Click Board™?
The Barometer 10 Click Board™ is a compact add-on board that measures air pressure in a specific environment. It features the LPS28DFW, an ultra-compact piezoresistive absolute pressure sensor, a digital output barometer from STMicroelectronics.