temphum15 2.0.0.0
|
Temp&Hum 15 Click is a compact add-on board that contains the 4th generation of best-in-class SHT humidity sensing solution from Sensirion. This board features the SHT40, a high-accuracy ultra-low-power 16-bit relative humidity, and temperature sensor.
We provide a library for the TempHum15 Click as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.
Package can be downloaded/installed directly from NECTO Studio Package Manager(recommended way), downloaded from our LibStock™ or found on mikroE github account.
This library contains API for TempHum15 Click driver.
temphum15_cfg_setup
Config Object Initialization function. temphum15_init
Initialization function. temphum15_default_cfg
Click Default Configuration function. temphum15_get_temp_and_hum
This function reads temperature and humidity with the power consumption based on the precision mode selected. temphum15_soft_reset
This function sends soft reset command to the sensor. temphum15_read_serial
This function reads unique serial number of the sensor. This demo app represents the performance of the Temp&Hum 15 click board. The log displays the temperature and humidity obtained from the sensor.
The demo application is composed of two sections :
Initialization of UART LOG and I2C drivers. The application also performs reset upon init.
Temperature and humidity data are being acquired every two seconds. If the acquisition fails, LOG states that no data is available.
The full application code, and ready to use projects can be installed directly from NECTO Studio Package Manager(recommended way), downloaded from our LibStock™ or found on mikroE github account.
Other mikroE Libraries used in the example:
Additional notes and informations
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. UART terminal is available in all Mikroelektronika compilers.