Barometric pressure sensors measure absolutely the pressure of the air around them. pressure varies with both the weather and altitude. counting on how you interpret the info, you’ll monitor changes within the weather, measure altitude, or the other tasks that need an accurate pressure reading.

We will show you ways to attach this sensor to an Arduino microcontroller and use the included software library to urge measurements out of the sensor. (If you’re employing a different sort of microcomputer these instructions and ASCII text file should help.) We’ll also show you ways to interpret the readings for both monitorings the weather and showing changes in altitude.

How to Working

The BMP180 may be a piezoresistive sensor that detects pressure. Piezoresistive sensors are made from a semiconductor (usually silicon) that changes resistance when a mechanical force like air pressure is applied.

BMP180 measures both pressure and temperature because temperature changes the density of gasses like air. At higher temperatures, the air isn’t as dense and heavy, so it applies less pressure on the sensor. At lower temperatures, the air is denser and weighs more, so it exerts more pressure on the sensor. The sensor uses real-time temperature measurements to catch up on the pressure readings for changes in air density.The temperature measurement is taken first, followed by pressure measurement. 

The BMP180 features a 176 bit EEPROM that contains 11 different calibration coefficients that are unique to every sensor. These, alongside the UP and UT, are wont to calculate truth atmospheric pressure and temperature.

Pin wiring

Wiring the sensor to the Arduino is pretty straightforward:


Pin Wiring to Arduino Uno
Vin 5V DC
SCL Analog pin ( A0-A5)
SDA Analog pin ( A0-A5)

Installing the SFE_BMP180 Library

  1. Click here to download the SFE_BMP180 library. You should have a .zip folder in your Downloads folder


  1. It can measure temperature and altitude.
  2. Pressure range: 300 to 1100hPa
  3. High relative accuracy of ±0.12hPa
  4. Can work on low voltages
  5. 4Mhz I2C interface
  6. Low power consumption (3uA)
  7. Pressure conversion time: 5msec
  8. Potable size.


  1. Operating voltage of BMP180: 1.3V – 3.6V
  2.  input voltage of BMP180MODULE: 3V to 5.5V
  3. Peak current: 1000uA
  4. Consumes 0.1uA standby
  5. Maximum voltage at SDA , SCL : VCC + 0.3V
  6. Operating temperature: -40ºC to +80ºC