Barometer 6 Click Board
Barometer 6 Click Board
Overview
Das Barometer 6 Click Board™ ist eine kompakte Zusatzplatine zum Messen des Luftdrucks in einer bestimmten Umgebung. Diese Platine verfügt über den 2SMPB-02E, einen hochpräzisen digitalen barometrischen Luftdrucksensor mit geringem Stromverbrauch von Omron Electronics. Das 2SMPB-02E verfügt über einen Kalibrierungsparameter für einen breiteren Druck- und Temperaturbereich, verfügt über einen MEMS-Chip zum Erfassen des Luftdrucks und einen IC-Chip zur Signalverarbeitung. Es wandelt den Druck in einen 24-Bit-Digitalwert um und sendet die Informationen über eine konfigurierbare Hostschnittstelle, die SPI- und I2C-Seriellkommunikation unterstützt. Es misst den Druck von 30 kPa bis 110 kPa mit einer Genauigkeit von ±50 Pa über einen weiten Betriebstemperaturbereich. Dieses Click Board™ ist für verschiedene druckbasierte Anwendungen, Industrie, Verbraucher, Wetterstationen und vieles mehr geeignet.
Das Barometer 6 Click Board™ wird von einer mikroSDK-kompatiblen Bibliothek unterstützt, die Funktionen enthält, die die Softwareentwicklung vereinfachen. Dieses Click Board™ wird als vollständig getestetes Produkt geliefert und ist bereit für den Einsatz auf einem System, das mit der mikroBUS™-Buchse ausgestattet ist.
How Does The Barometer 6 Click Board™ Work?
The Barometer 6 Click Board™ as its foundation uses the 2SMPB-02E, a high-accuracy digital barometric air pressure sensor from Omron Electronics, to measure air pressure in a specific environment. The sensor has a calibration parameter for broader pressure and temperature range. It measures pressure from 30kPa up to 110kPa with an accuracy of ±50Pa over a wide operating temperature range, ideally suited to the harsh environmental conditions prevalent in industrial and consumer applications.
The 2SMPB-02E features a MEMS chip for sensing air pressure with high accuracy based on the built-in low noise 24-bit ADC. Individual calibration parameters are stored in One Time Programmable-ROM (OTP) and are retained when the system is powered down. An integrated temperature compensation circuit helps ensure accurate absolute pressure measurements.
The Barometer 6 Click Board™ allows using both I2C and SPI interfaces with a maximum frequency of 3.4MHz for I2C and 10MHz for SPI communication. The selection can be made by positioning SMD jumpers labelled as COMM SEL to 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 2SMPB-02E 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 reset pin, routed to the RST pin on the mikroBUS™ socket used to implement the standard reset function.
The Barometer 6 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 Barometer 6 Click Board™ be used for various pressure-based applications, industrial, consumer, weather stations, and many more |
On-board modules | 2SMPB-02E - high-accuracy digital barometric air pressure sensor with low current consumption from Omron Electronics |
Key Features | Low power consumption, high precision, measure barometric pressure and temperature with high accuracy, 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 Barometer 6 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 | ||
Reset | RST | 2 | RST | INT | 15 | NC | |
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-JP4 | COMM SEL | Right | Communication Interface Selection SPI/I2C: Left position SPI, Right position I2C |
JP5 | COMM SEL | Right | I2C Address Selection 0/1: Left position 0, Right position 1 |
BAROMETER 6 CLICK ELECTRICAL SPECIFICATIONS
Description | Min | Typ | Max | Unit |
---|---|---|---|---|
Supply Voltage | - | 3.3 | - | V |
Operating Pressure Range | 30 | - | 110 | kPa |
Accuracy | - | ±50 | - | Pa |
Resolution | - | 24 | - | bits |
Operating Temperature Range | -40 | +25 | +85 | °C |
Software Support
We provide a library for the Barometer 6 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 Barometer 6 Click Board™ driver.
Key functions
-
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.
Example Description
This is an example that demonstrates the use of the Barometer 6 Click Board™.
void application_task ( void )
{
float pressure;
float temperature;
barometer6_read_temperature_value( &barometer6, &temperature );
barometer6_read_preassure_value( &barometer6, &pressure );
log_printf( &logger, " Temperature : %.2f C rn", temperature );
log_printf( &logger, " Pressure : %.2f mBar rn", pressure );
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), downloaded from our LibStock™ or found on MikroE Github account.
Other MikroE Libraries used in the example:
- MikroSDK.Board
- MikroSDK.Log
- Click.Barometer6
Additional Notes and Information
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.
MIKROSDK
The Barometer 6 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 Barometer 6 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 Barometer 6 Click Board™ driver.
Key functions
-
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.
Example Description
This is an example that demonstrates the use of the Barometer 6 Click Board™.
void application_task ( void )
{
float pressure;
float temperature;
barometer6_read_temperature_value( &barometer6, &temperature );
barometer6_read_preassure_value( &barometer6, &pressure );
log_printf( &logger, " Temperature : %.2f C rn", temperature );
log_printf( &logger, " Pressure : %.2f mBar rn", pressure );
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), downloaded from our LibStock™ or found on MikroE Github account.
Other MikroE Libraries used in the example:
- MikroSDK.Board
- MikroSDK.Log
- Click.Barometer6
Additional Notes and Information
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.
MIKROSDK
The Barometer 6 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.
Frequently Asked Questions
Have a Question?
Be the first to ask a question about this.