# Adafruit HTS221 - Temperature & Humidity Sensor

## Overview

![](https://cdn-learn.adafruit.com/assets/assets/000/089/389/medium800/adafruit_products_4535_iso_ORIG_2020_03_edit.jpg?1584394035)

Humidity is the concentration of water vapor (water when it's a gas) in the air. Some places have more and make you feel soggy and hot like you're in a sauna. Other places don't have much, which makes it easier to get nose bleeds and static zaps. These are just a few examples of how humidity can have a noticeable impact on things that grow, like mushrooms or humans, as well as things that are sensitive to moisture, like delicate electronics, or humans.

![](https://cdn-learn.adafruit.com/assets/assets/000/089/386/medium800/adafruit_products_4535_quarter_ORIG_2020_03_edit.jpg?1584393769)

This is where the **HTS221 Temperature and Humidity Sensor** by ST comes in. With an HTS221, you can take measurements of the relative humidity which will tell you if the environment you're measuring is bone dry or sopping wet. The HTS221 can measure relative humidity from **0%-100% rH** with a sensitivity of 0.004% and 3.5% accuracy. It can also measure temperature from **-40 to 120** degrees C, with a resolution of 0.016°C with ±0.5 °C accuracy between 15 and +40 °C.

The HTS221 is an inexpensive humidity sensor which makes it great for every day measurement applications. Want to measure the humidity of your bathroom? Sure! How about your mushroom farm? Perfect!

![](https://cdn-learn.adafruit.com/assets/assets/000/089/385/medium800/adafruit_products_4535_ORIG_056_edit.jpg?1584393746)

The HTS221 lets you choose between a **3-wire SPI** or the ever-popular **I2C** which only needs two wires for data. If you're an I2C fan (who isn't?), we've included our handy dandy [SparkFun Qwiic](https://www.sparkfun.com/qwiic) compatible **[STEMMA QT](https://learn.adafruit.com/introducing-adafruit-stemma-qt)** connectors for the I2C bus **so you don't even need to solder!**

Since the HTS221 is a super small 2mm square, we've put it on a breakout board with level shifting and a power regulator, so it's easy to use on a breadboard with either a 5V logic level device like a Metro 328 or Arduino Uno, or with 3.3V logic level devices like a Feather M4 or Raspberry Pi of your choice.

Lastly, it wouldn't be an Adafruit breakout if it didn't come with [**libraries for Arduino and CircuitPython or Python**. We've also written **example code** and instructions on the pages that follow](https://learn.adafruit.com/adafruit-hts221-temperature-humidity-sensor), so you'll be ready to tell all your friends the approximate relative humidity level and temperature in only a few minutes.

# Adafruit HTS221 - Temperature & Humidity Sensor

## Pinouts

![](https://cdn-learn.adafruit.com/assets/assets/000/089/387/medium800/adafruit_products_4535_top_ORIG_2020_03_edit.jpg?1584393793)

## Power Pins:

- **Vin** - this is the power pin. Since the sensor chip uses 3 VDC, we have included a voltage regulator on board that will take 3-5VDC and safely convert it down. 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
- **3Vo** - this is the 3.3V output from the voltage regulator, you can grab up to 100mA from this if you like
- **GND** - common ground for power and logic

## I2C Logic Pins

- **SCL** - I2C clock pin, connect to your microcontroller's I2C clock line. This pin is level shifted so you can use 3-5V logic, and there's a **10K pullup** on this pin.
- **SDA** - I2C data pin, connect to your microcontroller's I2C data line. This pin is level shifted so you can use 3-5V logic, and there's a 1 **0K pullup** on this pin.
- **[STEMMA QT](https://learn.adafruit.com/introducing-adafruit-stemma-qt)&nbsp;-** These connectors allow you to make I2C connections to dev boards with **STEMMA QT** connectors or to other things with&nbsp;[various associated accessories](https://www.adafruit.com/?q=JST%20SH%204)

# SPI Logic pins:
Warning: 

All pins going into the breakout have level shifting circuitry to make them 3-5V logic level safe. Use whatever logic level is on **Vin!**

- **SCL** - This is the **S** PI **C** loc **k** pin, its an input to the chip
- **SDA** - For 3-pin SPI, this pin does double duty and is connected to your device's **MISO and** &nbsp; **MOSI** pins **:**
  - **MISO -** Connect directly to the HTS221's **SDA** pin
  - **MOSI -** Connect to **SDA through a 1K resistor**

- **CS** - this is the **C** hip **S** elect pin, drop it low to start an SPI transaction. Its an input to the chip

If you want to connect multiple HTS221's to one microcontroller, have them share the SCL and SDA pins. Then assign each one a unique CS pin.

## Other Pins

- **DRDY** - Data ready pin. The HTS221 can be configured to change the state of this pin to signify that new pressure or temperature measurements are available

# Adafruit HTS221 - Temperature & Humidity Sensor

## Arduino

# I2C Wiring

Use this wiring if you want to connect via I2C interface

The HTS221's I2C address is **0x5F**.&nbsp;&nbsp;

- &nbsp;Connect&nbsp;**board VIN (red wire)** to&nbsp; **Arduino**  **5V** &nbsp;if you are running a **5V** board Arduino (Uno, etc.).&nbsp;If your board is **3V,** connect to that instead.
- Connect **board** **GND (black wire)&nbsp;**to&nbsp; **Arduino**  **GND**
- Connect **board** **SCL (yellow wire)&nbsp;**to&nbsp; **Arduino**  **SCL**
- Connect **board** **SDA (blue wire)&nbsp;**to&nbsp; **Arduino**  **SDA**

![adafruit_products_c_arduino_witing_qt.png](https://cdn-learn.adafruit.com/assets/assets/000/088/675/medium640/adafruit_products_c_arduino_witing_qt.png?1582661489)

![adafruit_products_c_arduino_witing_bb.png](https://cdn-learn.adafruit.com/assets/assets/000/088/676/medium640/adafruit_products_c_arduino_witing_bb.png?1582661515)

The final results should resemble the illustration above, showing an Adafruit Metro development board.

Warning: 

- Connect **Vin** to the power supply, 3V or 5V is fine. Use the same voltage that the microcontroller logic is based off of
- Connect **GND** to common power/data ground
- Connect the **SCL** pin to **Digital #13** but any pin can be used later
- Connect the **SDA** &nbsp;pin to **Digital #12** but any pin can be used later
- Make a second connection to the **SDA** &nbsp;pin, **through a 1K resistor** from **Digital #11.** Any pin can be used later but it must be connected to SDA **through a 1K resistor**
- Connect the **CS** pin **Digital #10** but any pin can be used later

&nbsp;

&nbsp;

![adafruit_products_c_arduino_wiring_3pin_spi.png](https://cdn-learn.adafruit.com/assets/assets/000/088/678/medium640/adafruit_products_c_arduino_wiring_3pin_spi.png?1582662882)

Later on, once we get it working, we can adjust the library to use hardware SPI if you desire, or change the pins to others.

# Library Installation

You can install the **Adafruit HTS221 Library** for Arduino using the Library Manager in the Arduino IDE.

![](https://cdn-learn.adafruit.com/assets/assets/000/088/681/medium800/adafruit_products_ARDUINO_-_library_manager_menu.png?1582663122)

Click the&nbsp; **Manage Libraries ...** menu item, search for **Adafruit HTS221** &nbsp;and select the **Adafruit HTS221** library:

![](https://cdn-learn.adafruit.com/assets/assets/000/089/191/medium800/adafruit_products_c_arduino_libmgr.png?1583945787)

Then follow the same process for the&nbsp; **Adafruit BusIO** &nbsp;library.

![](https://cdn-learn.adafruit.com/assets/assets/000/088/679/medium800/adafruit_products_ARDUINO-_BusIO_Lib_Manager.png?1582663098)

Finally follow the same process for the&nbsp; **Adafruit Unified Sensor** library:

![](https://cdn-learn.adafruit.com/assets/assets/000/088/680/medium800/adafruit_products_ARDUINO_-Unified_Sensor_LibMGR.png?1582663109)

# Load Example

Open up&nbsp; **File -\> Examples -\> Adafruit HTS221**  **-\> adafruit\_hts221\_test** and upload to your Arduino wired up to the sensor.

Depending on whether you are using I2C or SPI, change the pin names and comment or uncomment the following lines.

```cpp
if (!hts.begin_I2C()) {
//  if (!hts.begin_SPI(HTS_CS)) {
//  if (!hts.begin_SPI(HTS_CS, HTS_SCK, HTS_MISO, HTS_MOSI)) {
```

Once you upload the code and open the Serial Monitor ( **Tools-\>Serial Monitor** ) at **115200** baud, you will see the current configuration printed, followed by the humidity and temperature measurements. You should see something similar to this:

![](https://cdn-learn.adafruit.com/assets/assets/000/088/682/medium800/adafruit_products_c_arduino_example_screenshot.png?1582663294)

The moisture from your breath should make the readings change, so give it a try by breathing on the sensor (the tiny black square in the center of the breakout) and seeing what happens!

https://github.com/adafruit/Adafruit_HTS221/blob/master/examples/adafruit_hts221_test/adafruit_hts221_test.ino

# Adafruit HTS221 - Temperature & Humidity Sensor

## Arduino Docs

# Adafruit HTS221 - Temperature & Humidity Sensor

## Python & CircuitPython

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

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 HTS221 to your board for an I2C connection, exactly&nbsp; as shown below.&nbsp; Here's an example of wiring a Feather M4 to the sensor with I2C:

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

![adafruit_products_d_cp_feather_wiring_qt.png](https://cdn-learn.adafruit.com/assets/assets/000/088/683/medium640/adafruit_products_d_cp_feather_wiring_qt.png?1582663681)

![adafruit_products_d_cp_feather_wiring_bb.png](https://cdn-learn.adafruit.com/assets/assets/000/088/684/medium640/adafruit_products_d_cp_feather_wiring_bb.png?1582663707)

# Python Computer Wiring

Since there are _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 3V** &nbsp;to&nbsp;**sensor VCC (red wire)**
- **Pi GND** &nbsp;to&nbsp;**sensor GND (black wire)**
- **Pi SCL** &nbsp;to&nbsp;**sensor SCL (yellow wire)**
- **Pi SDA** &nbsp;to&nbsp;**sensor SDA (blue wire)**

![adafruit_products_d_cp_rpi_wiring_qt.png](https://cdn-learn.adafruit.com/assets/assets/000/088/685/medium640/adafruit_products_d_cp_rpi_wiring_qt.png?1582663771)

![adafruit_products_d_cp_rpi_wiring_bb.png](https://cdn-learn.adafruit.com/assets/assets/000/088/686/medium640/adafruit_products_d_cp_rpi_wiring_bb.png?1582663792)

## CircuitPython Installation of HTS221 Library

You'll need to install the&nbsp;[Adafruit CircuitPython HTS221](https://github.com/adafruit/Adafruit_CircuitPython_HTS221) library on your CircuitPython board.

First make sure you are running the&nbsp;[latest version of Adafruit CircuitPython](https://learn.adafruit.com/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://circuitpython.org/libraries).&nbsp; Our CircuitPython starter guide has [a great page on how to install the library bundle](https://learn.adafruit.com/welcome-to-circuitpython/circuitpython-libraries).

For non-express boards like the Trinket M0 or Gemma M0, you'll need to manually install the necessary libraries from the bundle:

- **adafruit\_hts221.mpy**
- **adafruit\_bus\_device**
- **adafruit\_register**

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

Next&nbsp;[connect to the board's serial REPL&nbsp;](https://learn.adafruit.com/welcome-to-circuitpython/the-repl)so you are at the CircuitPython&nbsp;`>>>`&nbsp;prompt.

## Python Installation of HTS221 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.&nbsp;[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-hts221`

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 & Python Usage

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

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

```python
import time
import board
import busio
import adafruit_hts221

i2c = busio.I2C(board.SCL, board.SDA)
hts = adafruit_hts221.HTS221(i2c)
```

![](https://cdn-learn.adafruit.com/assets/assets/000/088/647/medium800/adafruit_products_d_cp_reply_setup_screenshot.png?1582594172)

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

- **relative\_humidity** - 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.

```python
print("Relative Humidity: %.2f %% rH" % hts.relative_humidity)
print("Temperature: %.2f C" % hts.temperature)
```

![](https://cdn-learn.adafruit.com/assets/assets/000/088/687/medium800/adafruit_products_d_cp_reply_properties_screenshot.png?1582665433)

https://github.com/adafruit/Adafruit_CircuitPython_HTS221/blob/main/examples/hts221_simpletest.py

# Adafruit HTS221 - Temperature & Humidity Sensor

## Python Docs

# Adafruit HTS221 - Temperature & Humidity Sensor

## WipperSnapper

![](https://cdn-learn.adafruit.com/assets/assets/000/125/318/medium800/adafruit_products_01_DeviceList.png?1697557088)

## 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 HTS221 to your board exactly as follows. Here is an example of the HTS221 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_HTS221_bb.png](https://cdn-learn.adafruit.com/assets/assets/000/125/332/medium640/adafruit_products_featherV2_HTS221_bb.png?1697565552)

![adafruit_products_featherV2_HTS221_Breadboard_bb.png](https://cdn-learn.adafruit.com/assets/assets/000/125/334/medium640/adafruit_products_featherV2_HTS221_Breadboard_bb.png?1697565564)

## 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/125/354/medium800/adafruit_products_02_DeviceSelection.png?1697568691)

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/125/355/medium640/adafruit_products_04_LatestVersion.png?1697568773)

![adafruit_products_04_UpdateRequired.png](https://cdn-learn.adafruit.com/assets/assets/000/125/356/medium640/adafruit_products_04_UpdateRequired.png?1697568803)

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 HTS221's default I2C address of&nbsp;`0x5F`&nbsp;pop-up in the I2C scan list.

![](https://cdn-learn.adafruit.com/assets/assets/000/125/359/medium800/adafruit_products_I2C_0x5F.png?1697571377)

###  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;`HTS221`&nbsp;into the search bar, then select the&nbsp; **HTS221** &nbsp;component.

![](https://cdn-learn.adafruit.com/assets/assets/000/128/252/medium800/adafruit_products_YYkCXLp0o7.png?1709171845)

On the component configuration page, the **HTS221**'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 **HTS221** 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/125/469/medium800/adafruit_products_KFtXkDXRuB.png?1697722591)

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/125/468/medium800/adafruit_products_LRP9gS4lvE.png?1697721997)

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/125/467/medium800/adafruit_products_TqUmB7TqjN.png?1697721984)

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/125/466/medium800/adafruit_products_TtKQGpw4ez.png?1697721789)

# Adafruit HTS221 - Temperature & Humidity Sensor

## Downloads

## Files

- [HTS221 Datashet](https://www.st.com/resource/en/datasheet/hts221.pdf)
- [EagleCAD files on GitHub](https://github.com/adafruit/Adafruit-HTS221-PCB)
- [Fritzing object in Adafruit Fritzing Library](https://github.com/adafruit/Fritzing-Library/blob/master/parts/Adafruit%20HTS221.fzpz)

## Schematic
![](https://cdn-learn.adafruit.com/assets/assets/000/088/690/medium800/adafruit_products_e_downloads_schematic.png?1582665839)

## Fab Print
![](https://cdn-learn.adafruit.com/assets/assets/000/088/689/medium800/adafruit_products_e_downloads_fab_print.png?1582665717)


## Primary Products

### Adafruit HTS221 - Temperature & Humidity Sensor Breakout Board

[Adafruit HTS221 - Temperature & Humidity Sensor Breakout Board](https://www.adafruit.com/product/4535)
Humidity is the concentration of water vapor (water when it's a gas) in the air. Some places have more and make you feel soggy and hot like you're in a sauna. Other places don't have much, which makes it easier to get nose bleeds and static zaps. These are just a few examples of...

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

## Featured Products

### STEMMA QT / Qwiic JST SH 4-pin to Premium Male Headers Cable

[STEMMA QT / Qwiic JST SH 4-pin to Premium Male Headers Cable](https://www.adafruit.com/product/4209)
This 4-wire cable is a little over 150mm / 6" long and fitted with JST-SH female 4-pin connectors on one end and premium Dupont male headers on the other. Compared with the chunkier JST-PH these are 1mm pitch instead of 2mm, but still have a nice latching feel, while being easy to insert...

In Stock
[Buy Now](https://www.adafruit.com/product/4209)
[Related Guides to the Product](https://learn.adafruit.com/products/4209/guides)
### JST SH 4-pin Cable with Alligator Clips - STEMMA QT / Qwiic

[JST SH 4-pin Cable with Alligator Clips - STEMMA QT / Qwiic](https://www.adafruit.com/product/4398)
This cable will make it super easy to use our plug-and-play STEMMA QT boards with boards like Circuit Playground. On one end you get a Qwiic / STEMMA QT connector (technically known as a JST SH 4-pin plug)&nbsp; into 4 individual wires with grippy alligator clips. We're carrying these to...

Out of Stock
[Buy Now](https://www.adafruit.com/product/4398)
[Related Guides to the Product](https://learn.adafruit.com/products/4398/guides)
### 4-pin JST PH to JST SH Cable - STEMMA to QT / Qwiic

[4-pin JST PH to JST SH Cable - STEMMA to QT / Qwiic](https://www.adafruit.com/product/4424)
Are you a maker in the midst of&nbsp;a [**STEMMA**](https://learn.adafruit.com/introducing-adafruit-stemma-qt/what-is-stemma) dilemma? This 200mm long 4-wire cable is a fantastic chimera-cable fitted with **STEMMA QT / Sparkfun Qwiic JST SH** on one end,...

In Stock
[Buy Now](https://www.adafruit.com/product/4424)
[Related Guides to the Product](https://learn.adafruit.com/products/4424/guides)
### STEMMA QT / Qwiic JST SH 4-pin Cable - 100mm Long

[STEMMA QT / Qwiic JST SH 4-pin Cable - 100mm Long](https://www.adafruit.com/product/4210)
This 4-wire cable is a little over 100mm / 4" long and fitted with JST-SH female 4-pin connectors on both ends. Compared with the chunkier JST-PH these are 1mm pitch instead of 2mm, but still have a nice latching feel, while being easy to insert and remove.

<a...></a...>

Out of Stock
[Buy Now](https://www.adafruit.com/product/4210)
[Related Guides to the Product](https://learn.adafruit.com/products/4210/guides)
### STEMMA QT / Qwiic JST SH 4-pin Cable with Premium Female Sockets

[STEMMA QT / Qwiic JST SH 4-pin Cable with Premium Female Sockets](https://www.adafruit.com/product/4397)
This 4-wire cable is a little over 150mm / 6" long and fitted with JST-SH female 4-pin connectors on one end and premium female headers on the other. Compared with the chunkier JST-PH these are 1mm pitch instead of 2mm, but still have a nice latching feel, while being easy to insert and...

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

## Related Guides

- [Adafruit STSPIN220 Stepper Motor Driver Breakout Board](https://learn.adafruit.com/adafruit-stspin220-stepper-motor-driver-breakout-board.md)
- [Fruit Jam Nintendo Entertainment System and Retro Jam](https://learn.adafruit.com/fruit-jam-nintendo-entertainment-system.md)
- [LEGO Head Lamp with Audio](https://learn.adafruit.com/lego-head-lamp-with-audio.md)
- [Adafruit OV5640 Camera Breakouts](https://learn.adafruit.com/adafruit-ov5640-camera-breakout.md)
- [Adafruit Proto Screw Shield](https://learn.adafruit.com/adafruit-proto-screw-shield.md)
- [Remote controlled door lock using a fingerprint sensor & Adafruit IO](https://learn.adafruit.com/remote-controlled-door-lock-using-a-fingerprint-sensor-and-adafruit-io.md)
- [LSM303 Accelerometer + Compass Breakout](https://learn.adafruit.com/lsm303-accelerometer-slash-compass-breakout.md)
- [Adafruit AS7331 UV / UVA / UVB / UVC Sensor](https://learn.adafruit.com/adafruit-as7331-uv-uva-uvb-uvc-sensor.md)
- [Adafruit bq25185 USB / DC / Solar Charger with 5V Boost Board](https://learn.adafruit.com/adafruit-bq25185-usb-dc-solar-charger-with-5v-boost-board.md)
- [Wave Shield](https://learn.adafruit.com/adafruit-wave-shield-audio-shield-for-arduino.md)
- [Adafruit SI1145 Breakout Board - UV index / IR / Visible Sensor](https://learn.adafruit.com/adafruit-si1145-breakout-board-uv-ir-visible-sensor.md)
- [Adafruit HDC1008 Temperature and Humidity Sensor Breakout](https://learn.adafruit.com/adafruit-hdc1008-temperature-and-humidity-sensor-breakout.md)
- [2.3" Monochrome 128x32 OLED Display Module](https://learn.adafruit.com/2-3-monochrome-128x32-oled-display-module.md)
- [Adafruit TLV493 Triple-Axis Magnetometer](https://learn.adafruit.com/adafruit-tlv493-triple-axis-magnetometer.md)
- [Introducing the Adafruit Bluefruit LE UART Friend](https://learn.adafruit.com/introducing-the-adafruit-bluefruit-le-uart-friend.md)
