Contents
- I. Module Introduction
- II. Introduction to Main Chips
- 2.1 Chip Overview
- 2.2 Pin Definition
- 2.3 Functional Block Diagram
- 2.4 Performance Parameters
- 2.5 Reference Circuit
- 2.6 Chip Configuration
- 2.7 Communication Interfaces and Related Protocols
- 2.8 PCB Routing Precautions
- III. Circuit Engineering
- 3.1 Circuit Source Engineering
- 3.2 Module Usage Instructions
- 3.3 Application Experiment
- IV. Drivers
- 5. BOM & Recommended Alternative Parts
- VI. Revision History
- 7. Relevant Materials
- 7.1 Chip Datasheet
- 7.2 Unique Icons for PCB Silk Screen


I. Module Introduction
High-Precision Pressure and Temperature Sensor Module Based on DPS310, adopting the DPS310 sensor solution, can measure pressure and temperature simultaneously. It features a pressure resolution of 0.06 Pa and a temperature accuracy of ±0.5℃, with a built-in 5V to 3.3V power supply circuit and I²C communication interface, supports ADDR address selection, power filtering and indicator circuit, and can realize high-precision environmental Data Acquisition, which is applicable to scenarios such as meteorological monitoring, indoor navigation, altitude measurement and IoT sensing.
II. Introduction to Main Chips
DPS310 is a high-precision digital barometric pressure and temperature sensor that adopts MEMS sensing technology, with a pressure resolution of up to 0.06 Pa and a temperature accuracy of ±0.5℃. It supports I²C / SPI communication interfaces, features low power consumption, high stability and temperature compensation characteristics, and can simultaneously measure barometric pressure in the range of 300~1200 hPa and temperature in the range of -40~85℃. It is suitable for scenarios such as meteorological monitoring, indoor navigation, altitude measurement and IoT environment perception.
2.1 Chip Overview

DPS310 is a miniature digital barometric pressure and temperature sensor featuring high precision and low power consumption. Based on the capacitive sensing principle, it can measure barometric pressure within 300~1200 hPa and temperature ranging from -40℃ to 85℃, with a pressure accuracy of ±0.005 hPa and a temperature accuracy of ±0.5℃. Built with a FIFO buffer and on-chip calibration coefficients, it supports I²C / SPI communication interfaces and interrupt output, and offers multiple operating modes, making it suitable for indoor navigation, weather monitoring, UAV altitude control and other scenarios.
2.2 Pin Definition

The DPS310 features an 8-pin LGA package, with separate analog power supply (VDD) and digital interface power supply (VDDIO), as well as two sets of ground pins (GND);It supports I²C and SPI two communication interfaces. The CSB pin serves as a chip select in SPI mode, and can be left floating or connected to I²C mode, or connected to VDDIO (internal pull-up). The SDO pin integrates SPI data output, I²C least significant bit address selection and interrupt output functions. SCK is the serial clock, and SDI is the serial data input/output, which can flexibly adapt to different communication scenarios.
2.3 Functional Block Diagram
None.
2.4 Performance Parameters

DPS310 Scope of Work covers: pressure measurement range 300~1200 hPa, ambient temperature -40~85℃; analog power supply VDD is 1.7~3.6V, digital interface power supply VDDIO is 1.2~3.6V, the time for the power supply voltage to rise to 90% of the target value is 0.001~5 ms; it also features performance specifications of soldering drift ≤ 0.8 hPa and long-term stability ±1 hPa, and can operate stably in wide temperature and wide voltage environments.

DPS310 has the following absolute maximum ratings: VDD and VDDIO have a withstand voltage upper limit of 4V, any pin has a withstand voltage upper limit of 4V, the storage temperature ranges from -40°C to 125°C, the maximum withstand pressure range is 10000 hPa, and ESD HBM protection is ±2kV;In terms of power consumption, this sensor features a peak current of 345μA for pressure measurement and 280μA for temperature measurement, with a standby current as low as 0.5μA. At a 1Hz sampling rate, its power consumption varies with accuracy levels: 2.1μA for low accuracy, 11μA for standard accuracy, and 38μA for high accuracy, making it a low-power sensor with reliable protection capabilities.

DPS310 is a high-precision, low-power digital barometric pressure sensor that supports pressure measurement in the range of 300~1200 hPa and temperature measurement in the range of -40~85℃, with a pressure resolution of 0.06 Pa, multiple precision modes and a measurement rate of 1~128 Hz, and is compatible with I²C / SPI interfaces, making it suitable for scenarios such as meteorological monitoring, indoor navigation and UAV altitude control.

DPS310 features the following startup timing: the maximum sensor ready time is 12 ms, and the maximum calibration coefficient availability time is 40 ms (timed from the power-on of VDD / VDDIO or soft reset); its communication interface supports a maximum clock frequency of 3.4 MHz for I²C and 10 MHz for SPI, enabling fast data interaction and meeting both fast startup and high-speed communication requirements.
2.5 Reference Circuit
None.
2.6 Chip Configuration
None.
2.7 Communication Interfaces and Related Protocols

DPS310 features an I²C interface compliant with the Philips I²C v2.1 specification, supporting standard, fast and high-speed modes with a maximum clock frequency of 3.4 MHz; the device address is determined by the level of the SDO pin: floating/pull-up corresponds to 0x77, while pull-down corresponds to 0x76; it supports single-byte read/write and multi-byte read/write with auto-incrementing address, and completes data interaction via start/repeated start and acknowledge/non-acknowledge signals, enabling efficient register configuration and data reading.

DPS310 I²C timing complies with the I²C v2.1 specification, supporting standard / fast mode (S&F mode) and high-speed mode (HS mode). The timing parameters are related to the SDA bus capacitance (Cb), ensuring reliable communication under different bus loads.

DPS310 's I ² C timing in standard/fast mode ( S & F ), SDI pin data setup time ≥ 20 ns, hold time ≥ 0 ns, clock duty cycle ≤ 70%; in high speed mode ( HS ), data setup time ≥ 5 ns, hold time ≥ 0 ns, clock duty cycle ≤ 55%, can meet the requirements of reliable data transmission at different rates.
2.8 PCB Routing Precautions
None.
III. Circuit Engineering
3.1 Circuit Source Engineering
To obtain the circuit source project, please follow the official account [Freak Embedded].
3.2 Module Usage Instructions
The schematic diagram of this module is shown below:
SCH_High-Precision Pressure and Temperature Sensor Based on DPS310-V1.0.0_2026-03-25.pdf 2.2 MB

This module provides an I2C interface: supports standard I2C communication rate and high-speed mode (up to 3.4 MHz), compatible with 3.3V level, and can be flexibly configured with 0x76 or 0x77 two I2C addresses through onboard ADDR welding contacts, which can stably realize the read and write operations of pressure, temperature data and register parameters, suitable for meteorological monitoring, indoor navigation, altitude measurement and other scenarios, providing accurate and reliable environmental data interaction capabilities for the system.
3.3 Application Experiment
Here, we use the GraftPort-RP2040 development board for testing. The high-precision pressure and temperature sensor based on DPS310 uses the I2C interface to communicate with the main controller.
Here, we first use the HY2.0-4P cable to connect the module to the GraftPort-RP2040 development board's I2C0 interface:
The module connections are shown in the following table:
Development Board Pins | Module Pins | Description |
Pin 4 |
|
|
Pin 5 |
|
|
Here, we need to search for the relevant driver packages on uPyPI: https://upypi.net/zh/

Enter dps310_driver to search, and the following will be displayed:

Click to copy the local installation command:

Import the module driver library code via the mip tool. Below are the usage commands for the mpremote tool:
mpremote mip install https://upypi.net/pkgs/dps310_driver/1.0.0Import the high-precision pressure and temperature sensor based on DPS310 - MicroPython driver code, then copy the following main.py code into our project:
# Python env : MicroPython v1.23.0
# -*- coding: utf-8 -*-
# @Time : 2026/3/30 6:10 PM
# @Author : Jose D. Montoya
# @File : main.py
# @Description : DPS310 barometric pressure sensor I2C auto-scan identification and real-time pressure data reading program
# ======================================== Import Modules =========================================
import time
from machine import Pin, SoftI2C
from micropython_dps310 import dps310
# ======================================== Global Variables ============================================
TARGET_DPS310_ADDRS = [0x76,0x77]
# ======================================== Functions ============================================
# ======================================== Custom Classes ============================================
# ======================================== Initialization configuration ===========================================
time.sleep(3)
print("FreakStudio: DPS310 Pressure Sensor I2C Auto Scan and Read")
I2C_SDA_PIN = 4
I2C_SCL_PIN = 5
I2C_FREQ = 100_000
i2c_bus = SoftI2C(sda=Pin(I2C_SDA_PIN), scl=Pin(I2C_SCL_PIN), freq=I2C_FREQ)
devices_list: list[int] = i2c_bus.scan()
print("START I2C SCANNER")
if len(devices_list) == 0:
print("No i2c device !")
raise SystemExit("I2C scan found no devices, program exited")
else:
print(f"i2c devices found: {len(devices_list)}")
sensor = None
for device in devices_list:
if device in TARGET_DPS310_ADDRS:
print(f"I2c hexadecimal address: {hex(device)}")
try:
sensor = dps310.DPS310(i2c=i2c_bus,address = device)
print("Sensor initialization successful")
break
except Exception as e:
print(f"Sensor Initialization failed: {e}")
continue
else:
raise Exception("No target sensor device found in I2C bus")
# ======================================== Main Program ============================================
while True:
print(f"Pressure: {sensor.pressure}HPa")
print()
time.sleep(1)Burn the code, open the terminal, and the output is as follows:

We can see that the air pressure value can be read and printed in a normal loop.
IV. Drivers
dps310_driver-1.0.0.zip 15 KB
5. BOM & Recommended Alternative Parts
None.
VI. Revision History
Document Version | Date Modified | Modifier | Modify Content |
v1.0 | 2026-03-25 | Ling Gaoxing | Initialize the document |
v1.0.1 | 2026-04-05 | Li Zisheng | The cover photo has not been taken, the production files have not been exported yet, and all other items have been sorted out. |
v1.0.2 | 2026-04-21 | Li Zisheng | The production documents have not been exported yet, and all the rest have been sorted out. |
v1.1 | 2026-04-23 | Xin Ruili | Create an open version of the document based on the internal document version v1.0.2. |
7. Relevant Materials
7.1 Chip Datasheet
DPS310.pdf 750 KB
7.2 Unique Icons for PCB Silk Screen
