Baromètre 6 Click Board
Baromètre 6 Click Board
Le Barometer 6 Click Board™ est une carte complémentaire compacte utilisée pour mesurer la pression atmosphérique dans un environnement spécifique. Cette carte comprend le 2SMPB-02E, un capteur de pression atmosphérique barométrique numérique de haute précision à faible consommation de courant d'Omron Electronics. Le 2SMPB-02E dispose d'un paramètre d'étalonnage pour une plage de pression et de température plus large, dispose d'une puce MEMS pour la détection de la pression atmosphérique et d'une puce IC pour le traitement du signal. Il convertit la pression en une valeur numérique 24 bits et envoie les informations via une interface hôte configurable qui prend en charge les communications série SPI et I2C. Il mesure la pression de 30 kPa à 110 kPa avec une précision de ±50 Pa sur une large plage de températures de fonctionnement. Ce Click board™ convient à diverses applications basées sur la pression, industrielles, grand public, stations météorologiques et bien d'autres.
Le Barometer 6 Click Board™ est pris en charge par une bibliothèque compatible mikroSDK, qui comprend des fonctions qui simplifient le développement logiciel. Ce Click board™ est un produit entièrement testé, prêt à être utilisé sur un système équipé du socket mikroBUS™.
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.
Baromètre 6 Click Board
Frequently Asked Questions
Have a Question?
Be the first to ask a question about this.