Skip to content
Simple real-time plotter to test Infinion DPS 310 pressure sensors
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Testing DPS310 Pressure sensors

For this test we are using two DPS310 pressure sensors. Both sensors are connected to the I2C bus of an arduino. The pressure is logged at around 10Hz and the pressure difference between the two sensors is calculated and crudely high pass filtered. We are interested in the variations in relative altitude between the two sensors.


  • Case A corresponds to a variation in pressure in the room (opening the window). Both sensrors measure the same variation in pressure so the difference (at the bottom) remains 0. Good.
  • Case B coresponds to moving sensor B about 1 meter up and back down. The decrease in pressure is clearly visible. Sensor A is not affected and the difference reflect accuraly the change in relative altitude between the 2 sensors. Good.
  • Case C coresponds to warming up sensor B by placing a cup of coffee next to it. Both sensors are kept stationary. Exact variation in temperature has not been measured. The graph shows that the pressure reading for sensor B is affected and the presure difference is also affected. Not so good.

Some form of temperature compensation seem necessary in order to ensure that pressure differences are related to changes in relative altitude and not temperature changes.

You can’t perform that action at this time.