Pressure 20 Click Board
Pressure 20 Click Board
The Pressure 20 Click Board™ is a compact add-on board that contains a board-mount pressure sensor. This board features the ICP-20100, a high-accuracy digital barometric pressure and temperature sensor from TDK InvenSense. The ICP-20100 is based on MEMS capacitive technology with ultra-low noise, low power consumption, and temperature stability alongside programmable output: all-pressure, all-temperature, or pressure and temperature output. It converts output data into a 20-bit digital value and sends the information via a configurable host interface that supports SPI and I2C serial communications. It measures pressure from 30kPa up to 110kPa with an accuracy of ±20Pa over a wide operating temperature range. This Click board™ is suited for various pressure-based applications, industrial, consumer, weather stations, and more.
The Pressure 20 Click Board™ 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.
How Does The Pressure 20 Click Board™ Work?
The Pressure 20 Click Board™ as its foundation uses the ICP-20100, a high accuracy, low power, barometric pressure, and temperature sensor solution from TDK InvenSense. It integrates a capacitive pressure sensor for monitoring pressure changes in the range from 30kPa to 110kPa with an accuracy of ±20Pa over a wide operating temperature range. The ICP-20100 achieves the industry's lowest pressure noise of 0.4Pa RMS while attaining the industry's lowest power consumption and retains excellent temperature stability with a temperature coefficient of ±0.4Pa/°C.
This MEMS sensor consists of a capacitive pressure sensor whose capacitance changes according to the pressure applied. An integrated temperature sensor on the same MEMS sensor allows accurate temperature measurements. Other industry-leading features include up to 20-bits output data, programmable digital filters, calibration, FIFO, and programmable interrupts.
The Pressure 20 Click Board™ allows using both I2C and SPI interfaces with a maximum frequency of 1MHz for I2C and 12MHz for SPI communication. The selection can be made by positioning SMD jumpers labelled as COMM SEL in an appropriate position. Note that all the jumpers' positions must be on the same side, or the Click board™ may become unresponsive. While the I2C interface is selected, the ICP-20100 allows choosing the least significant bit (LSB) of its I2C slave address using the SMD jumper labelled ADDR SEL. This Click board™ also possesses an additional interrupt pin, routed to the INT pin on the mikroBUS™ socket, indicating when a specific interrupt event occurs, such as FIFO overflow/underflow, the threshold over/underrun, and more.
The Pressure 20 Click Board™ can be operated only 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 | The Pressure 20 Click Board™ can be used for various pressure-based applications, industrial, consumer, weather stations, and more |
On-board modules | ICP-20100 - digital barometric pressure and temperature sensor from TDK InvenSense |
Key Features | Low power consumption, advanced absolute and relative accuracy, improved temperature stability, programmable output and noise performance, digital filtering for pressure signals, programmable interrupt, selectable interface, and more |
Interface | I2C,SPI |
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 Pressure 20 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 | |
SPI Chip Select | CS | 3 | CS | RX | 14 | NC | |
SPI Clock | SCK | 4 | SCK | TX | 13 | NC | |
SPI Data OUT | SDO | 5 | MISO | SCL | 12 | SCL | I2C Clock |
SPI Data IN | SDI | 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 | Right | I2C Address Selection 0/1: Left position 0, Right position 1 |
JP2-JP5 | COMM SEL | Right | Communication Interface Selection SPI/I2C: Left position SPI, Right position I2C |
PRESSURE 20 CLICK ELECTRICAL SPECIFICATIONS
Description | Min | Typ | Max | Unit |
---|---|---|---|---|
Supply Voltage | - | 3.3 | - | V |
Operating Pressure Range | 30 | - | 110 | kPa |
Absolute Accuracy | - | ±20 | - | Pa |
Resolution | - | 20 | - | bits |
Temperature Coefficient | - | ±0.4 | - | Pa/°C |
Operating Temperature Range | -40 | ±25 | ±85 | °C |
Software Support
We provide a library for the Pressure 20 Click Board™ as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.
The package can be downloaded/installed directly from NECTO Studio The package Manager (recommended), downloaded from our LibStock™ or found on MikroE Github account.
Library Description
This library contains API for the Pressure 20 Click Board™ driver.
Key functions
-
pressure20_get_int_pin
This function returns the INT pin logic state. -
pressure20_clear_interrupts
This function reads and clears the interrupt status register. -
pressure20_read_data
This function reads the pressure [mBar] and temperature [Celsius] data.
Example Description
This example demonstrates the use of the Pressure 20 Click Board™ by reading and displaying the pressure and temperature data on the USB UART.
void application_task ( void )
{
// Wait for the data ready interrupt
while ( pressure20_get_int_pin ( &pressure20 ) );
float pressure, temperature;
if ( ( PRESSURE20_OK == pressure20_clear_interrupts ( &pressure20 ) ) &&
( PRESSURE20_OK == pressure20_read_data ( &pressure20, &pressure, &temperature ) ) )
{
log_printf ( &logger, " Pressure: %.1f mBarrn", pressure );
log_printf ( &logger, " Temperature: %.2f Crnn", temperature );
}
}
The full application code, and ready to use projects can be installed directly from NECTO Studio The package Manager (recommended), downloaded from our LibStock™ or found on MikroE Github account.
Other MikroE Libraries used in the example:
- MikroSDK.Board
- MikroSDK.Log
- Click.Pressure20
Additional Notes and Information
Depending on the development board you are using, you may need a 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.
MIKROSDK
The Pressure 20 Click Board™ is supported with mikroSDK - MikroElektronika 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.
Software Support
We provide a library for the Pressure 20 Click Board™ as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.
The package can be downloaded/installed directly from NECTO Studio The package Manager (recommended), downloaded from our LibStock™ or found on MikroE Github account.
Library Description
This library contains API for the Pressure 20 Click Board™ driver.
Key functions
-
pressure20_get_int_pin
This function returns the INT pin logic state. -
pressure20_clear_interrupts
This function reads and clears the interrupt status register. -
pressure20_read_data
This function reads the pressure [mBar] and temperature [Celsius] data.
Example Description
This example demonstrates the use of the Pressure 20 Click Board™ by reading and displaying the pressure and temperature data on the USB UART.
void application_task ( void )
{
// Wait for the data ready interrupt
while ( pressure20_get_int_pin ( &pressure20 ) );
float pressure, temperature;
if ( ( PRESSURE20_OK == pressure20_clear_interrupts ( &pressure20 ) ) &&
( PRESSURE20_OK == pressure20_read_data ( &pressure20, &pressure, &temperature ) ) )
{
log_printf ( &logger, " Pressure: %.1f mBarrn", pressure );
log_printf ( &logger, " Temperature: %.2f Crnn", temperature );
}
}
The full application code, and ready to use projects can be installed directly from NECTO Studio The package Manager (recommended), downloaded from our LibStock™ or found on MikroE Github account.
Other MikroE Libraries used in the example:
- MikroSDK.Board
- MikroSDK.Log
- Click.Pressure20
Additional Notes and Information
Depending on the development board you are using, you may need a 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.
MIKROSDK
The Pressure 20 Click Board™ is supported with mikroSDK - MikroElektronika 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.
Pressure 20 Click Board
Frequently Asked Questions
Have a Question?
Be the first to ask a question about this.