# Adafruit DPS310 Precision Barometric Pressure and Altitude Sensor

## Overview

![](https://cdn-learn.adafruit.com/assets/assets/000/087/727/medium800/sensors_DPS310_top.jpg?1580223554)

How high are you right now? If you had a precision altitude sensor, you would know for sure! The DPS310 sensor from Infineon a high precision barometric sensor, perfect for measuring altitude changes with a up to ±0.002 hPa (or ±0.02 m) precision high precision mode and ± 1 hPa absolute accuracy. That means you can know your absolute altitude with 1 meter accuracy when you set the sea-level pressure, and measure changes in altitude with up to 2 cm precision. This makes it a great sensor for use in drones or other altitude-sensitive robots. This sensor would also do well in any environmental sensing kit, you can use it to predict weather system changes

![](https://cdn-learn.adafruit.com/assets/assets/000/087/728/medium800/sensors_DPS310_back.jpg?1580223566)

You can use this sensor with either I2C or SPI, so it's easy to integrate into projects. It also has a temperature sensor built in, with ± 0.5°C accuracy. For the lowest noise readings, set it up to take multiple measurements and perform a low-pass filter, that capability is built in! You can use it from 300 to 1200 hPa and in ambient temperature ranges from -40 to 85 °C.

![](https://cdn-learn.adafruit.com/assets/assets/000/087/729/medium800/sensors_DPS310_STEMMA_side.jpg?1580223575)

To make life easier, so you can focus on your important work, we've taken the sensor and put it onto a breakout PCB along with support circuitry to let you use it with 3.3V (Feather/Raspberry Pi) or 5V (Arduino/ Metro328) logic levels. Additionally, since it speaks I2C, you can easily connect it up with two wires (plus power and ground!).&nbsp; We've even included [SparkFun qwiic](https://www.sparkfun.com/qwiic) compatible**&nbsp;[STEMMA QT](https://learn.adafruit.com/introducing-adafruit-stemma-qt)**&nbsp;connectors for the I2C bus so **you don't even need to solder!** Just wire up to your favorite microcontroller and you can use our CircuitPython/Python or [Arduino drivers](https://github.com/adafruit/Adafruit_DPS310) to easily interface with the DPS310.

![](https://cdn-learn.adafruit.com/assets/assets/000/087/730/medium800/sensors_DPS310_top_header.jpg?1580223583)

# Adafruit DPS310 Precision Barometric Pressure and Altitude Sensor

## Pinouts

![](https://cdn-learn.adafruit.com/assets/assets/000/087/735/medium800/sensors_DPS310_top_pinouts.jpg?1580224380)

## 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 microcontroller 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:

- **SCK** - This is&nbsp;_also_ the I2C **clock pin**  **SCL** , 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.
- **SDI** - This is&nbsp;_also_ the I2C **data pin**  **SDA** , connect to your microcontroller's I2C data line. This pin is level shifted so you can use 3-5V logic, and there's a **10K pullup** on this pin.
- **SDO** - This is _also_ the I2C address pin **ADR**. Pulling this pin **low to GND** or bridging the solder jumper on the back will change the I2C address from **0x77** to **0x76**
- **[STEMMA QT](https://learn.adafruit.com/introducing-adafruit-stemma-qt)&nbsp;-** These connectors allow you to connect 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:

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!**

- **SCK** - The **S** PI **C** loc **k** pin, it's an input to the chip
- **SDO** - The **S** erial **D** ata **O** ut / **M** icrocontroller **I** n **S** ensor **O** ut, for data sent from the DPS310 to your processor.&nbsp;
- **SDI** - The **S** erial **D** ata **I** n / **M** icrocontroller **O** ut **S** ensor **I** n&nbsp;pin, for data sent from your processor to the DPS310
- **CS** - 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 DPS310's to one microcontroller, have them share the **SDI** , **SDO** and **SCK** pins. Then assign each one a unique **CS** pin.

![](https://cdn-learn.adafruit.com/assets/assets/000/087/737/medium800/sensors_DPS310_back_pinouts.jpg?1580225698)

# Adafruit DPS310 Precision Barometric Pressure and Altitude Sensor

## Arduino

# I2C Wiring

Use this wiring if you want to connect via I2C interface

By default, the I2C address is **0x77**. &nbsp;If you add a jumper from D **DO** to **GND** the address will change to **0x76**

- &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**

![sensors_w_arduino_wiring_a_QT.png](https://cdn-learn.adafruit.com/assets/assets/000/087/826/medium640/sensors_w_arduino_wiring_a_QT.png?1580374250)

![sensors_w_arduino_wiring_b_BB.png](https://cdn-learn.adafruit.com/assets/assets/000/087/827/medium640/sensors_w_arduino_wiring_b_BB.png?1580374283)

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

# SPI Wiring

Since this is a SPI-capable sensor, we can use hardware or 'software' SPI. To make wiring identical on all microcontrollers, we'll begin with 'software' SPI. The following pins should be used:

- 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 **SCK** pin to **Digital #13** but any pin can be used later
- Connect the S **DO** pin to **Digital #12** but any pin can be used later
- Connect the **SDI** &nbsp;pin to **Digital #11** but any pin can be used later
- Connect the **CS** pin **Digital #10** but any pin can be used later

![sensors_w_arduino_wiring_spi.png](https://cdn-learn.adafruit.com/assets/assets/000/088/008/medium640/sensors_w_arduino_wiring_spi.png?1580765949)

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 DPS310 Library** for Arduino using the Library Manager in the Arduino IDE.

![](https://cdn-learn.adafruit.com/assets/assets/000/087/829/medium800/sensors_ARDUINO_-_library_manager_menu.png?1580374427)

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

![](https://cdn-learn.adafruit.com/assets/assets/000/087/839/medium800/sensors_libmgr_install.png?1580376062)

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

![](https://cdn-learn.adafruit.com/assets/assets/000/087/830/medium800/sensors_ARDUINO-_BusIO_Lib_Manager.png?1580374512)

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

![](https://cdn-learn.adafruit.com/assets/assets/000/087/831/medium800/sensors_ARDUINO_-Unified_Sensor_LibMGR.png?1580374524)

# Load Example

Open up&nbsp; **File -\> Examples -\> Adafruit DPS310**  **-\> dps310\_simpletest** 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 (! dps.begin_I2C()) {             // Can pass in I2C address here
  //if (! dps.begin_SPI(DPS310_CS)) {  // If you want to use SPI
```

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 pressure, and temperature measurements. You should see something similar to this:

![](https://cdn-learn.adafruit.com/assets/assets/000/087/835/medium800/sensors_w_arduino_ss.png?1580375022)

Carefully pressing on the small port on the top of the sensor will change the pressure and temperature readings. Give it a try and see how it works!

## Example Code
https://github.com/adafruit/Adafruit_DPS310/blob/master/examples/dps310_simpletest/dps310_simpletest.ino

# Adafruit DPS310 Precision Barometric Pressure and Altitude Sensor

## Arduino Docs

# Adafruit DPS310 Precision Barometric Pressure and Altitude Sensor

## Python & CircuitPython

It's easy to use the DPS310 sensor with CircuitPython or Python and the [Adafruit CircuitPython DPS310](https://github.com/adafruit/Adafruit_CircuitPython_DPS310) library.&nbsp; This library will allow you to easily write Python code that reads the barometric pressure, altitude and more 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 DSM310 breakout to your board exactly as shown below. 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 SCK/SCL (yellow wire)**
- **Board SDA** &nbsp;to&nbsp;**sensor SDI/SDA (blue wire)**

![sensors_DPS310_FeatherM4_I2C_STEMMA_bb.png](https://cdn-learn.adafruit.com/assets/assets/000/087/792/medium640/sensors_DPS310_FeatherM4_I2C_STEMMA_bb.png?1580321532)

![sensors_DPS310_FeatherM4_I2C_breadboard_bb.png](https://cdn-learn.adafruit.com/assets/assets/000/087/793/medium640/sensors_DPS310_FeatherM4_I2C_breadboard_bb.png?1580321555)

# 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 to the sensor using 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 SCK/SCL (yellow wire)**
- **Pi SDA** &nbsp;to&nbsp;**sensor SDI/SDA (blue wire)**

![sensors_DPS310_RPi_I2C_STEMMA_bb.png](https://cdn-learn.adafruit.com/assets/assets/000/087/794/medium640/sensors_DPS310_RPi_I2C_STEMMA_bb.png?1580321608)

![sensors_DPS310_RPi_I2C_breadboard_bb.png](https://cdn-learn.adafruit.com/assets/assets/000/087/795/medium640/sensors_DPS310_RPi_I2C_breadboard_bb.png?1580321628)

# CircuitPython Installation of DPS310 Library

You'll need to install the&nbsp;[Adafruit CircuitPython DPS310](https://github.com/adafruit/Adafruit_CircuitPython_DPS310) 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\_dps310**
- **adafruit\_bus\_device**
- **adafruit\_register**

Before continuing make sure your board's **lib** folder has the **adafruit\_dps310**** , **** 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 DPS310 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-dps310`

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 barometric pressure 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
from adafruit_dps310.basic import DPS310

i2c = board.I2C()

dps310 = DPS310(i2c)
```

![](https://cdn-learn.adafruit.com/assets/assets/000/107/701/medium800/sensors_dps310_repl_setup.png?1641522992)

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

- **pressure -** The barometric pressure in hPa
- **temperature** - The temperature in degrees C

For example to print the pressure and temperature values:

```python
print("Temperature = %.2f *C"%dps310.temperature)
print("Pressure = %.2f hPa"%dps310.pressure)
```

![](https://cdn-learn.adafruit.com/assets/assets/000/087/836/medium800/sensors_h_cp_repl_properties.png?1580375564)

For more details, check out the [library documentation](https://adafruit-circuitpython-dsp310.readthedocs.io/en/latest/).

That's all there is to using the DPS310 Precision Barometric Pressure Sensor with CircuitPython!

## Example Code
https://github.com/adafruit/Adafruit_CircuitPython_DPS310/blob/main/examples/dps310_simpletest.py

# Adafruit DPS310 Precision Barometric Pressure and Altitude Sensor

## Python Docs

# Adafruit DPS310 Precision Barometric Pressure and Altitude Sensor

## WipperSnapper

![](https://cdn-learn.adafruit.com/assets/assets/000/128/247/medium800/sensors_adafruit_products_01_DeviceList.png?1709161165)

## 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 a DPS310 to your board exactly as follows. Here is an example of the DPS310 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/SCK (yellow wire on STEMMA QT)**  
- **Board SDA** &nbsp;to&nbsp;**sensor SDA/SDI (blue wire on STEMMA QT)**

![sensors_dps310-2.png](https://cdn-learn.adafruit.com/assets/assets/000/113/464/medium640/sensors_dps310-2.png?1658777557)

![sensors_dps310-1.png](https://cdn-learn.adafruit.com/assets/assets/000/113/465/medium640/sensors_dps310-1.png?1658777564)

## 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/117/353/medium800/sensors_ksnip_20230106-140025.png?1673031634)

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 "X" -** &nbsp;[update to the latest WipperSnapper firmware](https://learn.adafruit.com/quickstart-adafruit-io-wippersnapper)&nbsp;on your board before continuing.

![sensors_adafruit_products_04_LatestVersion.png](https://cdn-learn.adafruit.com/assets/assets/000/128/248/medium640/sensors_adafruit_products_04_LatestVersion.png?1709161184)

![sensors_adafruit_products_04_UpdateRequired.png](https://cdn-learn.adafruit.com/assets/assets/000/128/249/medium640/sensors_adafruit_products_04_UpdateRequired.png?1709161209)

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 DPS310's default I2C address of&nbsp;`0x77` pop up in the I2C scan list. If the jumper on the underside of the board is soldered, this address will be changed to&nbsp;`0x76`.

![](https://cdn-learn.adafruit.com/assets/assets/000/113/690/medium800/sensors_ksnip_20220725-172556.png?1659025142)

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

![](https://cdn-learn.adafruit.com/assets/assets/000/128/250/medium800/sensors_rnhT42ug0c.png?1709161542)

On the component configuration page, the DPS310'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 each of the DPS310's two sensors 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 for each sensor to every 30 seconds.

![](https://cdn-learn.adafruit.com/assets/assets/000/113/686/medium800/sensors_ksnip_20220728-121040.png?1659024663)

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/113/689/medium800thumb/sensors_ezgif.com-gif-maker_%283%29.jpg?1659025073)

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/113/688/medium800/sensors_ksnip_20220728-121138.png?1659024791)

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).

The DPS310 has two sensors that each have their own feeds. In this picture, we're looking at the pressure sensor, but if you click on the graph icon for the different sensors you'll see their feed history.

![](https://cdn-learn.adafruit.com/assets/assets/000/113/691/medium800/sensors_ksnip_20220728-122016.png?1659025237)

For IO Free accounts, feed data is stored for a maximum of 30 days and there's a maximum of 10 feeds. In this guide, you created two feeds (one for each of the DPS310's sensors). If you’d like to store data for more than 30 days, increase the number of feeds (components) you can use with WipperSnapper, or increase your data rate to send more sensor measurements to Adafruit IO -&nbsp;[upgrade your account to Adafruit IO Plus](https://io.adafruit.com/plus).

# Adafruit DPS310 Precision Barometric Pressure and Altitude Sensor

## Downloads

## Files

- [DPS310 Datasheet](https://www.infineon.com/dgdl/Infineon-DPS310-DataSheet-v01_01-EN.pdf?fileId=5546d462576f34750157750826c42242)
- [EagleCAD files on GitHub](https://github.com/adafruit/Adafruit-DPS310-PCB)
- [Fritzing object in Adafruit Fritzing Library](https://github.com/adafruit/Fritzing-Library/blob/master/parts/Adafruit%20DPS310%20Precision%20Barometric%20Pressure%20and%20Altitude%20Sensor.fzpz)

# Schematic
_Note: The schematic includes the BMP280 because they are the exact same pinouts and dimensions._

![](https://cdn-learn.adafruit.com/assets/assets/000/087/733/medium800/sensors_DPS310_sch.png?1580224014)

# Fab Print
![](https://cdn-learn.adafruit.com/assets/assets/000/087/732/medium800/sensors_DPS310_fab_print.png?1580223959)


## Primary Products

### Adafruit DPS310 Precision Barometric Pressure / Altitude Sensor

[Adafruit DPS310 Precision Barometric Pressure / Altitude Sensor](https://www.adafruit.com/product/4494)
How high are you right now? If you had a precision altitude sensor, you would know for sure! The DPS310 sensor from Infineon a high-precision barometric sensor, perfect for measuring altitude changes with a up to ±0.002 hPa (or ±0.02 m) precision high precision mode and ±...

Out of Stock
[Buy Now](https://www.adafruit.com/product/4494)
[Related Guides to the Product](https://learn.adafruit.com/products/4494/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)
### 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)
### 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...>

In Stock
[Buy Now](https://www.adafruit.com/product/4210)
[Related Guides to the Product](https://learn.adafruit.com/products/4210/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)

## Related Guides

- [Forecast the Weather at Home with a No-Code Barometer ](https://learn.adafruit.com/dps310-analog-barometer.md)
- [MCP4725 12-Bit DAC Tutorial](https://learn.adafruit.com/mcp4725-12-bit-dac-tutorial.md)
- [Experimenter's Guide for Metro](https://learn.adafruit.com/experimenters-guide-for-metro.md)
- [3D Printed Adabot Figurine](https://learn.adafruit.com/3d-printed-adabot-figurine.md)
- [Adafruit PiCowbell Camera Breakout](https://learn.adafruit.com/adafruit-picowbell-camera-breakout.md)
- [reef-pi Guide 3: Temperature Controller](https://learn.adafruit.com/reef-pi-guide-3-temperature-controller.md)
- [Digital Nose Milk Freshness Checker](https://learn.adafruit.com/digital-nose-gas-sensor-milk-freshness-checker.md)
- [Adafruit PyBadge and PyBadge LC](https://learn.adafruit.com/adafruit-pybadge.md)
- [Minty Boost](https://learn.adafruit.com/minty-boost.md)
- [Programmable 12v Outdoor Cafe Lights](https://learn.adafruit.com/programmable-12v-outdoor-cafe-lights.md)
- [Adafruit Metro Mini](https://learn.adafruit.com/adafruit-metro-mini.md)
- [Adafruit Pi Stemma QT Breakout](https://learn.adafruit.com/adafruit-pi-stemma-qt-breakout.md)
- [LED Matrix Necklace Pendant](https://learn.adafruit.com/led-matrix-necklace-pendant.md)
- [I2C/SPI LCD Backpack](https://learn.adafruit.com/i2c-spi-lcd-backpack.md)
- [Adafruit MSA301 Triple Axis Accelerometer](https://learn.adafruit.com/msa301-triple-axis-accelerometer.md)
