MikroElektronika
Temp&Hum 7 Click
Temp&Hum 7 Click
SKU:MIKROE-3272
Couldn't load pickup availability
Share
The on-chip digital processing allows very good linearity. By using the patented low-K polymeric dielectrics, this sensor is available to achieve measurements with a very low drift and hysteresis, and excellent long-term stability. The on-chip digital processing allows very good linearity. Each sensor has the factory calibration parameters pre-programmed in the non-volatile memory, requiring no additional calibration by the user.
Armed with the integrated sensor which features patented low-K polymeric dielectrics and CMOS technology, the click shows good immunity to contaminants, integrated data processing with the polynomial non-linearity correction, selectable measurement resolution, and excellent long-term stability and reliability.
How does it work?
The sensor IC used on the Temp-Hum 4 click is the Si7021-A20, a humidity and temperature digital sensor, which uses the I2C interface, from Silicon Labs. This sensor is produced using the patented low-K polymeric dielectrics for the humidity sensing, which allows it to achieve an excellent long-term stability. The Si7021-A20 offers an onboard digital signal processing. By applying the polynomial non-linearity correction, the measurements are linear across the range between 0% and 80% RH, retaining the accuracy of ±3% RH. The sensor can still be used in the range between 0% and 100% RH, in applications with slightly higher tolerances.
Each sensor contains the factory calibration data in the internal non-volatile memory, so there is no need for additional calibration steps. The datasheet of the Si7021-A20 offers conversion formulas, which should be used to convert the readings from the sensor to physical values, expressed in %RH and °C.
Due to the used capacitive technology the sensor might exhibit a hysteresis effect. Exposed to the higher RH percentage, the sensor will develop an upward drift in respect to the factory calibration values. Similarly, if exposed to a low RH percentage, the sensor will develop a downward drift in respect to the factory calibration values. However, changing the RH conditions will affect the measurement drift, causing the hysteresis effect. The hysteresis is a common parameter of any sensor that uses the capacitive humidity sensing element. However, the Si7021-A20 incorporates very low hysteresis (±1% RH) due to the used low-K polymer technology.
Besides the capacitive sensing elements, the sensor IC incorporates an analog front end (AFE), which consists of A/D converter, non-volatile memory, and the control logic section. The integrated A/D converter can be programmatically selected from the lowest 8/11-bit resolution, up to resolutions of 12/14 bits (RH/T). The resolution selection affects the power consumption, as well as the data output rate. The response time of the RH readings might vary between 2.6ms for 8-bit resolution, up to 12ms for 12-bit resolution.
The SHT21 sensor also features an integrated resistive heating element, used to evaporate condensation. The heating element can be programmed by using four control bits in the heater control register, allowing to control the heating amount, as well as the typical current draw of the internal heating element.
Temp&Hum 7 click uses the I2C interface, and it features pull-up resistors on the I2C lines. It can be used out of the box. The Click board™ has an SMD jumper, which allows the logic voltage level to be selected between 3.3V and 5V, enabling the Click board™ to be interfaced with a wide range of different microcontrollers.
The provided click board™ library contains simple and easy to use functions, which simplify configuring and reading of the measurement data. These functions are demonstrated in the included example application and can be used as a reference for custom projects. These functions can be used in mikroC, mikroBASIC and mikroPASCAL compilers for all MCU architectures supported by MikroElektronika.
Specifications
Type | Temperature / Humidity |
Applications | It can be used for development of many different relative humidity and temperature measuring applications, including weather stations, reliable monitoring systems, asset tracking, HVAC/R based applications, and more. |
On-board modules | Si7021-A10, a humidity and temperature digital sensor, which uses the I2C interface, from Silicon Labs |
Key Features | Good linearity and long-term stability, programmable resolution, onboard processing and compensation, patented low-K polymeric dielectrics, selectable logic voltage, etc. |
Interface | I2C |
Input Voltage | 3.3V,5V |
Click board size | M (42.9 x 25.4 mm) |
Pinout diagram
This table shows how the pinout on Temp&Hum 7 Click corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).
Onboard settings and indicators
Label | Name | Default | Description |
---|---|---|---|
PWR | PWR | - | Power LED indicator |
VCC SEL | VCC SEL | Left | Logic voltage level selection: left position 3.3V, right position 5V |
We provide a library for the Temp&Hum 7 click on our LibStock page, as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.
Library Description
The library contains functions for reading register content and setting register content Library contains functions for reading the electronic serial number and firmware revision Library contains functions for reading temperature (C), humidity(%RH) and heater current (mA) values Library contains a function for device reset.
Key functions:
-
void temphum7_setData( uint8_t command_, uint8_t dataIn_ );
- sets one byte of register data -
float temphum7_getRelativeHumidity( uint8_t mode_ )
- performs relative humidity measurement and calculates relative humidity -
float temphum7_getTemperature ( uint8_t mode_ )
- performs temperature measurement and calculates the temperature
Examples description
The application is composed of the three sections :
- System Initialization - Initializes I2C and LOG
- Application Initialization - Initializes I2C driver, and sets 12-bit resolution for measurements
- Application Task - Calculates and Logs temperature and relative humidity
void applicationTask() { mikrobus_logWrite( " ", _LOG_LINE ); temperature = temphum7_getTemperature( _TEMPHUM7_HOLD_MASTER_MODE ); FloatToStr( temperature, text ); mikrobus_logWrite( " > > > temperature : ", _LOG_TEXT ); mikrobus_logWrite( text, _LOG_TEXT ); mikrobus_logWrite( " C", _LOG_LINE ); relativeHumidity = temphum7_getRelativeHumidity( _TEMPHUM7_HOLD_MASTER_MODE ); FloatToStr( relativeHumidity, text ); mikrobus_logWrite( " > > > relative humidity : ", _LOG_TEXT ); mikrobus_logWrite( text, _LOG_TEXT ); mikrobus_logWrite( " %RH", _LOG_LINE ); Delay_ms(1000); }
The full application code, and ready to use projects can be found on our LibStock page.
Other mikroE Libraries used in the example:
I2C
UART
Conversions
Additional notes and information
Depending on the development board you are using, you may need USB UART click, USB UART 2 clickor RS232 click to connect to your PC, for development systems with no UART to USB interface available on the board. The terminal available in all MikroElektronika compilers, or any other terminal application of your choice, can be used to read the message.
mikroSDK
This 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.




New Products
-
Sold out
OAK-FFC IMX577 M12
Vendor:POLOLURegular price Rs. 8,499.00Regular priceUnit price / perSold out -
Pololu Ideal Diode Reverse Voltage Protector, 4-60V, 20A
Vendor:POLOLURegular price Rs. 329.00Regular priceUnit price / perSold out -
Pololu Ideal Diode Reverse Voltage Protector, 4-60V, 25A
Vendor:POLOLURegular price Rs. 439.00Regular priceUnit price / perSold out -
Pololu I²C Isolator, ISO1640
Vendor:POLOLURegular price Rs. 449.00Regular priceUnit price / per -
3pi+ 32U4 OLED Robot Kit with 30:1 MP Motors (Standard Edition Kit)
Vendor:POLOLURegular price Rs. 15,549.00Regular priceUnit price / per -
Conductivity Calibration K 1.0 Set (4 pouches)
Vendor:Atlas ScientificRegular price Rs. 1,599.00Regular priceUnit price / perSold out -
Analog Discovery 3 Pro Bundle
Vendor:DigilentRegular price Rs. 42,569.00Regular priceUnit price / per -
Lighthouse swarm bundle - Crazyflie 2.1+ (250mAh batteries)
Vendor:BitcrazeRegular price Rs. 474,999.00Regular priceUnit price / perSold out -
Loco Swarm bundle - Crazyflie 2.1+ (250mAh batteries)
Vendor:BitcrazeRegular price Rs. 544,999.00Regular priceUnit price / perSold out -
Kopis X8 Cinelifter 5" Kit - Caged (Frame Kit)
Vendor:HolybroRegular price Rs. 28,199.00Regular priceUnit price / per -
Atlas Scientific i3 InterLink
Vendor:Atlas ScientificRegular price Rs. 6,349.00Regular priceUnit price / per -
Sold out
PoE Injector
Vendor:LuxonisRegular price Rs. 2,099.00Regular priceUnit price / perSold out -
Sold out
1-Port VINT Hub Phidget
Vendor:PhidgetsRegular price Rs. 2,699.00Regular priceUnit price / perSold out -
Holybro 1045 Propeller 2 Pair CW+CCW-Black
Vendor:HolybroRegular price Rs. 1,549.00Regular priceUnit price / per -
ACS37220LEZATR-100B3 Current Sensor Large Carrier -100A to +100A, 3.3V
Vendor:POLOLURegular price Rs. 829.00Regular priceUnit price / per -
CT433-HSWF50MR TMR Current Sensor Compact Carrier -50A to +50A, 3.3V
Vendor:POLOLURegular price Rs. 1,039.00Regular priceUnit price / per -
A5984 Stepper Motor Driver Carrier, Adjustable Current, Blue Edition
Vendor:POLOLURegular price Rs. 409.00Regular priceUnit price / per -
A5984 Stepper Motor Driver Carrier, Fixed 1A@5V / 660mA@3.3V, Blue Edition (Soldered Header Pins)
Vendor:POLOLURegular price Rs. 489.00Regular priceUnit price / per -
A5984 Stepper Motor Driver Carrier, Fixed 500mA@5V / 330mA@3.3V (Soldered Header Pins)
Vendor:POLOLURegular price Rs. 469.00Regular priceUnit price / per -
T Connector Male-Female Pair
Vendor:POLOLURegular price Rs. 169.00Regular priceUnit price / per -
Pololu Reverse Voltage Protector, 4-60V, 10A
Vendor:POLOLURegular price Rs. 159.00Regular priceUnit price / per -
Pololu Reverse Voltage Protector, 4-60V, 12A
Vendor:POLOLURegular price Rs. 199.00Regular priceUnit price / per -
Pololu Ideal Diode Reverse Voltage Protector, 4-60V, 10A
Vendor:POLOLURegular price Rs. 179.00Regular priceUnit price / perSold out -
Pololu Ideal Diode Reverse Voltage Protector, 4-60V, 12A
Vendor:POLOLURegular price Rs. 229.00Regular priceUnit price / perSold out -
Pololu Mini Plastic Gearmotor Bracket Pair - Tall
Vendor:POLOLURegular price Rs. 599.00Regular priceUnit price / per