MikroElektronika Weather Click Element
The weather click element is used to measure environmental conditions, including barometric pressure, temperature, and humidity. The element is for using the MikroElektronika Weather Click board, which features the Bosch BME280 humidity and pressure sensor.
The weather click is a sensor element that can be imported into the Element Toolbox through the Add Element button located in the toolbox from the Embedded tab.
Properties
The following properties can be changed for the weather click element:
Name
The name of the element.
Communication Mode
The communication inferface the board uses to transmit data.
I2C Driver Instance
The I2C bus used to communicate with the sensor.
SPI Driver Instance
The SPI bus used to communicate with the sensor. This should be set to whichever port the Click board is connected to.
SPI Chip Select Pin
The SPI pin used to toggle the chip select pin on the board.
I2C Address
The I2C address the element sends data to.
Triggers
The following triggers are available to execute events from within the weather click element:
Triggered
Execute an event when the source element connected to the weather click triggers.
Humidity Read
Execute an event when humidity data is read.
Pressure Read
Execute an event when pressure data is read.
Temperature Read
Execute an event when temperature data is read.
Abilities
The following abilities are available for the weather click element when its source element triggers:
Trigger
Trigger the element(s) that follow the weather click element.
Read Humidity (%rh)
Read the sensor’s humidity data in relative humidity percentage.
Read Pressure (Pa)
Read the sensor’s pressure data in pascals.
Read Temperature (°C)
Read the sensor’s temperature data in Celsius.
Element Resources
Atmosphere includes a selection of resources for users of all levels that demonstrate using the weather click element.
Demo Projects
To view the weather click element used within a project, click the demo’s name to open the project in Atmosphere and see how the element is set up.
Name | Hardware | Description |
---|---|---|
Arduino Weather Click Demo | Arduino Mega | A basic demo that uses the Arduino Mega alongside a Weather Click to read the environmental data and print the values on the debug console. |
PIC-IoT Weather Click Demo | PIC-IoT WG | A basic demo that uses the PIC-IoT WG alongside a Weather Click to read the environmental data and send the values to the cloud. |