Reference
Library
Download and install the SHT3X Library. (About how to install the library?)
Communication Protocol Description
The sensor supports I2C communication.
API Description
/**
* @brief Get the measured temperature (in degrees Celsius).
* @return Return the temperature data of float type.
*/
float getTemperatureC();
/**
* @brief Get the measured temperature (in degrees Fahrenheit).
* @return Return the temperature data of float type.
*/
float getTemperatureF();
/**
* @brief Get measured humidity(%RH).
* @return Return the humidity data of float type.
*/
float getHumidityRH();
Other Supplementary Information
Although the temperature measurement range of the sensor is - 40 ~ 125 ℃, we recommend not to place the sensor at a temperature higher than 80 ℃ since its shell is made of PE material.
Please note that although the sensor is waterproof, it is not suggested to submerge it in water. For in-water measurement, DS18B20 Sensor is highly recommended.
Was this article helpful?
