MIKROE Temp&Hum 4 Click

Temp&Hum 4 Click is a smart environmental temperature and humidity sensor Click board™, packed with features which allow easy and simple integration into any design that requires accurate and reliable humidity and temperature measurements. The sensor IC itself has integrated sensing elements placed on the bottom of the die, so they are not directly exposed to the environmental contamination, which translates to a prolonged life of the Click board™.

Temp&Hum 4 Click is a perfect solution for a wide range of applications that depend on accurate temperature and humidity readings. With its low power consumption and programmable interrupt requests capability, it is also a perfect choice for various temperature and relative humidity based IoT applications, such as smart home applications, smart thermostats, gas sensing, smoke and heat sensors, and similar.

The sensor IC used on the Temp&Hum 4 Click is the HDC1010, a Low Power Humidity and Temperature Digital Sensor from Texas Instruments. This sensor is factory calibrated to 2% relative humidity and 0.2°C temperature accuracy. It has an integrated heating element that is used to evaporate condensation, protecting the sensor that way. The heating element can be simply activated by setting a bit in the appropriate register. In the case when the heater is powered on, the power consumption might rise to about 130mA.

Internally, two sensors are connected to the ADC section, which can be set to sample the measurement with the resolution of 9, 11 or 14 bits, based on the measurement time. OTP memory holds the calibration coefficients that are applied to the measured value and the results are stored on the output registers, in the MSB/LSB format. These values are then used in formulas found in the HDC1010 datasheet so that the final temperature or relative humidity data can be calculated.

HDC1010 IC uses the I2C protocol to communicate with the host MCU. Its I2C bus pins are routed to the mikroBUS™ I2C pins and are pulled to a HIGH logic level by the onboard resistors. Two ADDR pins of the HDC1010 are routed to the CS and the RST pin of the mikroBUS™ and they represent the least significant bits of the I2C address. The final I2C address of this IC is determined by setting these pins either to HIGH logic level for 1, or a LOW logic level for 0.

Temp&Hum 4 Click supports programmable interrupt engine, saving the host MCU from having to constantly poll the IC for data. An interrupt signal with a selectable polarity and behavior can be generated on the DRDY/INT pin of the HDC1010. It can be triggered by several event sources: it can be triggered by the temperature Lo/Hi threshold events, Humidity Lo/Hi events, as well as the readiness of the measurement data. Setting up the interrupts can be achieved by programming the appropriate IC registers via the I2C bus. More information about these registers can be found in the HDC1010 datasheet.

HDC1010 IC is a very low power consuming device and it can work in two modes: sleep and active (measurement) mode. The device enters the sleep the mode as soon possible, to save power. While in active mode, measurement can be either automatic with predefined output data rate (ODR) or on-demand. In the automatic mode, the measurement is triggered in predefined time segments - continuously, while on-demand measurement happens whenever the I2C command is sent. As soon as the single measurement is finished, the device falls back to sleep mode.

Onboard SMD jumper is used to select the power supply voltage. This allows Temp-Hum 4 Click to be used with both 3.3V and 5V MCUs.

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.

  • Interface: I2C
  • Compatibility: mikroBUS™
  • Dimensions: 28.6 x 25.4mm
  • Input Voltage: 3.3V or 5V
  • Temperature Accuracy: Min. -0.2°C, Max. 0.2°C
  • Humidity Accuracy: Min. -2%RH, Max. 2%RH
  • Operating Temperature: Min. -40°C, Max. 85°C
  • Relative Humidity Operating Range: Min. 0%RH, Max. 100%RH
  • I2C Clock Frequency: Min. 10kHz, Max. 400kHz


Looking for answers to technical questions?

We welcome your comments and suggestions below. However, if you are looking for solutions to technical questions please see our Technical Assistance page.

Customer Reviews

No reviews yet.