Infineon XENSIV™ DPS3xx Pressure Sensor
The xensiv_dps3xx_i2c sensor platform allows you to use Infineon’s XENSIV™ DPS3xx series of high-precision
barometric pressure sensors with ESPHome. This platform supports the DPS310, DPS368, and compatible variants,
providing accurate temperature and pressure measurements. The I²C Bus is required to be set up
in your configuration for this sensor to work.
These sensors are known for their high accuracy, low power consumption, and small form factor, making them ideal for weather stations, altitude measurement, and indoor navigation applications.
# Example configuration entry
sensor:
- platform: xensiv_dps3xx_i2c
temperature:
name: "Temperature"
pressure:
name: "Pressure"Configuration Variables
temperature (Required): The temperature sensor configuration.
- All other options from Sensor.
pressure (Required): The pressure sensor configuration.
- All other options from Sensor.
address (Optional, int): The I²C address of the sensor. Defaults to
0x77. The DPS3xx sensors typically use0x77or0x76depending on the hardware configuration.operation_mode (Optional, string): Sensor operation mode. One of
idle,continuous. Defaults tocontinuous.update_interval (Optional, Time): The interval to check the sensor. Defaults to
60s.id (Optional, ID): Manually specify the ID used for code generation.
Operation Modes
The sensor supports two operation modes:
continuous: The sensor continuously measures temperature and pressure at the interval specified byupdate_interval. This is the default and recommended mode for most applications.idle: The sensor enters a low-power state between measurements. Useful for battery-powered applications.
Hardware Variants
The XENSIV™ DPS3xx family includes several variants with the same I²C interface:
- DPS310: High-precision barometric pressure sensor with ±0.002 hPa (or ±0.02 m) precision
- DPS368: Similar to DPS310 with enhanced temperature compensation
Advanced Example
# Advanced configuration with all options
i2c:
sda: GPIOXX
scl: GPIOXX
sensor:
- platform: xensiv_dps3xx_i2c
id: dps3xx_sensor
address: 0x77
operation_mode: continuous
update_interval: 60s
temperature:
name: "Room Temperature"
filters:
- sliding_window_moving_average:
window_size: 5
send_every: 1
pressure:
name: "Room Pressure"
filters:
- sliding_window_moving_average:
window_size: 5
send_every: 1See Also
- Sensor Filters
- I²C Bus Component
- DPS310 Component (alternative implementation)
- Template Sensor
- xensiv_dps3xx_i2c/xensiv_dps3xx_i2c.h