Description:
The SHT31-D sensor has excellent ±2% relative humidity and ±0.3°C accuracy for most applications.
Unlike previous SHT sensors, this sensor has a true I2C interface and even two address options. It is also 3V or 5V compatible, so you can operate and communicate with almost any microcontroller or microcomputer.
Power supply pins:
Vin - this is the power pin. The chip can use 2.5-5VDC for power supply. To power the board, give it the same voltage as the logic level of your microcontroller - e.g. for a 5V microcontroller as for Arduino, use 5V. For a 3.3 V controller such as a Raspbery Pi, connect to 3.3 V GND - common ground for power and logic
SCL - I2C clock pin, connect it to the I2C clock line of your microcontroller. This pin has a 10K pullup resistor against Vin
SDA - I2C data pin, connect to the I2C data line of the microcontroller. This pin has a 10K pull up resistor to Vin
ADR - This is the I2C address dial pin. This pin has a 10K pull down resistor to set the default I2C address 0x44. You can connect this pin to Vin to set the address 0x45.
RST - Hardware Reset Pin Has a 10K pull-up resistor to make the chip active by default. Connect it to ground to perform a hardware reset!
ALR - Alarm/Interrupt Output You can set up the sensor to alert you when an event has occurred. Refer to the data sheet to set up the alerts.