OFF
24 g
Status:
Weather Click is a compact add-on board that contains an integrated environmental sensor. This board features the BME280, a combined humidity and pressure sensor from Bosch Sensortec. Besides humidity and barometric pressure, the sensor can also measure the temperature. The altitude can be calculated using pressure value, but only if you know the hPa pressure at sea level for your location and day. This Click board™ makes the perfect solution for the development of hand-held devices, navigation systems, watches, home weather stations, home automation control units, and more.
Weather Click is fully compatible with the mikroBUS™ socket and can be used on any host system supporting the mikroBUS™ standard. It comes with the mikroSDK open-source libraries, offering unparalleled flexibility for evaluation and customization. What sets this Click board™ apart is the groundbreaking ClickID feature, enabling your host system to seamlessly and automatically detect and identify this add-on board.
This product is no longer in stock
Availability date: 11/09/2023
Weather Click is based on the BME280, a combined humidity and pressure sensor from Bosch Sensortec. The BME280 itself contains sensors from each of the environmental measurements. The humidity sensor has high overall accuracy and an extremely fast response time. The pressure sensor has extremely high accuracy and resolution as an absolute barometric sensor. The temperature sensor is basically used for temperature compensation, thus for accurate readings. Nevertheless, it has low noise, high resolution, and can be used for ambient temperature readings.
The Weather Click can work in one of three power modes. Sleep mode is the first mode the sensor enters after the Power-On reset, when no measurements are performed with its power consumption at the minimum. In Forced mode, the sensor performs a single measurement and returns to Sleep mode. For the next measurement, the Forced mode must be selected again. The Normal mode means the sensor will take measurements in automated perpetual cycling between measurement and inactive periods.
The sensors inside the BME280 have different output resolutions, with 16-bit ADC for humidity and up to 20-bit for pressure readings. An internal IIR filter helps suppress the disturbance of many shorter changes, such as a wind blowing into the sensor, slamming a door, and such. To achieve a high resolution and low noise of readings, the IIR filter must be enabled. Weather Click can use a standard 2-Wire I2C interface supporting standard, fast, and high speeds or an SPI serial interface to communicate with the host MCU. The communication interface can be selected via SPI I2C 4-jumper sets, with the I2C interface selected by default. All four jumpers must be set in place for the Weather Click to work properly. The I2C address can be selected via the ADDR jumper, with 0 set by default.
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
Environmental
Applications
Can be used for the development of hand-held devices, navigation systems, watches, home weather stations, home automation control units, and more
On-board modules
BME280 - combined humidity and pressure sensor from Bosch Sensortec
Key Features
Humidity sensor measuring relative humidity, barometric pressure and ambient temperature, low power consumption, high accuracy, long-term stability, fast response time, and more
Interface
I2C,SPI
Feature
ClickID Manifest,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 Weather 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 |
JP1-JP5 | SPI I2C | Right | Communication Interface Selection SPI/I2C: Left position SPI, Right position I2C |
JP4 | ADDR | Left | I2C Address Selection 0/1: Left position 0, Right position 1 |
Description | Min | Typ | Max | Unit |
---|---|---|---|---|
Supply Voltage | - | 3.3 | - | V |
Temperature Range | -40 | - | 85 | °C |
Relative Humidity Range | 0 | - | 100 | % |
Pressure Range | 300 | - | 1100 | hPa |
We provide a library for the Weather 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 Weather Click driver.
Key functions
weather_get_ambient_data
Use this function to read the temperature, pressure and humidity data
weather_get_device_id
You can use this function as a check on click communication with your MCU.
weather_measurement_cfg
Use this function to set up new settings
Example Description
This demo-app shows the temperature, pressure and humidity measurement using Weather click.
void application_task ( void )
{
weather_data_t weather_data;
if ( WEATHER_OK == weather_get_ambient_data( &weather, &weather_data ) )
{
log_printf( &logger, " rn ---- Weather data ----- rn" );
log_printf( &logger, "[PRESSURE]: %.2f mBar.nr", weather_data.pressure );
log_printf( &logger, "[TEMPERATURE]: %.2f C.nr", weather_data.temperature );
log_printf( &logger, "[HUMIDITY]: %.2f %%.nr", weather_data.humidity );
Delay_ms ( 1000 );
Delay_ms ( 500 );
}
}
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.