# Adafruit SHT31-D Temperature & Humidity Sensor Breakout

## Overview

![](https://cdn-learn.adafruit.com/assets/assets/000/101/414/medium800/adafruit_products_SHT31_top_angle.jpg?1618416459)

Sensirion&nbsp;Temperature/Humidity sensors are some of the finest & highest-accuracy devices you can get. And, _finally_ we have some that have a true I2C interface for easy reading. The **SHT31-D** sensor has an excellent ±2% relative humidity and ±0.3°C accuracy for most uses.

![](https://cdn-learn.adafruit.com/assets/assets/000/101/415/medium800/adafruit_products_SHT31_top.jpg?1618416471)

Unlike earlier SHT sensors, this sensor has a _true_ I2C interface, with two address options. It also is 3V or 5V compliant, so you can power and communicate with it using any microcontroller or microcomputer.

![](https://cdn-learn.adafruit.com/assets/assets/000/101/416/medium800/adafruit_products_SHT31_STEMMA_side.jpg?1618416482)

To get you going fast, we spun up a custom made PCB with the SHT31-D and some supporting circuitry such as pullup resistors and capacitors, in the[**STEMMA QT** form factor](https://www.adafruit.com/?q=stemma%20qt%20sensor "STEMMA QT form factor"), making them easy to interface with. The [STEMMA QT connectors](https://learn.adafruit.com/introducing-adafruit-stemma-qt/what-is-stemma-qt) on either side are compatible with the [SparkFun Qwiic](https://www.sparkfun.com/qwiic) I2C connectors. This allows you to make solderless connections between your development board and the SHT31-D or to chain them with a wide range of other sensors and accessories using a [**compatible cable**](https://www.adafruit.com/?q=stemma%20qt%20cable). [QT Cable is not included, but we have a variety in the shop](https://www.adafruit.com/?q=stemma+qt+cable&sort=BestMatch).

![](https://cdn-learn.adafruit.com/assets/assets/000/101/417/medium800/adafruit_products_SHT31_back.jpg?1618416494)

Each order comes with one fully assembled and tested PCB breakout and a small piece of header.

Info: 

![](https://cdn-learn.adafruit.com/assets/assets/000/028/971/medium800/adafruit_products_2857_kit_ORIG.jpg?1449606386)

# Adafruit SHT31-D Temperature & Humidity Sensor Breakout

## Pinouts

The SHT31-D is a I2C sensor. That means it uses the two I2C data/clock wires available on most microcontrollers, and can share those pins with other sensors as long as they don't have an address collision. For future reference, the default I2C address is **0x44** and you can also select address **0x45** by connecting the **ADDR** pin to a high voltage signal.

![](https://cdn-learn.adafruit.com/assets/assets/000/101/419/medium800/adafruit_products_SHT31_pinouts.jpg?1618419579)

![](https://cdn-learn.adafruit.com/assets/assets/000/028/974/medium800/adafruit_products_2857_top_ORIG.jpg?1449606682)

## Power Pins:

- **Vin** - this is the power pin. The chip can use 2.5-5VDC for power. To power the board, give it the same power as the logic level of your microcontroller - e.g. for a 5V micro like Arduino, use 5V. For a 3.3V controller like a Raspbery Pi, connect to 3.3V
- **GND** - common ground for power and logic

## I2C Logic pins:

- **SCL** - I2C clock pin, connect to your microcontrollers I2C clock line. This pin has a 10K pullup resistor to Vin
- **SDA** - I2C data pin, connect to your microcontrollers I2C data line. This pin has a 10K pullup resistor to Vin
- **[STEMMA QT](https://learn.adafruit.com/introducing-adafruit-stemma-qt)&nbsp;-** These connectors allow you to connect to development boards with **STEMMA QT** connectors, or to other things, with [various associated accessories](https://www.adafruit.com/?q=JST%20SH%204).

## Other Pins:

- **ADR** - This is the I2C address selection pin. This pin has a 10K pull down resistor to make the default I2C address&nbsp; **0x44**. You can tie this pin to Vin to make the address&nbsp; **0x45.**
- **RST** - Hardware reset pint. Has a 10K pullup on it to make the chip active by default. Connect to ground to do a hardware reset!
- **ALR** - Alert/Interrupt output. You can set up the sensor to alert you when an event has occurred. Check the datasheet for how you can set up the alerts

## Changing the I2C Address

The default I2C address is 0x44. You can change a sensor to use 0x45 by tying the **ADR** pin to Vin.

Thus two sensors can be used on one I2C bus with those addresses. If you need more sensors, look at the guide below.

### Working with I2C Devices - Overview

[Working with I2C Devices](https://learn.adafruit.com/working-with-i2c-devices)
[Overview](https://learn.adafruit.com/working-with-i2c-devices/overview)
# Adafruit SHT31-D Temperature & Humidity Sensor Breakout

## Assembly

![](https://cdn-learn.adafruit.com/assets/assets/000/028/975/medium800/adafruit_products_2857_kit_ORIG.jpg?1449607941)

## Prepare the header strip:

Cut the strip to length if necessary. It will be easier to solder if you insert it into a breadboard - **long pins down**

![adafruit_products_header.jpg](https://cdn-learn.adafruit.com/assets/assets/000/028/976/medium640/adafruit_products_header.jpg?1449607946)

## Add the breakout board:

Place the breakout board over the pins so that the short pins poke through the breakout pads

![adafruit_products_place.jpg](https://cdn-learn.adafruit.com/assets/assets/000/028/977/medium640/adafruit_products_place.jpg?1449607956)

## And Solder!

Be sure to solder all pins for reliable electrical contact.  
  
_(For tips on soldering, be sure to check out our_ [_Guide to Excellent Soldering_](http://learn.adafruit.com/adafruit-guide-excellent-soldering)_)._

![adafruit_products_solder1.jpg](https://cdn-learn.adafruit.com/assets/assets/000/028/978/medium640/adafruit_products_solder1.jpg?1449607967)

![adafruit_products_solder2.jpg](https://cdn-learn.adafruit.com/assets/assets/000/028/979/medium640/adafruit_products_solder2.jpg?1449607971)

You're done! Check your solder joints visually and continue onto the next steps

![adafruit_products_done.jpg](https://cdn-learn.adafruit.com/assets/assets/000/028/980/medium640/adafruit_products_done.jpg?1449607983)

# Adafruit SHT31-D Temperature & Humidity Sensor Breakout

## Arduino Code

You can easily wire this breakout to any microcontroller, we'll be using an Arduino. For another kind of microcontroller, just make sure it has I2C, then port the code - its pretty simple stuff!

- Connect **Vin** to the power supply, 3-5V is fine.&nbsp;**(red wire on STEMMA QT version)** Use the same voltage that the microcontroller logic is based off of. For most Arduinos, that is 5V
- Connect **GND** to common power/data ground **(black wire on STEMMA QT version)**
- Connect the **SCL** pin to the I2C clock **SCL** pin on your Arduino.&nbsp;**(yellow wire on STEMMA QT version)** On an UNO & '328 based Arduino, this is also known as **A5** , on a Mega it is also known as **digital 21** and on a Leonardo/Micro, **digital 3**
- Connect the **SDA** pin to the I2C data **SDA** pin on your Arduino.&nbsp;**(blue wire on STEMMA QT version)** On an UNO & '328 based Arduino, this is also known as **A4** , on a Mega it is also known as **digital 20** and on a Leonardo/Micro, **digital 2**

![adafruit_products_wiring.jpg](https://cdn-learn.adafruit.com/assets/assets/000/028/986/medium640/adafruit_products_wiring.jpg?1449613964)

![adafruit_products_SHT31_arduino_breadboard_bb.jpg](https://cdn-learn.adafruit.com/assets/assets/000/101/427/medium640/adafruit_products_SHT31_arduino_breadboard_bb.jpg?1618427020)

![adafruit_products_SHT31_arduino_STEMMA_bb.jpg](https://cdn-learn.adafruit.com/assets/assets/000/101/428/medium640/adafruit_products_SHT31_arduino_STEMMA_bb.jpg?1618427037)

The SHT31-D has a default I2C address of **0x44** which you can change to&nbsp; **0x45** by connecting the **ADR** pin to the **VIN** pin

# Download Adafruit\_SHT31

To begin reading sensor data, you will need to download the&nbsp; **Adafruit SHT31&nbsp;** library from the Arduino library manager.

Open up the Arduino library manager:

![](https://cdn-learn.adafruit.com/assets/assets/000/084/400/medium800/adafruit_products_1library_manager_menu.png?1573955394)

Search for the&nbsp; **Adafruit SHT31&nbsp;** library and install it

![](https://cdn-learn.adafruit.com/assets/assets/000/084/401/medium800/adafruit_products_sht31.png?1573955415)

We also have a great tutorial on Arduino library installation at:  
[http://learn.adafruit.com/adafruit-all-about-arduino-libraries-install-use](http://learn.adafruit.com/adafruit-all-about-arduino-libraries-install-use "Link: http://learn.adafruit.com/adafruit-all-about-arduino-libraries-install-use")

# Load Demo

Open up **File-\>Examples-\>Adafruit\_SHT31**** -\>SHT31test** and upload to your Arduino wired up to the sensor

![](https://cdn-learn.adafruit.com/assets/assets/000/028/984/medium800/adafruit_products_demolib.png?1449612335)

Thats it! Now open up the serial terminal window at 9600 speed to begin the test.

![](https://cdn-learn.adafruit.com/assets/assets/000/028/985/medium800/adafruit_products_testrun.png?1449612350)

You can try breathing on the sensor to increase the humidity. The sensor reacts very fast!

# Library Reference

The library we have is simple and easy to use  
  
You can create the **Adafruit\_SHT31** object with:

```
Adafruit_SHT31 sht31 = Adafruit_SHT31();
```

There are no pins to set since you must use the I2C bus!  
  
Then initialize the sensor with:

```
sht31.begin(0x44)
```

This function returns **True** if the sensor was found and responded correctly and **False** if it was not found

The **0x44** is the i2c address you have the sensor set up for. By default its 0x44, you can also adjust the sensor for **0x45** and then pass that value in

Once initialized, you can query the temperature in °C with

```
sht31.readTemperature()
```

Which will return floating point (decimal + fractional) temperature. You can convert to Fahrenheit by multiplying by 1.8 and adding 32 as you have learned in grade school!  
  
Reading the humidity is equally simple. Call

```
sht31.readHumidity()
```

to read the humidity also as a floating point value between 0 and 100 (this reads % humidity)

We also have a few helper functions. Want to soft-reset the sensor? Use

```
sht31.reset()
```

There's also a heater built into the sensor, used to heat/evaporate any condensation. You can turn it on or off with

```
sht31.heater(true)
sht31.heater(false)
```

# Adafruit SHT31-D Temperature & Humidity Sensor Breakout

## Python & CircuitPython

It's easy to use the SHT31-D sensor with Python and CircuitPython, and the&nbsp;[Adafruit CircuitPython SHT31D](https://github.com/adafruit/Adafruit_CircuitPython_SHT31D)&nbsp;module.&nbsp; This module allows you to easily write Python code that reads the humidity and temperature from the sensor.

You can use this sensor with any CircuitPython microcontroller board or with a computer that has GPIO and Python [thanks to Adafruit\_Blinka, our CircuitPython-for-Python compatibility library](https://learn.adafruit.com/circuitpython-on-raspberrypi-linux).

# CircuitPython Microcontroller Wiring

First wire up a SHT31-D to your board exactly as shown on the previous pages for Arduino using an I2C connection.&nbsp; Here's an example of wiring a Feather M0 to the sensor with I2C:

- **Board 3V** &nbsp;to&nbsp;**sensor VIN (red wire on STEMMA QT version)**  
- **Board GND** &nbsp;to&nbsp;**sensor GND (black wire on STEMMA QT version)**  
- **Board SCL** &nbsp;to&nbsp;**sensor SCL (yellow wire on STEMMA QT version)**  
- **Board SDA** &nbsp;to&nbsp;**sensor SDA (blue wire on STEMMA QT version)**  

![adafruit_products_m0_sht31_bb.png](https://cdn-learn.adafruit.com/assets/assets/000/051/263/medium640/adafruit_products_m0_sht31_bb.png?1533842958)

![adafruit_products_SHT31_Feather_STEMMA_bb.jpg](https://cdn-learn.adafruit.com/assets/assets/000/101/429/medium640/adafruit_products_SHT31_Feather_STEMMA_bb.jpg?1618427157)

![adafruit_products_SHT31_Feather_breadboard_bb.jpg](https://cdn-learn.adafruit.com/assets/assets/000/101/430/medium640/adafruit_products_SHT31_Feather_breadboard_bb.jpg?1618427170)

# Python Computer Wiring

Since there's _dozens_ of Linux computers/boards you can use we will show wiring for Raspberry Pi. For other platforms, [please visit the guide for CircuitPython on Linux to see whether your platform is supported](https://learn.adafruit.com/circuitpython-on-raspberrypi-linux).&nbsp;

Here's the Raspberry Pi wired with I2C:

- **Pi 3V3** to **sensor VIN (red wire on STEMMA QT version)**  
- **Pi GND** to **sensor GND (black wire on STEMMA QT version)**  
- **Pi SCL** to **sensor SCL (yellow wire on STEMMA QT version)**  
- **Pi SDA** to **sensor SDA (blue wire on STEMMA QT version)**  

![adafruit_products_raspi_sht31d_i2c.jpg](https://cdn-learn.adafruit.com/assets/assets/000/058/803/medium640/adafruit_products_raspi_sht31d_i2c.jpg?1533843594)

![adafruit_products_SHT31_RasPi_breadboard_bb.jpg](https://cdn-learn.adafruit.com/assets/assets/000/101/432/medium640/adafruit_products_SHT31_RasPi_breadboard_bb.jpg?1618427246)

![adafruit_products_Untitled.png](https://cdn-learn.adafruit.com/assets/assets/000/131/163/medium640/adafruit_products_Untitled.png?1720643029)

## Enabling I2C on Raspberry Pi

The I2C pins may not be enabled by default on thge Raspberry Pi. No worries, there are simple instructions to do this using&nbsp;`raspi-config`.

Click the button below for a link to the page describing how to do this.

### Adafruit's Raspberry Pi Lesson 4. GPIO Setup - Configuring I2C

[Adafruit's Raspberry Pi Lesson 4. GPIO Setup](https://learn.adafruit.com/adafruits-raspberry-pi-lesson-4-gpio-setup)
[Configuring I2C](https://learn.adafruit.com/adafruits-raspberry-pi-lesson-4-gpio-setup/configuring-i2c)
## Enabling I2C on Other Single Board Computers

Please refer to the manufacturer's documentation on enabling I2C, as different boards seem to have different instructions on how to do so.

# CircuitPython Installation of SHT31D Library

Next you'll need to install the&nbsp;[Adafruit CircuitPython SHT31D](https://github.com/adafruit/Adafruit_CircuitPython_SHT31D)&nbsp;library on your CircuitPython board.&nbsp;&nbsp;

First make sure you are running the&nbsp;[latest version of Adafruit CircuitPython](../../../../welcome-to-circuitpython/installing-circuitpython)&nbsp;for your board.

Next you'll need to install the necessary libraries&nbsp;to use the hardware--carefully follow the steps to find and install these libraries from&nbsp;[Adafruit's CircuitPython library bundle](https://github.com/adafruit/Adafruit_CircuitPython_Bundle).&nbsp; Our introduction guide has&nbsp;[a great page on how to install the library bundle](../../../../welcome-to-circuitpython/circuitpython-libraries)&nbsp;for both express and non-express boards.

Remember for non-express boards like the, you'll need to manually install the necessary libraries from the bundle:

- **adafruit\_sht31d.mpy**
- **adafruit\_bus\_device**

Before continuing make sure your board's lib folder or root filesystem has the&nbsp; **adafruit\_sht31d.mpy,&nbsp;** and **&nbsp;adafruit\_bus\_device**** &nbsp; **files and folders** &nbsp;**copied over.

Next&nbsp;[connect to the board's serial REPL&nbsp;](../../../../welcome-to-circuitpython/the-repl)so you are at the CircuitPython&nbsp; **\>\>\>** &nbsp;prompt.

# Python Installation of SHT31D Library

You'll need to install the Adafruit\_Blinka library that provides the CircuitPython support in Python. This may also require enabling I2C on your platform and verifying you are running Python 3. [Since each platform is a little different, and Linux changes often, please visit the CircuitPython on Linux guide to get your computer ready](https://learn.adafruit.com/circuitpython-on-raspberrypi-linux)!

Once that's done, from your command line run the following command:

- `sudo pip3 install adafruit-circuitpython-sht31d`

If your default Python is version 3 you may need to run 'pip' instead. Just make sure you aren't trying to use CircuitPython on Python 2.x, it isn't supported!

# CircuitPython and Python Usage

To demonstrate the usage of the sensor we'll initialize it and read the humidity and temperature from the board's Python REPL.

Run the following code to import the necessary modules and initialize the I2C connection with the sensor:

```
import board
import busio
import adafruit_sht31d
i2c = busio.I2C(board.SCL, board.SDA)
sensor = adafruit_sht31d.SHT31D(i2c)
```

Now you're ready to read values from the sensor using any of these properties:

- **relative\_humidity** &nbsp;- The relative humidity measured by the sensor, this is a value from 0-100%.
- **temperature&nbsp;** - The temperature measured by the sensor, a value in degrees Celsius.

```
print('Humidity: {0}%'.format(sensor.relative_humidity))
print('Temperature: {0}C'.format(sensor.temperature))
```

![](https://cdn-learn.adafruit.com/assets/assets/000/051/268/medium800/adafruit_products_Screen_Shot_2018-02-23_at_3.44.51_PM.png?1519429506)

That's all there is to using the SHT31D with Python and CircuitPython!

Below is a complete example that measures the sensor readings and prints them every two seconds.&nbsp; Save this as **code.py** on your board and open the REPL to see the output.

https://github.com/adafruit/Adafruit_CircuitPython_SHT31D/blob/main/examples/sht31d_simpletest.py

Info: A user noted that for a Raspberry Pi Pico, which has multiple I2C interfaces, might better use i2c = busio.I2C(scl=board.GP1, sda=board.GP0). If having Pico issues, try this.

# Adafruit SHT31-D Temperature & Humidity Sensor Breakout

## Python Docs

# Adafruit SHT31-D Temperature & Humidity Sensor Breakout

## WipperSnapper

![](https://cdn-learn.adafruit.com/assets/assets/000/124/179/medium800/adafruit_products_3sNWmMIA2l.png?1693570698)

## What is WipperSnapper

WipperSnapper is a firmware designed to turn any WiFi-capable board into an Internet-of-Things device without programming a single line of code. WipperSnapper connects to [Adafruit IO](https://io.adafruit.com/), a web&nbsp;platform designed ([by Adafruit!](https://www.adafruit.com/about)) to&nbsp;_display_,&nbsp;_respond_, and&nbsp;_interact_&nbsp;with your project's data.

Simply load the WipperSnapper firmware onto your board, add credentials, and plug it into power. Your board will automatically register itself with your Adafruit IO account.

From there, you can add&nbsp;_components_&nbsp;to your board such as buttons, switches, potentiometers, sensors, and more! Components are&nbsp;_dynamically&nbsp;_added to hardware, so you can&nbsp;immediately start interacting, logging, and streaming the data your projects produce without writing code.

If you've never used WipperSnapper, click below to read through the quick start guide before continuing.

[Quickstart: Adafruit IO WipperSnapper](https://learn.adafruit.com/quickstart-adafruit-io-wippersnapper)
## Wiring
First, wire up an SHT31-D or SHT30 ( **SHT3x** ) to your board exactly as follows. Here is an example of the SHT31-D wired to an&nbsp;[Adafruit ESP32 Feather V2](https://www.adafruit.com/product/5400)&nbsp;using I2C&nbsp;[with a STEMMA QT cable (no soldering required)](https://www.adafruit.com/product/4210)

- **Board 3V** &nbsp;to&nbsp;**sensor VIN (red wire on STEMMA QT)**  
- **Board GND** &nbsp;to&nbsp;**sensor GND (black wire on STEMMA QT)**  
- **Board SCL** &nbsp;to&nbsp;**sensor SCL (yellow wire on STEMMA QT)**  
- **Board SDA** &nbsp;to&nbsp;**sensor SDA (blue wire on STEMMA QT)**

![adafruit_products_featherV2_SHT31-D_bb.png](https://cdn-learn.adafruit.com/assets/assets/000/124/519/medium640/adafruit_products_featherV2_SHT31-D_bb.png?1695129666)

![adafruit_products_featherV2_SHT31-D_Breadboard_bb.png](https://cdn-learn.adafruit.com/assets/assets/000/124/520/medium640/adafruit_products_featherV2_SHT31-D_Breadboard_bb.png?1695129714)

## Usage

Connect your board to Adafruit IO Wippersnapper and **[navigate to the WipperSnapper board list](https://io.adafruit.com/wippersnapper).**

On this page, **select the WipperSnapper board you're using** to be brought to the board's interface page.

![](https://cdn-learn.adafruit.com/assets/assets/000/124/524/medium800/adafruit_products_02_DeviceSelection.png?1695130951)

If you do not see your board listed here - you need [to connect your board to Adafruit IO](https://learn.adafruit.com/quickstart-adafruit-io-wippersnapper) first.

On the device page, quickly&nbsp; **check that you're running the latest version of the WipperSnapper firmware**.

The device tile on the left indicates the version number of the firmware running on the connected board.

- **If the firmware version is green with a checkmark -** &nbsp;continue with this guide.
- **If the firmware version is red with an exclamation mark "!" -** &nbsp;[update to the latest WipperSnapper firmware](https://learn.adafruit.com/quickstart-adafruit-io-wippersnapper)&nbsp;on your board before continuing.

![adafruit_products_04_LatestVersion.png](https://cdn-learn.adafruit.com/assets/assets/000/124/527/medium640/adafruit_products_04_LatestVersion.png?1695131161)

![adafruit_products_04_UpdateRequired.png](https://cdn-learn.adafruit.com/assets/assets/000/124/528/medium640/adafruit_products_04_UpdateRequired.png?1695131175)

Next, make sure the sensor is plugged into your board and click the **&nbsp;I2C Scan&nbsp;** button.

![](https://cdn-learn.adafruit.com/assets/assets/000/113/177/medium800/sensor_page_crop_scan.png?1657724520)

You should see the SHT3x's default I2C address of `0x44`&nbsp;pop-up in the I2C scan list.

![](https://cdn-learn.adafruit.com/assets/assets/000/124/532/medium800/adafruit_products_I2C_0x44.png?1695131318)

###  I don't see the sensor's I2C address listed! 


First, double-check the connection and/or wiring between the sensor and the board.

Then, reset the board and let it re-connect to Adafruit IO WipperSnapper.

With the sensor detected in an I2C scan, you're ready to add the sensor to your board.

**Click the New Component button or the + button** to bring up the component picker.

![](https://cdn-learn.adafruit.com/assets/assets/000/127/931/medium800/sensor_page_temperature___humidity_06_AddComponent.png?1708631009)

Adafruit IO supports a large amount of components. To quickly find your sensor, type&nbsp;`SHT3`&nbsp;into the search bar, then select the matching **SHT30/SHT3x** &nbsp;component.

For the SHT31-D select the&nbsp; **SHT3x&nbsp;** (which supports all of the Sensirion SHT3x series, i.e. SHT30/31/35) from the component picker.

![](https://cdn-learn.adafruit.com/assets/assets/000/128/330/medium800/adafruit_products_vycSqyx38W.png?1709231962)

On the component configuration page, the SHT3x's sensor address should be listed along with the sensor's settings.

The&nbsp; **Send Every** &nbsp;option is specific to each sensor's measurements. This option will tell the Feather how often it should read from the SHT3x sensor and send the data to Adafruit IO. Measurements can range from every 30 seconds to every 24 hours.

For this example, set the&nbsp; **Send Every&nbsp;** interval to every 30 seconds.

![](https://cdn-learn.adafruit.com/assets/assets/000/124/536/medium800/adafruit_products_Screenshot_2023-09-19_141435.png?1695131490)

Your device interface should now show the sensor components you created. After the interval you configured elapses, WipperSnapper will automatically read values from the sensor(s) and send them to Adafruit IO.

![](https://cdn-learn.adafruit.com/assets/assets/000/124/537/medium800/adafruit_products_feeds.png?1695131504)

To view the data that has been logged from the sensor, click on the graph next to the sensor name.

![](https://cdn-learn.adafruit.com/assets/assets/000/124/538/medium800/adafruit_products_feeds_arrow.png?1695131515)

Here you can see the feed history and edit things about the feed such as the name, privacy, webhooks associated with the feed and more. If you want to learn more about how feeds work, [check out this page](https://learn.adafruit.com/all-the-internet-of-things-episode-four-adafruit-io/advanced-feeds).

![](https://cdn-learn.adafruit.com/assets/assets/000/124/539/medium800/adafruit_products_graph.png?1695131598)

# Adafruit SHT31-D Temperature & Humidity Sensor Breakout

## Downloads

# Datasheets & Files

- [SHT31-DIS datasheet](http://adafruit.com/images/product-files/2857/Sensirion_Humidity_SHT3x_Datasheet_digital-767294.pdf)
- [EagleCAD PCB Files on GitHub](https://github.com/adafruit/Adafruit-SHT31-Sensor-Breakout-PCB)
- [3D models on GitHub](https://github.com/adafruit/Adafruit_CAD_Parts/tree/main/2857%20SHT31-D)
- [Fritzing object available in the Adafruit Fritzing Library](https://github.com/adafruit/Fritzing-Library/blob/master/parts/Adafruit%20SHT31-D.fzpz)

# Schematic and Fab Print - STEMMA QT Version
![](https://cdn-learn.adafruit.com/assets/assets/000/101/420/medium800/adafruit_products_SHT31_sch.png?1618422202)

![](https://cdn-learn.adafruit.com/assets/assets/000/101/421/medium800/adafruit_products_SHT31_fab_print.png?1618422212 Dimensions are in inches.)

## 3D Model
![](https://cdn-learn.adafruit.com/assets/assets/000/116/726/medium800thumb/adafruit_products_SHT31-D.jpg?1668624122)

# Schematic and Fab Print - Original version

Click to enlarge

![](https://cdn-learn.adafruit.com/assets/assets/000/028/982/medium800/adafruit_products_schem.png?1449608337)

![](https://cdn-learn.adafruit.com/assets/assets/000/028/983/medium800/adafruit_products_fabprint.png?1449608342 Dimensions are in inches.)


## Featured Products

### Adafruit Sensirion SHT31-D

[Adafruit Sensirion SHT31-D](https://www.adafruit.com/product/2857)
Sensirion Temperature/Humidity sensors are some of the finest & highest-accuracy devices you can get. And,&nbsp;finally&nbsp;we have some that have a true I2C interface for easy reading. The **SHT31-D** &nbsp;sensor has an excellent ±2% relative humidity and...

Out of Stock
[Buy Now](https://www.adafruit.com/product/2857)
[Related Guides to the Product](https://learn.adafruit.com/products/2857/guides)

## Related Guides

- [I2C Addresses and Troublesome Chips](https://learn.adafruit.com/i2c-addresses.md)
- [Adafruit FT232H With SPI & I2C Devices](https://learn.adafruit.com/adafruit-ft232h-with-spi-and-i2c-libraries.md)
- [Accessing and Using Adafruit PCB Design Files](https://learn.adafruit.com/accessing-and-using-adafruit-pcb-design-files.md)
- [Adafruit AW9523 GPIO Expander and LED Driver](https://learn.adafruit.com/adafruit-aw9523-gpio-expander-and-led-driver.md)
- [Adafruit bq25185 USB / DC / Solar Charger with 3.3V Buck Board](https://learn.adafruit.com/adafruit-bq25185-usb-dc-solar-charger-with-3-3v-buck-board.md)
- [Adafruit NeoPixel FeatherWing](https://learn.adafruit.com/adafruit-neopixel-featherwing.md)
- [Expressive Pixels for Adafruit Matrix Portal](https://learn.adafruit.com/expressive-pixels-for-matrix-portal.md)
- [Adafruit CH334F Mini USB Hub Breakouts](https://learn.adafruit.com/adafruit-ch334f-mini-4-port-usb-hub-breakout.md)
- [Adafruit HUZZAH32 – ESP32 Breakout Board](https://learn.adafruit.com/huzzah32-esp32-breakout-board.md)
- [Adafruit ESP32-S3 Feather](https://learn.adafruit.com/adafruit-esp32-s3-feather.md)
- [Adafruit SensorLab - Magnetometer Calibration](https://learn.adafruit.com/adafruit-sensorlab-magnetometer-calibration.md)
- [QT Py RP2040 USB to Serial MIDI Friends](https://learn.adafruit.com/qt-py-rp2040-usb-to-serial-midi-friends.md)
- [Adafruit CAN Pal](https://learn.adafruit.com/adafruit-can-pal.md)
- [Adafruit Ultimate GPS HAT for Raspberry Pi](https://learn.adafruit.com/adafruit-ultimate-gps-hat-for-raspberry-pi.md)
- [Adafruit LSM6DS3TR-C 6-DoF Accel + Gyro IMU](https://learn.adafruit.com/adafruit-lsm6ds3tr-c-6-dof-accel-gyro-imu.md)
