Mikroelektronika d.o.o.
Temp&Hum 21 Click Board
Temp&Hum 21 Click Board
Couldn't load pickup availability
Key Features:
- Industry-leading long-term stability and reliability, fully-calibrated and temperature-compensated, high precision and accuracy, I2C interface with alarm functions, low power consumption, and more
- Based on the HIH8130-021-001 - digital humidity and temperature sensor from Honeywell Sensing and Productivity Solutions
- Can be used for various temperature and humidity-related applications in industrial, medical, and other applications
- mikroBUS: I2C Interface
The Temp&Hum 21 Click Board™ is a compact add-on board representing temperature and humidity sensing solution. This board features the HIH8130-021-001, a highly accurate, fully-calibrated digital humidity and temperature sensor from Honeywell Sensing and Productivity Solutions. This sensor, characterized by its high accuracy (±2% RH and ±0.5°C over a wide operating temperature range) and high resolution, provides factory-calibrated 14-bit data to the host controller with a configurable I2C interface. It also comes with alarm features with selectable alarm thresholds by an MCU or externally. The long-term stability and reliability, alongside other features, make this Click board™ ideal for various temperature and humidity-related applications in industrial, medical, and other applications.
The Temp&Hum 21 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.
![Mikroelektronika d.o.o. MIKROE-5240 Temp&Hum 21 Click Board - The Debug Store UK](http://thedebugstore.com/cdn/shop/products/mikroelektronika-d-o-o-click-board-temp-hum-21-click-board-37822412816607.jpg?v=1684960143&width=1445)
![Mikroelektronika d.o.o. MIKROE-5240 Temp&Hum 21 Click Board - The Debug Store UK](http://thedebugstore.com/cdn/shop/products/mikroelektronika-d-o-o-click-board-temp-hum-21-click-board-37822412521695.jpg?v=1684960306&width=1445)
![Mikroelektronika d.o.o. MIKROE-5240 Temp&Hum 21 Click Board - The Debug Store UK](http://thedebugstore.com/cdn/shop/products/mikroelektronika-d-o-o-click-board-temp-hum-21-click-board-37822413111519.jpg?v=1684960140&width=1445)
![Mikroelektronika d.o.o. MIKROE-5240 Temp&Hum 21 Click Board - The Debug Store UK](http://thedebugstore.com/cdn/shop/products/mikroelektronika-d-o-o-click-board-temp-hum-21-click-board-37822411964639.jpg?v=1684960135&width=1445)
![Mikroelektronika d.o.o. MIKROE-5240 Temp&Hum 21 Click Board - The Debug Store UK](http://thedebugstore.com/cdn/shop/products/mikroelektronika-d-o-o-click-board-temp-hum-21-click-board-37822412619999.jpg?v=1684960137&width=1445)
![Mikroelektronika d.o.o. MIKROE-5240 Temp&Hum 21 Click Board - The Debug Store UK](http://thedebugstore.com/cdn/shop/products/mikroelektronika-d-o-o-click-board-temp-hum-21-click-board-37822412390623.jpg?v=1684960310&width=1445)
![Mikroelektronika d.o.o. MIKROE-5240 Temp&Hum 21 Click Board - The Debug Store UK](http://thedebugstore.com/cdn/shop/products/mikroelektronika-d-o-o-click-board-temp-hum-21-click-board-37822412488927.jpg?v=1684960124&width=1445)
![Mikroelektronika d.o.o. MIKROE-5240 Temp&Hum 21 Click Board - The Debug Store UK](http://thedebugstore.com/cdn/shop/products/mikroelektronika-d-o-o-click-board-temp-hum-21-click-board-37822412718303.jpg?v=1684960128&width=1445)
How Does The Temp&Hum 21 Click Board™ Work?
The Temp&Hum 21 Click Board™ is based on the the HIH8130-021-001, a highly accurate, fully-calibrated digital humidity and temperature sensor from Honeywell Sensing and Productivity Solutions. The humidity can be measured within a range of 0 to 100%RH, while the temperature sensor is designed for a range of -40 to +120°C. The typical accuracy for humidity is ±2%RH in the measuring range of 10 up to 90%RH at ambient temperature and ±0.5°C for its operating temperature range with very low power consumption.
The HIH8130-021-001 communicates with MCU using the standard I2C 2-Wire interface to read and write data supporting Fast Mode operation with a clock frequency up to 400kHz, providing factory-calibrated 14-bit data to the host controller. High 14-bit humidity and 14-bit temperature sensor resolution within the application help the user's design detect the slightest relative humidity or temperature change.
It also comes with an alarm feature with configurable alarm thresholds, labelled as ALH and ALL routed to the INT and AN pins of the mikroBUS™ socket for preset control at a minimum and maximum humidity and temperature. These alarm thresholds are set to generate alarms when the actual values in the devices cross the defined threshold values. To activate the external setting of the alarm thresholds, it is necessary to populate resistors R4 and R5, which are not populated by default, to enable an external setting on an unpopulated header in the middle of the Click board™.
The Temp&Hum 21 Click Board™ can operate with both 3.3V and 5V logic voltage levels selected via the VCC SEL jumper. This way, it is allowed for both 3.3V and 5V capable MCUs to use the communication lines properly. However, the Click board™ comes equipped with a library containing easy-to-use functions and an example code that can be used, as a reference, for further development.
SPECIFICATIONS
Type | Temperature & humidity |
Applications | Can be used for various temperature and humidity-related applications in industrial, medical, and other applications |
On-board modules | HIH8130-021-001 - digital humidity and temperature sensor from Honeywell Sensing and Productivity Solutions |
Key Features | Industry-leading long-term stability and reliability, fully-calibrated and temperature-compensated, high precision and accuracy, I2C interface with alarm functions, low power consumption, and more |
Interface | I2C |
Compatibility | mikroBUS |
Click board size | S (28.6 x 25.4 mm) |
Input Voltage | 3.3V or 5V |
PINOUT DIAGRAM
This table shows how the pinout of the Temp&Hum 21 Click Board™ corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).
Notes | Pin | ![]() |
Pin | Notes | |||
---|---|---|---|---|---|---|---|
Alarm Low Threshold | ALL | 1 | AN | PWM | 16 | NC | |
NC | 2 | RST | INT | 15 | ALH | Alarm High Threshold | |
NC | 3 | CS | RX | 14 | NC | ||
NC | 4 | SCK | TX | 13 | NC | ||
NC | 5 | MISO | SCL | 12 | SCL | I2C Clock | |
NC | 6 | MOSI | SDA | 11 | SDA | I2C Data | |
Power Supply | 3.3V | 7 | 3.3V | 5V | 10 | 5V | Power Supply |
Ground | GND | 8 | GND | GND | 9 | GND | Ground |
ONBOARD SETTINGS AND INDICATORS
Label | Name | Default | Description |
---|---|---|---|
LD1 | PWR | - | Power LED Indicator |
JP1 | VCC SEL | Left | Logic Level Voltage Selection 3V3/5V: Left position 3V3, Right position 5V |
J1 | EXT_ALR | Unpopulated | External Alarm Threshold Connection Header |
TEMP&HUM 21 CLICK ELECTRICAL SPECIFICATIONS
Description | Min | Typ | Max | Unit |
---|---|---|---|---|
Supply Voltage | 3.3 | - | 5 | V |
Humidity Measurement Range | 0 | - | 100 | %RH |
Humidity Accuracy | - | ±2 | - | %RH |
Resolution | - | - | 14 | bits |
Temperature Accuracy | - | ±0.5 | - | °C |
Operating Temperature Range | -40 | +25 | +120 | °C |
Software Support
We provide a library for the Temp&Hum 21 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 Temp&Hum 21 Click Board™ driver.
Key functions
-
temphum21_read_measurement
This function requests measurement and waits for a measurement to complete and after that reads temperature in Celsius and relative humidity in percents. -
temphum21_get_all_pin
This function returns the alarm low (ALL) pin logic state. -
temphum21_get_alh_pin
This function returns the alarm high (ALH) pin logic state.
Example Description
This example demonstrates the use of the Temp&Hum 21 Click Board™ by reading the temperature and humidity data.
void application_task ( void )
{
float temperature, humidity;
if ( TEMPHUM21_STATUS_NORMAL_OP == temphum21_read_measurement ( &temphum21, &temperature, &humidity ) )
{
log_printf ( &logger, " Temperature: %.2f Crn", temperature );
log_printf ( &logger, " Humidity: %.2f %%rnn", humidity );
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.TempHum21
Additional Notes and Information
Depending on the development board you are using, you may need a USB UART Click Board™, 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 Temp&Hum 21 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.
Temp&Hum 21 Click Board
Frequently Asked Questions
Have a Question?
Be the first to ask a question about this.
![banner Image](http://thedebugstore.com/cdn/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c_medium.gif)