SKU:SEN0385
Introduction
This is a SHT31 Temperature &
Humidity sensor housed in a
weather-proof enclosure. The
sensor is designed to be waterproof so you can use it safely in outdoor projects. 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.
Thanks to Sensirion’s CMOSens® technology, highly integrated capacitive humidity sensing
components and band-gap temperature sensing components, the SHT31 offers high reliability
and long-term stability with low power consumption, fast response and strong anti-interference
ability. The sensor supports I2C communication, and is compatible with 3.3V/5V controllers like
Arduino, micro:bit, ESP32.
SHT31 is the standard version of the SHT3x series. It provides humidity accuracy ± 2%RH@0%
RH~100% RH (at 25°C), and temperature accuracy±0.2°C@ 0°C ~90°C (typical).
Specification
•
•
•
•
Operating Voltage: 3.3~5V
Operating Current: 10000 && millis() < 10200){
/**
* stopPeriodicMode() Exit from the cycle read data
* @return Read the status of the register to determine whether the command
was executed successfully,
* and return true indicates success.
*/
sht3x.stopPeriodicMode();
Serial.println("Exited from
measurement mode");
}
/**
* readTemperatureAndHumidity
measurement mode and use structures
* @return Return a structure
temperature (°F), relative humidity
* @n A status of 0 indicates
the cycle measurement mode, enter the single
Get temperature and humidity data in cycle
to receive data
containing celsius temperature (°C), Fahrenheit
(%RH), status code.
that the right return data.
DFRobot_SHT3x::sRHAndTemp_t data = sht3x.readTemperatureAndHumidity();
if(data.ERR == 0){
Serial.print("ambient temperature(°C/F):");
Serial.print(data.TemperatureC);
Serial.print("C/");
Serial.print(data.TemperatureF);
Serial.print("F");
Serial.print("relative humidity(%RH):");
Serial.print(data.Humidity);
Serial.println("%RH");
}
*/
}
Result 2
Serial print the temperature and humidity information in period measurement mode for 10s, then
exit from this mode and enter single measurement mode, and print the information.
FAQ
For any questions, advice or cool ideas to share, please visit the DFRobot Forum.
More Documents
•
•
SHT3x Datasheet
SHT3x Instruction
https://wiki.dfrobot.com/SHT31_Temperature_Humidity_Sensor_Weatherproof_SKU_SEN0385/12-21-20
很抱歉,暂时无法提供与“SEN0385”相匹配的价格&库存,您可以联系我们找货
免费人工找货- 国内价格
- 1+138.58849
- 5+136.87752
- 国内价格 香港价格
- 1+168.017651+20.84252