sht 2.0.0.0
|
SHT click is a temperature and humidity sensing click board that carries Sensiron’s SHT3x-DIS IC. Compared to its predecessor (SHT11), SHT3x click has increased reliability and enhanced signal processing features with a high signal-to-noise ratio.
We provide a library for the Sht 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 form compilers IDE(recommended way), or downloaded from our LibStock, or found on mikroE github account.
This library contains API for Sht Click driver.
sht_cfg_setup
Config Object Initialization function. sht_init
Initialization function. sht_temp_ss
Returns temperature measurement in single shot mode. sht_hum_ss
Returns humidity measurement in single shot mode. sht_heater_control
Sets the heater state. This application enables usage of the temperature and humidity sensor.
The demo application is composed of two sections :
Initialize the communication interface and configure the click board.
Temperature and humidity data is measured and read from the sensor. After the data has been read it is displayed on the serial port.
The full application code, and ready to use projects can be installed directly form compilers IDE(recommneded) or found on LibStock page or mikroE GitHub accaunt.
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. The terminal available in all Mikroelektronika compilers, or any other terminal application of your choice, can be used to read the message.