# Title: Temp&Hum 12 Click Board™ ## Description: How Does The Temp&Hum 12 Click Board™ Work? The sensor IC used on the Temp&Hum 12 Click Board™ is the HDC2080, 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. 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 typical current consumption is about 90mA. Internally, two sensors are connected to the two separated ADC sections, 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 HDC2080 datasheet so that the final temperature or relative humidity data can be calculated. It is also possible to correct the offsets with custom values. HDC2080 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 final I2C address of this IC is already determined by setting ADDR pin to GND (LOW logic level for 0). The Temp&Hum 12 Click Board™ supports programable temperature and humidity thresholds in the HDC2080 allow the device to send a hardware interrupt to wake up the microcontroller when necessary. In addition, the power consumption of the HDC2080 is significantly reduced, which helps to minimize self-heating and improve measurement accuracy. More information about these registers can be found in the HDC2080 datasheet. HDC2080 IC itself is a very low power consumption device and it can work in two modes: sleep and active (measurement) mode. The device enters the sleep the mode as soon as possible, to save power. This makes the HDC2080 suitable to be used in battery-powered applications. In these applications, the HDC2080 spends most of the time in sleep mode, with the typical current consumption of 50 nA. While in the active mode, measurement can be configured either to automatic (with the predefined output data rate) or on-demand. In the automatic mode, the measurement is triggered in predefined time intervals, while on-demand measurement happens whenever the I2C command is sent. As soon as the single measurement is finished, the device falls back to the sleep mode. 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 The Temp&Hum 12 Click Board™ is an ideal solution for development of various applications, including battery operated weather stations, thermostats and humidistats, microenvironment centers, respiratory therapy applications, air conditioners, HVAC systems, and other similar applications. On-board modules HDC2080, a relative humidity and temperature sensor with I²C Interface, by Texas Instruments. Key Features High accuracy, good linearity, proven reliability, long-term stability, excellent repeatability, programmable interrupt thresholds, a low power consumption, etc. Interface I2C Compatibility mikroBUS Click board size M (42.9 x 25.4 mm) Input Voltage 3.3V PINOUT DIAGRAM This table shows how the pinout of the Temp&Hum 12 Click Board™ corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns). Notes Pin Pin Notes NC 1 AN PWM 16 NC NC 2 RST INT 15 INT Interrupt output 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 NC Ground GND 8 GND GND 9 GND Ground TEMP&HUM 12 CLICK ELECTRICAL SPECIFICATIONS Description Min Typ Max Unit Temperature Accuracy - +/-0.2 +/-0.4 °C Humidity Accuracy - +/-2 +/-3 % RH Operating temperature -40 - 85 °C Relative Humidity Operating Range 0 - 100 % RH I2C clock frequency 10 - 400 kHz ONBOARD SETTINGS AND INDICATORS Label Name Default Description LD1 PWR - PWR indication LED Software Support We provide a library for the Temp&Hum 12 Click Board™ 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 initializes and defines the I2C bus driver and drivers that offer a choice for writing data in register and read data form register. The library includes function for read Temperature and Relative Humidity data and function for read device ID and the Manufacturer ID. The user also has the function for configuration chip for measurement and read Interrupt (INT pin) state. Key functions: float temphum12_getTemperature(uint8_t tempIn) - Temperature data float temphum12_getHumidity() - Relative Huminidy data Example Description The application is composed of the three sections : System Initialization - Initialization I2C module and sets INT pin as INPUT. Application Initialization - Initializes driver init, test communication and configuration device for measurement. Application Task - Reads Temperature and Humidity data and this data logs to the USBUART every 1 sec. void applicationTask() { float Temperature; float Humidity; char demoText[ 50 ] = {0}; Temperature = temphum12_getTemperature(_TEMPHUM12_TEMP_IN_CELSIUS); FloatToStr(Temperature, demoText); mikrobus_logWrite(" Temperature : ", _LOG_TEXT); mikrobus_logWrite(demoText, _LOG_LINE); Delay_1sec(); Humidity = temphum12_getHumidity(); FloatToStr(Humidity, demoText); mikrobus_logWrite(" Humidity : ", _LOG_TEXT); mikrobus_logWrite(demoText, _LOG_LINE); mikrobus_logWrite("-------------------------", _LOG_LINE); Delay_1sec(); } 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 click or 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 The Temp&Hum 12 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. ## Product type: Click Board ## Vendor: Mikroelektronika d.o.o. ## Tags: Click Board, Humidity, MikroE, Sensor, Temp&Hum, Temperature ## Price range: 12.6 - 12.6 GBP ## Link: https://thedebugstore.com/products/mikroe-3436-temp-hum-12-click-board-uk ## Compare-at price range: 18.0 - 18.0 GBP ## Options - Title: Default Title ## Collections - [New Products](https://thedebugstore.com/a/llms/collections/new-products-debug-store) - [Mikroelektronika d.o.o. (MikroE)](https://thedebugstore.com/a/llms/collections/mikroelektronika-catalogue-uk) - [Sensor Click Boards™](https://thedebugstore.com/a/llms/collections/sensor-click-boards-catalogue) - [MikroE Click Boards™](https://thedebugstore.com/a/llms/collections/mikroe-click-boards-catalogue-uk) - [Humidity Sensor Click Boards™](https://thedebugstore.com/a/llms/collections/humidity-sensor-click-boards-catalogue) - [Temperature Sensor Click Boards™](https://thedebugstore.com/a/llms/collections/temperature-sensor-click-boards-catalogue) - [Click Boards™ Summer Sale](https://thedebugstore.com/a/llms/collections/inventory-sale) - [MikroE Sale](https://thedebugstore.com/a/llms/collections/mikroe-sale) - [MIKROE Stock](https://thedebugstore.com/a/llms/collections/mikroe-products-in-stock-sale) ## Variants - Default Title, SKU: MIKROE-3436, Available: yes, Inventory: 1 ## Metafields - full_description:

How Does The Temp&Hum 12 Click Board™ Work?

The sensor IC used on the Temp&Hum 12 Click Board™ is the HDC2080, 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. 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 typical current consumption is about 90mA.

MikroE Sensors Temp and Hum 12 Click

Internally, two sensors are connected to the two separated ADC sections, 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 HDC2080 datasheet so that the final temperature or relative humidity data can be calculated. It is also possible to correct the offsets with custom values.

HDC2080 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 final I2C address of this IC is already determined by setting ADDR pin to GND (LOW logic level for 0).

The Temp&Hum 12 Click Board™ supports programable temperature and humidity thresholds in the HDC2080 allow the device to send a hardware interrupt to wake up the microcontroller when necessary. In addition, the power consumption of the HDC2080 is significantly reduced, which helps to minimize self-heating and improve measurement accuracy. More information about these registers can be found in the HDC2080 datasheet.

HDC2080 IC itself is a very low power consumption device and it can work in two modes: sleep and active (measurement) mode. The device enters the sleep the mode as soon as possible, to save power. This makes the HDC2080 suitable to be used in battery-powered applications. In these applications, the HDC2080 spends most of the time in sleep mode, with the typical current consumption of 50 nA. While in the active mode, measurement can be configured either to automatic (with the predefined output data rate) or on-demand. In the automatic mode, the measurement is triggered in predefined time intervals, while on-demand measurement happens whenever the I2C command is sent. As soon as the single measurement is finished, the device falls back to the sleep mode.

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 The Temp&Hum 12 Click Board™ is an ideal solution for development of various applications, including battery operated weather stations, thermostats and humidistats, microenvironment centers, respiratory therapy applications, air conditioners, HVAC systems, and other similar applications.
On-board modules HDC2080, a relative humidity and temperature sensor with I²C Interface, by Texas Instruments.
Key Features High accuracy, good linearity, proven reliability, long-term stability, excellent repeatability, programmable interrupt thresholds, a low power consumption, etc.
Interface I2C
Compatibility mikroBUS
Click board size M (42.9 x 25.4 mm)
Input Voltage 3.3V

PINOUT DIAGRAM

This table shows how the pinout of the Temp&Hum 12 Click Board™ corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).

Notes Pin Mikrobus logo.png Pin Notes
NC 1 AN PWM 16 NC
NC 2 RST INT 15 INT Interrupt output
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 NC
Ground GND 8 GND GND 9 GND Ground

TEMP&HUM 12 CLICK ELECTRICAL SPECIFICATIONS

Description Min Typ Max Unit
Temperature Accuracy - +/-0.2 +/-0.4 °C
Humidity Accuracy - +/-2 +/-3 % RH
Operating temperature -40 - 85 °C
Relative Humidity Operating Range 0 - 100 % RH
I2C clock frequency 10 - 400 kHz

ONBOARD SETTINGS AND INDICATORS

Label Name Default Description
LD1 PWR - PWR indication LED

Software Support

We provide a library for the Temp&Hum 12 Click Board™ 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 initializes and defines the I2C bus driver and drivers that offer a choice for writing data in register and read data form register. The library includes function for read Temperature and Relative Humidity data and function for read device ID and the Manufacturer ID. The user also has the function for configuration chip for measurement and read Interrupt (INT pin) state.

Key functions:

Example Description

The application is composed of the three sections :

The full application code, and ready to use projects can be found on our LibStock page.

Other mikroE Libraries used in the example:

Additional Notes and Information

Depending on the development board you are using, you may need USB UART click, 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. The terminal available in all MikroElektronika compilers, or any other terminal application of your choice, can be used to read the message.

MIKROSDK

The Temp&Hum 12 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.

- description_tag: The Temp&Hum 12 Click Board™ is a smart environmental temperature and humidity sensor Click Board™, packed with features that allow easy and simple integration into any design that requires accurate and reliable humidity and temperature measurements. Available from Debug Store UK. - title_tag: MikroE Temp&Hum 12 Click Board™ (MIKROE-3436) - manufacturer: Mikroelektronika d.o.o. - warranty: 12 months - amazon_enable: TRUE - amazon_title: Temp&Hum 12 Click Board - amazon_product_type: computercomponent - amazon_block: FALSE - amazon_prime_enable: FALSE - amazon_search: MikroElektronika Microelectronica MIKROE-1100 - amazon_uk_price: 13.2 - amazon_uk_currency: GBP - amazon_de_currency: EUR - amazon_de_price: 14.916 - amazon_fr_currency: EUR - amazon_fr_price: 14.916 - amazon_es_currency: EUR - amazon_es_price: 14.916 - amazon_nl_currency: EUR - amazon_nl_price: 14.916 - amazon_it_currency: EUR - amazon_it_price: 14.916 - amazon_se_curency: SEK - amazon_se_price: 150.48 - amazon_product_id: 8606018714834 - amazon_product_id_type: EAN - amazon_update: Update - amazon_short_description: The Temp&Hum 12 Click Board™ 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 capacitive-based sensor includes new integrated digital features and a heating element to dissipate condensation and moisture. This translates to a prolonged life of the Click Board™ itself. - amazon_long_description:

The Temp&Hum 12 Click Board™ 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, smart thermostats and smart home assistants. 

How Does The Temp&Hum 12 Click Board Work?

The sensor IC used on the Temp&Hum 12 click is the HDC2080, 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. 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 typical current consumption is about 90mA.

Mikroe Sensors Temp and Hum 12 Click

Internally, two sensors are connected to the two separated ADC sections, 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 HDC2080 datasheet so that the final temperature or relative humidity data can be calculated. It is also possible to correct the offsets with custom values.

HDC2080 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 final I2C address of this IC is already determined by setting ADDR pin to GND (LOW logic level for 0).

Temp&Hum 12 click supports programmable temperature and humidity thresholds in the HDC2080 allow the device to send a hardware interrupt to wake up the microcontroller when necessary. In addition, the power consumption of the HDC2080 is significantly reduced, which helps to minimize self-heating and improve measurement accuracy. More information about these registers can be found in the HDC2080 datasheet.

HDC2080 IC itself is a very low power consumption device and it can work in two modes: sleep and active (measurement) mode. The device enters the sleep the mode as soon as possible, to save power. This makes the HDC2080 suitable to be used in battery-powered applications. In these applications, the HDC2080 spends most of the time in sleep mode, with the typical current consumption of 50 nA. While in the active mode, measurement can be configured either to automatic (with the predefined output data rate) or on-demand. In the automatic mode, the measurement is triggered in predefined time intervals, while on-demand measurement happens whenever the I2C command is sent. As soon as the single measurement is finished, the device falls back to the sleep mode.

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

- amazon_main_image: https://www.thedebugstore.com/images/product/lg-temphum-12-click-3436-front_1.jpg - amazon_other_image_1: https://www.thedebugstore.com/images/product/lg-temphum-12-click-3436-back_1.jpg - amazon_other_image_2: https://www.thedebugstore.com/images/product/lg-temphum-12-click-3436-in-use_1.jpg - amazon_other_image_3: https://www.thedebugstore.com/images/product/lg-temphum-12-click-3436-in-use_1.jpg - amazon_browse_node: 428655031 - mpn: MIKROE-3436 - backorder_label: If no stock shown above, check availability - badge: - widget:

Customer Reviews

Be the first to write a review
0%
(0)
0%
(0)
0%
(0)
0%
(0)
0%
(0)
- condition: new - custom_product: false - mpn: MIKROE-3436 - google_product_category: Electronics - custom_label_0: Click Board - examples:

We provide a library for the Temp&Hum 12 Click Board™ 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 initializes and defines the I2C bus driver and drivers that offer a choice for writing data in register and read data form register. The library includes function for read Temperature and Relative Humidity data and function for read device ID and the Manufacturer ID. The user also has the function for configuration chip for measurement and read Interrupt (INT pin) state.

Key Functions

Example Description

The application is composed of the three sections :

The full application code, and ready to use projects can be found on our LibStock page.

Other mikroE Libraries used in the example:

Additional Notes and Information

Depending on the development board you are using, you may need USB UART click, 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. The terminal available in all MikroElektronika compilers, or any other terminal application of your choice, can be used to read the message.

MIKROSDK

The Temp&Hum 12 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.

- attachments: [{"download_file":[{"download_file":"Temp&Hum 12 Click Board™ Schematic"}],"download_filetype":[{"download_filetype":"pdf"}]},{"download_file":[{"download_file":"Texas Instruments HDC2080 Humidity and Temperature Sensor Datasheet"}],"download_filetype":[{"download_filetype":"pdf"}]}] - device_vendor: Texas Instruments - device_type: HDC2080DMBT - warranty: 12 months - brand: MikroE - key_feature_1: Smart Tempertature and Humidity Sensor - manufacturer: Mikroelektronika d.o.o. - target_keyword: Temp&Hum 12 Click Board - brands: gid://shopify/Metaobject/56256004319 - breadcrumbs: ["gid://shopify/Collection/447955239135","gid://shopify/Collection/241680580797","gid://shopify/Collection/241545969853"] - customhs_code: 847330 - detailed_description: {"type":"root","children":[{"type":"heading","level":3,"children":[{"type":"text","value":"How Does The Temp&Hum 12 Click Board™ Work?"}]},{"type":"paragraph","children":[{"type":"text","value":"The sensor IC used on the"},{"type":"text","value":" Temp&Hum 12 Click Board™","bold":true,"italic":true},{"type":"text","value":" is the HDC2080, 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. 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 typical current consumption is about 90mA."}]},{"type":"paragraph","children":[{"type":"text","value":""}]},{"type":"paragraph","children":[{"type":"text","value":"Internally, two sensors are connected to the two separated ADC sections, 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 HDC2080 datasheet so that the final temperature or relative humidity data can be calculated. It is also possible to correct the offsets with custom values."}]},{"type":"paragraph","children":[{"type":"text","value":"HDC2080 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 final I2C address of this IC is already determined by setting ADDR pin to GND (LOW logic level for 0)."}]},{"type":"paragraph","children":[{"type":"text","value":"The "},{"type":"text","value":" Temp&Hum 12 Click Board™","bold":true},{"type":"text","value":" supports programable temperature and humidity thresholds in the HDC2080 allow the device to send a hardware interrupt to wake up the microcontroller when necessary. In addition, the power consumption of the HDC2080 is significantly reduced, which helps to minimize self-heating and improve measurement accuracy. More information about these registers can be found in the HDC2080 datasheet."}]},{"type":"paragraph","children":[{"type":"text","value":"HDC2080 IC itself is a very low power consumption device and it can work in two modes: sleep and active (measurement) mode. The device enters the sleep the mode as soon as possible, to save power. This makes the HDC2080 suitable to be used in battery-powered applications. In these applications, the HDC2080 spends most of the time in sleep mode, with the typical current consumption of 50 nA. While in the active mode, measurement can be configured either to automatic (with the predefined output data rate) or on-demand. In the automatic mode, the measurement is triggered in predefined time intervals, while on-demand measurement happens whenever the I2C command is sent. As soon as the single measurement is finished, the device falls back to the sleep mode."}]},{"type":"paragraph","children":[{"type":"text","value":"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."}]},{"type":"heading","level":3,"children":[{"type":"text","value":"SPECIFICATIONS"}]},{"type":"paragraph","children":[{"type":"text","value":"Type\nTemperature & humidity\nApplications\nThe Temp&Hum 12 Click Board™ is an ideal solution for development of various applications, including battery operated weather stations, thermostats and humidistats, microenvironment centers, respiratory therapy applications, air conditioners, HVAC systems, and other similar applications.\nOn-board modules\nHDC2080, a relative humidity and temperature sensor with I²C Interface, by Texas Instruments.\nKey Features\nHigh accuracy, good linearity, proven reliability, long-term stability, excellent repeatability, programmable interrupt thresholds, a low power consumption, etc.\nInterface\nI2C\nCompatibility\nmikroBUS\nClick board size\nM (42.9 x 25.4 mm)\nInput Voltage\n3.3V"}]},{"type":"heading","level":3,"children":[{"type":"text","value":"PINOUT DIAGRAM"}]},{"type":"paragraph","children":[{"type":"text","value":"This table shows how the pinout of the "},{"type":"text","value":" Temp&Hum 12 Click Board™","bold":true},{"type":"text","value":" corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns)."}]},{"type":"paragraph","children":[{"type":"text","value":"Notes\nPin\nPin\nNotes\nNC\n1\nAN\nPWM\n16\nNC\nNC\n2\nRST\nINT\n15\nINT\nInterrupt output\nNC\n3\nCS\nRX\n14\nNC\nNC\n4\nSCK\nTX\n13\nNC\nNC\n5\nMISO\nSCL\n12\nSCL\nI2C Clock\nNC\n6\nMOSI\nSDA\n11\nSDA\nI2C Data\nPower Supply\n3.3V\n7\n3.3V\n5V\n10\nNC\nGround\nGND\n8\nGND\nGND\n9\nGND\nGround"}]},{"type":"heading","level":3,"children":[{"type":"text","value":"TEMP&HUM 12 CLICK ELECTRICAL SPECIFICATIONS"}]},{"type":"paragraph","children":[{"type":"text","value":"Description\nMin\nTyp\nMax\nUnit\nTemperature Accuracy\n-\n+/-0.2\n+/-0.4\n°C\nHumidity Accuracy\n-\n+/-2\n+/-3\n% RH\nOperating temperature\n-40\n-\n85\n°C\nRelative Humidity Operating Range\n0\n-\n100\n% RH\nI2C clock frequency\n10\n-\n400\nkHz"}]},{"type":"heading","level":3,"children":[{"type":"text","value":"ONBOARD SETTINGS AND INDICATORS"}]},{"type":"paragraph","children":[{"type":"text","value":"Label\nName\nDefault\nDescription\nLD1\nPWR\n-\nPWR indication LED"}]},{"type":"heading","level":3,"children":[{"type":"text","value":"Software Support"}]},{"type":"paragraph","children":[{"type":"text","value":"We provide a library for the "},{"type":"text","value":" Temp&Hum 12 Click Board™","bold":true},{"type":"text","value":" 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."}]},{"type":"paragraph","children":[{"type":"text","value":"Library Description","bold":true}]},{"type":"paragraph","children":[{"type":"text","value":"The library initializes and defines the I2C bus driver and drivers that offer a choice for writing data in register and read data form register. The library includes function for read Temperature and Relative Humidity data and function for read device ID and the Manufacturer ID. The user also has the function for configuration chip for measurement and read Interrupt (INT pin) state."}]},{"type":"paragraph","children":[{"type":"text","value":"Key functions:"}]},{"type":"list","listType":"unordered","children":[{"type":"list-item","children":[{"type":"text","value":"float temphum12_getTemperature(uint8_t tempIn)"},{"type":"text","value":" - Temperature data"}]},{"type":"list-item","children":[{"type":"text","value":"float temphum12_getHumidity()"},{"type":"text","value":" - Relative Huminidy data"}]}]},{"type":"paragraph","children":[{"type":"text","value":"Example Description","bold":true}]},{"type":"paragraph","children":[{"type":"text","value":"The application is composed of the three sections :"}]},{"type":"list","listType":"unordered","children":[{"type":"list-item","children":[{"type":"text","value":"System Initialization - Initialization I2C module and sets INT pin as INPUT."}]},{"type":"list-item","children":[{"type":"text","value":"Application Initialization - Initializes driver init, test communication and configuration device for measurement."}]},{"type":"list-item","children":[{"type":"text","value":"Application Task - Reads Temperature and Humidity data and this data logs to the USBUART every 1 sec. "},{"type":"text","value":"void applicationTask(){ float Temperature; float Humidity; char demoText[ 50 ] = {0}; Temperature = temphum12_getTemperature(_TEMPHUM12_TEMP_IN_CELSIUS); FloatToStr(Temperature, demoText); mikrobus_logWrite(\" Temperature : \", _LOG_TEXT); mikrobus_logWrite(demoText, _LOG_LINE); Delay_1sec(); Humidity = temphum12_getHumidity(); FloatToStr(Humidity, demoText); mikrobus_logWrite(\" Humidity : \", _LOG_TEXT); mikrobus_logWrite(demoText, _LOG_LINE); mikrobus_logWrite(\"-------------------------\", _LOG_LINE); Delay_1sec();}"},{"type":"text","value":" "}]}]},{"type":"paragraph","children":[{"type":"text","value":"The full application code, and ready to use projects can be found on our LibStock page."}]},{"type":"paragraph","children":[{"type":"text","value":"Other mikroE Libraries used in the example:"}]},{"type":"list","listType":"unordered","children":[{"type":"list-item","children":[{"type":"text","value":"I2C"}]},{"type":"list-item","children":[{"type":"text","value":"UART"}]},{"type":"list-item","children":[{"type":"text","value":"Conversions"}]}]},{"type":"paragraph","children":[{"type":"text","value":"Additional Notes and Information","bold":true}]},{"type":"paragraph","children":[{"type":"text","value":"Depending on the development board you are using, you may need USB UART click, 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. The terminal available in all MikroElektronika compilers, or any other terminal application of your choice, can be used to read the message."}]},{"type":"heading","level":3,"children":[{"type":"text","value":"MIKROSDK"}]},{"type":"paragraph","children":[{"type":"text","value":"The "},{"type":"text","value":" Temp&Hum 12 Click Board™","bold":true},{"type":"text","value":" 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."}]}]} - summary:

The Temp&Hum 12 Click Board™ is a smart environmental temperature and humidity sensor Click Board™, packed with features that allow easy and simple integration into any design that requires accurate and reliable humidity and temperature measurements. The capacitive-based sensor includes new integrated digital features and a heating element to dissipate condensation and moisture. This translates to prolonged life of the Click Board™ itself.