0
\$\begingroup\$

I am using a DPS310 pressure altitude sensor. I tested the sensor with an Arduino using the Adafruit DSP310 Barometric Pressure Sensor Library.

Initially, the sensor gives 70.5 meter altitude. In the same position, the sensor reads 68.7 meter after 10 minutes.

I have not changed any code segments. How does the sensor behave like that? My aim is to track a box lifting by crane in 3D.

The altitude variation affects height of 3D tracking

What is the solution?

\$\endgroup\$
6
  • 3
    \$\begingroup\$ How are you going to compensate for natural variations in atmospheric pressure? You'd need a second sensor on the ground to give a reference value. At 10 m the pressure would drop to 0.998815 of the value at sea level. \$\endgroup\$
    – Transistor
    Commented Dec 30, 2021 at 12:03
  • \$\begingroup\$ @Transistor, Thats a good idea . \$\endgroup\$
    – Vivek pkd
    Commented Dec 30, 2021 at 12:11
  • 1
    \$\begingroup\$ Met Eireann reports a mid-Atlantic low of 980 mBar and a high of 1026 mBar over France. That's a variation of > 4% which will swamp your altitude variation. \$\endgroup\$
    – Transistor
    Commented Dec 30, 2021 at 12:12
  • \$\begingroup\$ See also my answer to electronics.stackexchange.com/questions/213007/…. \$\endgroup\$
    – Transistor
    Commented Dec 30, 2021 at 12:15
  • \$\begingroup\$ @Transistor is there is any other sensor that can give height ,for tracking object in 3D \$\endgroup\$
    – Vivek pkd
    Commented Jan 5, 2022 at 11:43

1 Answer 1

0
\$\begingroup\$

It's due to the decrease in pressure in higher altitudes, you need some type of reference on the ground (for measuring pressure, maybe use a similar sensor and send both values to a microcontroller) and need to subtract it from the pressure you are measuring at 70.5m altitude. There must be no drift anymore.

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.