{"product_id":"mikroe-2937","title":"Temp-Hum 3 click","description":"\u003cp\u003e \u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eTemp-Hum 3 click\u003c\/strong\u003e 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 has integrated sensing elements placed on the bottom of the die, so they are not directly exposed to the environmental contamination. This translates to a prolonged life of the Click board™ itself.\u003c\/p\u003e\n\u003cp\u003eTemp-Hum 3 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.\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eHow does it work?\u003c\/strong\u003e\u003c\/p\u003e\n\u003cp\u003eThe sensor IC used on the Temp-Hum 3 click is the \u003ca href=\"https:\/\/download.mikroe.com\/documents\/datasheets\/hdc2010.pdf\"\u003eHDC2010\u003c\/a\u003e, a Low Power Humidity and Temperature Digital Sensor from \u003ca href=\"http:\/\/www.ti.com\/\"\u003eTexas Instruments\u003c\/a\u003e. 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. This 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.\u003cbr\u003e \u003cbr\u003e \u003cimg src=\"https:\/\/www.mikroe.com\/img\/cms\/temp-hum-3-click-inside-image.jpg\" alt=\"\"\u003e\u003c\/p\u003e\n\u003cp\u003eInternally, two sensors are connected to the ADC section, which can be set to sample measurements with the resolution of 9, 11 or 14 bits, based on the measurement time. The 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 HDC2010 datasheet so that the final temperature or relative humidity data can be calculated. It is also possible to correct the offsets with custom values.\u003c\/p\u003e\n\u003cp\u003eHDC2010 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. The ADDR pin of the HDC2010 is routed to the CS pin of the mikroBUS™ and it represents the least significant bit of the I2C address. The final I2C address of this IC is determined by setting this pin either to a HIGH logic level for 1, or a LOW logic level for 0.\u003c\/p\u003e\n\u003cp\u003eTemp-Hum 3 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 HDC2010. 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 status 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 HDC2010 datasheet.\u003c\/p\u003e\n\u003cp\u003eHDC2010 IC itself 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 the 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, while on-demand measurement happens whenever the I2C command is sent. As soon as the single measurement is finished, the device falls back to a sleep mode.\u003cbr\u003e \u003cbr\u003e Onboard SMD jumper is used to select the power supply voltage. This allows Temp-Hum 3 click to be used with both 3.3V and 5V MCUs.\u003c\/p\u003e\n\u003cp\u003eThe 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.\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eSpecifications\u003c\/strong\u003e\u003c\/p\u003e\n\u003ctable\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd\u003eType\u003c\/td\u003e\n\u003ctd\u003eTemperature \/ Humidity\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eApplications\u003c\/td\u003e\n\u003ctd\u003eEnvironmental monitoring, home automation, weather stations, HVAC systems, wearables, various IoT applications, etc.\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eOn-board modules\u003c\/td\u003e\n\u003ctd\u003eHDC2010 Low Power Humidity and Temperature Digital Sensor\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eKey Features\u003c\/td\u003e\n\u003ctd\u003eThe click board measures the relative humidity range from 0% to 100%, it has humidity accuracy of ±2%, and it features an integrated heating element, used to evaporate condensation, smart sensor IC design, and low power consumption.\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eInterface\u003c\/td\u003e\n\u003ctd\u003eI2C\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eInput Voltage\u003c\/td\u003e\n\u003ctd\u003e3.3V or 5V\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eClick board size\u003c\/td\u003e\n\u003ctd\u003eS (28.6 x 25.4 mm)\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003cp\u003e\u003cstrong\u003ePinout diagram\u003c\/strong\u003e\u003c\/p\u003e\n\u003cp\u003eThis table shows how the pinout on \u003cstrong\u003eTemp-Hum 3\u003c\/strong\u003e\u003cstrong\u003e click\u003c\/strong\u003e corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).\u003c\/p\u003e\n\u003ctable style=\"width: 549px;\"\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003cth\u003eNotes\u003c\/th\u003e\n\u003cth\u003ePin\u003c\/th\u003e\n\u003cth colspan=\"4\"\u003e\u003ca href=\"http:\/\/www.mikroe.com\/mikrobus\/\"\u003e\u003cimg src=\"https:\/\/cdn.mikroe.com\/img\/mikrobus\/mikroBUS-logo-black.png\" alt=\"Mikrobus logo.png\"\u003e\u003c\/a\u003e\u003c\/th\u003e\n\u003cth\u003ePin\u003c\/th\u003e\n\u003cth\u003eNotes\u003c\/th\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e \u003c\/td\u003e\n\u003ctd\u003eNC\u003c\/td\u003e\n\u003ctd\u003e1\u003c\/td\u003e\n\u003ctd\u003eAN\u003c\/td\u003e\n\u003ctd\u003ePWM\u003c\/td\u003e\n\u003ctd\u003e16\u003c\/td\u003e\n\u003ctd\u003eNC\u003c\/td\u003e\n\u003ctd\u003e \u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e \u003c\/td\u003e\n\u003ctd\u003eNC\u003c\/td\u003e\n\u003ctd\u003e2\u003c\/td\u003e\n\u003ctd\u003eRST\u003c\/td\u003e\n\u003ctd\u003eINT\u003c\/td\u003e\n\u003ctd\u003e15\u003c\/td\u003e\n\u003ctd\u003e\u003cstrong\u003eINT\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd\u003eInterrupt output\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eI2C Address LSB\u003c\/td\u003e\n\u003ctd\u003e\u003cstrong\u003eCS\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd\u003e3\u003c\/td\u003e\n\u003ctd\u003eCS\u003c\/td\u003e\n\u003ctd\u003eRX\u003c\/td\u003e\n\u003ctd\u003e14\u003c\/td\u003e\n\u003ctd\u003eNC\u003c\/td\u003e\n\u003ctd\u003e \u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e \u003c\/td\u003e\n\u003ctd\u003eNC\u003c\/td\u003e\n\u003ctd\u003e4\u003c\/td\u003e\n\u003ctd\u003eSCK\u003c\/td\u003e\n\u003ctd\u003eTX\u003c\/td\u003e\n\u003ctd\u003e13\u003c\/td\u003e\n\u003ctd\u003eNC\u003c\/td\u003e\n\u003ctd\u003e \u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e \u003c\/td\u003e\n\u003ctd\u003eNC\u003c\/td\u003e\n\u003ctd\u003e5\u003c\/td\u003e\n\u003ctd\u003eMISO\u003c\/td\u003e\n\u003ctd\u003eSCL\u003c\/td\u003e\n\u003ctd\u003e12\u003c\/td\u003e\n\u003ctd\u003e\u003cstrong\u003eSCL\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd\u003eI2C Clock\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e \u003c\/td\u003e\n\u003ctd\u003eNC\u003c\/td\u003e\n\u003ctd\u003e6\u003c\/td\u003e\n\u003ctd\u003eMOSI\u003c\/td\u003e\n\u003ctd\u003eSDA\u003c\/td\u003e\n\u003ctd\u003e11\u003c\/td\u003e\n\u003ctd\u003e\u003cstrong\u003eSDA\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd\u003eI2C Data\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003ePower Supply\u003c\/td\u003e\n\u003ctd\u003e\u003cstrong\u003e+3V3\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd\u003e7\u003c\/td\u003e\n\u003ctd\u003e3.3V\u003c\/td\u003e\n\u003ctd\u003e5V\u003c\/td\u003e\n\u003ctd\u003e10\u003c\/td\u003e\n\u003ctd\u003e\u003cstrong\u003e+5V\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd\u003ePower Supply\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e Ground\u003c\/td\u003e\n\u003ctd\u003e\u003cstrong\u003eGND\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd\u003e8\u003c\/td\u003e\n\u003ctd\u003eGND\u003c\/td\u003e\n\u003ctd\u003eGND\u003c\/td\u003e\n\u003ctd\u003e9\u003c\/td\u003e\n\u003ctd\u003e\u003cstrong\u003eGND\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd\u003eGround\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003cp\u003e\u003cstrong\u003eTemp-Hum 3 click maximum ratings\u003c\/strong\u003e\u003c\/p\u003e\n\u003ctable\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003cth\u003eDescription\u003c\/th\u003e\n\u003cth\u003eMin\u003c\/th\u003e\n\u003cth\u003eTyp\u003c\/th\u003e\n\u003cth\u003eMax\u003c\/th\u003e\n\u003cth\u003eUnit\u003c\/th\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eTemperature Accuracy\u003c\/td\u003e\n\u003ctd\u003e-0.2\u003c\/td\u003e\n\u003ctd\u003e-\u003c\/td\u003e\n\u003ctd\u003e2\u003c\/td\u003e\n\u003ctd\u003e°C\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eHumidity Accuracy\u003c\/td\u003e\n\u003ctd\u003e-2\u003c\/td\u003e\n\u003ctd\u003e-\u003c\/td\u003e\n\u003ctd\u003e2\u003c\/td\u003e\n\u003ctd\u003e% RH\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eOperating temperature\u003c\/td\u003e\n\u003ctd\u003e-40\u003c\/td\u003e\n\u003ctd\u003e-\u003c\/td\u003e\n\u003ctd\u003e85\u003c\/td\u003e\n\u003ctd\u003e°C\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eRelative Humidity Operating Range\u003c\/td\u003e\n\u003ctd\u003e0\u003c\/td\u003e\n\u003ctd\u003e-\u003c\/td\u003e\n\u003ctd\u003e100\u003c\/td\u003e\n\u003ctd\u003e% RH\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eI2C clock frequency\u003c\/td\u003e\n\u003ctd\u003e10\u003c\/td\u003e\n\u003ctd\u003e-\u003c\/td\u003e\n\u003ctd\u003e400\u003c\/td\u003e\n\u003ctd\u003ekHz\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003cp\u003e\u003cstrong\u003eOnboard settings and indicators\u003c\/strong\u003e\u003c\/p\u003e\n\u003ctable\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003cth\u003eLabel\u003c\/th\u003e\n\u003cth\u003eName\u003c\/th\u003e\n\u003cth\u003eDefault\u003c\/th\u003e\n\u003cth\u003eDescription\u003c\/th\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eJP1\u003c\/td\u003e\n\u003ctd\u003e-\u003c\/td\u003e\n\u003ctd\u003eLeft\u003c\/td\u003e\n\u003ctd\u003ePower Supply Voltage Selection: Left position 3V3, right position 5V\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eLD1\u003c\/td\u003e\n\u003ctd\u003ePWR\u003c\/td\u003e\n\u003ctd\u003e \u003c\/td\u003e\n\u003ctd\u003ePWR indication LED\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003cp\u003e\u003cstrong\u003eSoftware support\u003c\/strong\u003e\u003c\/p\u003e\n\u003cp\u003eWe provide a library for Temp-Hum 3 click on our \u003ca href=\"https:\/\/libstock.mikroe.com\/projects\/view\/2324\/temp-amp-hum-3-click\"\u003eLibStock page\u003c\/a\u003e, as well as a demo application (example), developed using MikroElektronika \u003ca href=\"https:\/\/www.mikroe.com\/compilers\"\u003ecompilers \u003c\/a\u003eand \u003ca href=\"https:\/\/www.mikroe.com\/mikrosdk\"\u003emikroSDK\u003c\/a\u003e. The provided click library is mikroSDK standard compliant. The demo application can run on all the main MikroElektronika \u003ca href=\"https:\/\/www.mikroe.com\/development-boards\"\u003edevelopment boards\u003c\/a\u003e.\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eLibrary Description\u003c\/strong\u003e\u003c\/p\u003e\n\u003cp\u003eThe library covers all functionalities of the Click board™.\u003c\/p\u003e\n\u003cp\u003eKey functions:\u003c\/p\u003e\n\u003cp\u003e\u003ccode\u003efloat temphum3_getTemperature()\u003c\/code\u003e - Reads temperature from sensor\u003c\/p\u003e\n\u003cp\u003e\u003ccode\u003evoid temphum3_setMeasurement(uint8_t value)\u003c\/code\u003e - Setup measurement parameters\u003c\/p\u003e\n\u003cp\u003e\u003ccode\u003evoid temphum3_Configuration(uint8_t value)\u003c\/code\u003e - Setup sensor configuration\u003c\/p\u003e\n\u003cp\u003eExamples Description\u003c\/p\u003e\n\u003cp\u003eThe application is composed of three sections:\u003c\/p\u003e\n\u003cul\u003e\n\u003cli\u003eSystem Initialization - Initializes I2C module and CS pin as OUTPUT and INT pin as INPUT\u003c\/li\u003e\n\u003cli\u003eApplication Initialization - Initializes Driver init and settings chip mode ACTIVE and configuration Measurement and Interrupt, then settings maximum\/minimum possible Temperature and Huminidy.\u003c\/li\u003e\n\u003cli\u003eApplication Task - (code snippet) - Reads the temperature and huminidy and logs to the USBUART every 500 ms.\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cpre\u003evoid applicationTask()\n{\nTemperature = temphum3_getTemperature();\nDelay_100ms();\n\nHuminidy = temphum3_getHuminidy();\nDelay_100ms();\n\nFloatToStr(Temperature,temp_txt);\nmikrobus_logWrite(\"Temperature : \",_LOG_TEXT);\nmikrobus_logWrite(temp_txt,_LOG_LINE);\n\nFloatToStr(Huminidy,hum_txt);\nmikrobus_logWrite(\"Huminidy : \",_LOG_TEXT);\nmikrobus_logWrite(hum_txt,_LOG_LINE);\n\nDelay_ms( 500 );\n}\u003c\/pre\u003e\n\u003cp\u003eThe full application code, and ready to use projects can be found on our \u003ca href=\"https:\/\/libstock.mikroe.com\/projects\/view\/2324\/temp-amp-hum-3-click\"\u003eLibStock page\u003c\/a\u003e.\u003c\/p\u003e\n\u003cp\u003eOther mikroE Libraries used in the example:\u003c\/p\u003e\n\u003cul\u003e\n\u003cli\u003eI2C\u003c\/li\u003e\n\u003cli\u003eUART\u003c\/li\u003e\n\u003cli\u003eConversions\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003e\u003cstrong\u003eAdditional notes and information\u003c\/strong\u003e\u003c\/p\u003e\n\u003cp\u003eDepending on the development board you are using, you may need \u003ca href=\"https:\/\/shop.mikroe.com\/usb-uart-click\"\u003eUSB UART click\u003c\/a\u003e, \u003ca href=\"https:\/\/shop.mikroe.com\/usb-uart-2-click\"\u003eUSB UART 2 click\u003c\/a\u003e or \u003ca href=\"https:\/\/shop.mikroe.com\/rs232-click\"\u003eRS232 click\u003c\/a\u003e to connect to your PC, for development systems with no UART to USB interface available on the board. The terminal available in all MikroElektronika \u003ca href=\"https:\/\/shop.mikroe.com\/compilers\"\u003ecompilers\u003c\/a\u003e, or any other terminal application of your choice, can be used to read the message.\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003emikroSDK\u003c\/strong\u003e\u003c\/p\u003e\n\u003cp\u003eThis click board is supported with \u003ca href=\"https:\/\/www.mikroe.com\/mikrosdk\"\u003emikroSDK\u003c\/a\u003e - MikroElektronika Software Development Kit. To ensure proper operation of mikroSDK compliant click board demo applications, mikroSDK should be downloaded from the \u003ca href=\"https:\/\/libstock.mikroe.com\/projects\/view\/2249\/mikrosdk\"\u003eLibStock\u003c\/a\u003e and installed for the compiler you are using.\u003cbr\u003e \u003cbr\u003e\u003cbr\u003e\u003c\/p\u003e","brand":"MikroElektronika","offers":[{"title":"Default Title","offer_id":47400885125403,"sku":"MIKROE-2937","price":1369.0,"currency_code":"INR","in_stock":false}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0676\/3325\/0587\/products\/temp-hum-3-click-large_default-22xGAcOLScFGd9NF.jpg?v=1701961692","url":"https:\/\/mgsl.in\/products\/mikroe-2937","provider":"MG Super Labs","version":"1.0","type":"link"}