Research Careers Contact

GlossaryBarometric pressure sensor

Barometric pressure sensor

A barometric pressure sensor, or barometer, measures absolute air pressure. On a drone or robot, it is used mainly as an altimeter: air pressure falls with height in a known way, so changes in pressure give changes in altitude. Most are small MEMS chips that report pressure and temperature over I2C or SPI.

How it works

A MEMS barometer has a thin membrane sealed over a reference cavity. Air pressure bends the membrane, and piezoresistive or capacitive elements convert the bending into an electrical signal. The chip's internal ADC digitizes the signal, and factory calibration coefficients correct it for temperature and nonlinearity.

Converting pressure to altitude relies on a standard model of the atmosphere, such as the U.S. Standard Atmosphere, 1976, which gives pressure as a function of height. Because weather shifts sea-level pressure from hour to hour, a barometer measures relative altitude well and absolute altitude poorly. Flight software sets a reference at takeoff and tracks changes from there.

Barometric pressure sensor vs GNSS altitude

GNSS reports altitude from satellite geometry, and its vertical error is larger than its horizontal error and jumps as satellites come and go. A barometer is smooth and responsive over short periods but drifts with weather and temperature. Flight controllers fuse both, together with the IMU and sometimes a rangefinder, so each covers the other's weakness.

Why it matters

Altitude hold is one of the most basic drone behaviors, and the barometer is often its main sensor. Errors in barometer readings show up as a drone that bobs, climbs on its own when it speeds up, or drops near the ground. Barometers also feed vertical speed estimates, landing detection and terrain following.

How to get it right

  • Shield the sensor from airflow: prop wash and moving air change the static pressure it reads.
  • Cover it with open-cell foam to damp gusts, and keep it out of direct light, which heats the die.
  • Place it away from hot components, since temperature swings cause drift.
  • Seal the enclosure so that internal pressure follows outside air without sharp transients from fans or ducts.
  • Log barometer data next to GNSS and IMU data during test flights to tune the fusion.

Barometric pressure sensors in robotics and drone hardware

Flight controller boards carry one or more barometers, sometimes from different makers for redundancy. Layout puts the sensor away from regulators and processors, with a small opening or foam pocket in the enclosure. Ground robots use barometers less, but some use them for floor detection in multi-level buildings. Production testing checks each barometer against a reference pressure before the flight controller ships.

Learn more