Adafruit DPS310 Shield

Overview

The Adafruit DPS310 Precision Barometric Pressure and Altitude Sensor Shield features a Infineon DPS310 Pressure Sensor and two STEMMA QT connectors. It measures air pressure and temperature.

Adafruit DPS310 Shield

Adafruit DPS310 Shield (Credit: Adafruit)

Requirements

This shield can be used with boards which provide an I2C connector, for example STEMMA QT or Qwiic connectors. The target board must define a zephyr_i2c node label. See Shields for more details.

Pin Assignments

Shield Pin

Function

SDI

DPS310 I2C SDA

SCK

DPS310 I2C SCL

SDO

DPS310 I2C address adjust

CS

Not used in I2C mode

See infineon,dps310 for documentation on how to adjust the devicetree file.

Programming

Set --shield adafruit_dps310 when you invoke west build. For example when running the Barometric pressure and temperature sensor polling example pressure and temperature sample:

# From the root of the zephyr repository
west build -b adafruit_qt_py_rp2040 --shield adafruit_dps310 samples/sensor/pressure_polling