Source: https://mokxi.com/parts/bmp180
Updated: 2026-11-16

Part

# BMP180 pressure sensor

Bosch’s older barometer on its GY-68 board: pressure and temperature, read through the Adafruit BMP085 library.

See every part

- 5 pins
- In 1 project
- In 1 lesson

Drawn live by the editor's own code, at the size you see it.

At a glance

## The BMP180 pressure sensor in brief

What it is, and where it sits on the bench.

The BMP180 is the Bosch barometric pressure and temperature sensor on the GY-68 breakout; the BMP085 is its predecessor with the same interface. The pins are VCC, 3.3 to 5 V, since the board has a 3.3 V regulator, GND, SCL and SDA, the I2C bus at address 0x77, and 3V3, the regulator’s output. The chip reports an uncompensated temperature and pressure, and eleven calibration words at 0xAA turn them into degrees and pascals with the datasheet’s integer arithmetic. The model carries the datasheet’s own example calibration, so the library reads back the sliders to 0.1 degrees C and a pascal. A temperature takes 4.5 ms and a pressure 4.5, 7.5, 13.5 or 25.5 ms by oversampling. The chip id is 0x55 at 0xD0. Two sliders set the temperature and the air pressure.

Family

Sensors

Pins

5

Pins

## 5 pins

Named as the editor names them, so a wire lands where you expect it.

Pin

What it does

VCC

Supply, 3.3 to 5 V; the board has a 3.3 V regulator.

GND

Ground.

SCL

The I2C bus, address 0x77.

SDA

The I2C bus, address 0x77.

3V3

The regulator's output.

How to use it

## How to read a BMP180 barometer with an Arduino

VCC goes to the Uno’s 5 V and GND to ground. SCL goes to A5 and SDA to A4, and the sensor answers at I2C address 0x77. The board has a 3.3 V regulator, so it takes 3.3 to 5 V, and the 3V3 pin is the regulator’s output and stays free.

The Adafruit BMP085 library drives the BMP180. bmp.begin() checks the chip id, 0x55 at register 0xD0, and readTemperature(), readPressure() and readAltitude() do the datasheet’s arithmetic. The pressure is in pascals and the altitude is in meters against 101325 Pa. Drag the temperature and air pressure sliders and the printed values follow them to 0.1 degrees C and a pascal.

Part pin

Board pin

VCC

5V

GND

GND

SCL

A5

SDA

A4

Click to open it in the editor

This is the simulator itself, running here. Click anything to open it in the editor.

Open this project in the editor Read the full tutorial

Temperature, pressure and altitude

Common errors

## Common BMP180 pressure sensor errors and fixes

What goes wrong

The fix

The sketch says it could not find the sensor.

Check SDA on A4, SCL on A5 and VCC. The BMP180 answers at 0x77 and has chip id 0x55.

The altitude looks wrong.

readAltitude() measures against 101325 Pa, standard sea level pressure, so it is right only when the weather is standard. Drag the pressure slider to see it move.

The pressure reads zero or stale.

A conversion takes 4.5 to 25.5 ms and the data registers keep the last result until it finishes. Use the library’s calls, which wait.

Questions

## Questions and answers

### What is the BMP180’s I2C address?

0x77, with chip id 0x55 at register 0xD0.

### Which library reads the BMP180?

Adafruit’s BMP085 library, which drives the BMP180 too. Mokxi ships it as Adafruit_BMP085.h.

### What units does readPressure() return?

Pascals. readAltitude() returns meters against 101325 Pa.

How it is modeled

## What is true about the BMP180 pressure sensor, here

In its help article’s own words: what the simulation gets right, and where it stops.

### Modeled

From the BMP180 datasheet:

Raw counts and a calibration. The chip reports an uncompensated temperature and
pressure; eleven calibration words at 0xAA turn them into degrees and pascals with
the datasheet's integer arithmetic. The model carries the datasheet's own example
calibration and inverts that arithmetic, so the sheet's algorithm and the library
read back the sliders to 0.1 C and a pascal.

Conversions take time. A temperature takes 4.5 ms and a pressure 4.5, 7.5, 13.5
or 25.5 ms by oversampling. The start-of-conversion bit reads 1 until it is done,
and the data registers keep the last result until then.

Chip id and reset: 0x55 at 0xD0, and 0xB6 to 0xE0 resets it.

### Not modeled

Noise, and so the averaging oversampling buys (a reading is exact at every setting,
only slower), and the EOC pin of the bare chip.

From BMP180 pressure sensor, in full.

Projects

## See the BMP180 pressure sensor in a project

One built-in project uses it. It opens in the editor, already wired.

Lessons

## Where it turns up in a lesson

One lesson places it in its own circuit.

### Learn articles

1 lesson

- Arduino BMP180: Pressure, Altitude and Code

Boards

## The boards it is shown on

This board has a built-in project with the BMP180 pressure sensor in it.

- Arduino Uno R3

Libraries

## Arduino libraries for the BMP180 pressure sensor

Built in, so the sketch compiles with nothing to install. Each page has the calls, the wiring and an example to run.

- Adafruit BMP085 Library

Keep going

## Keep going

- I2C Explained: Addresses, Acknowledges and Pull-Ups
- I2C Scanner for Arduino and ESP32, and Fixes
- Pressure and temperature, BMP280
- Pressure, humidity and temperature, BME280
- Gas and weather, BME680

More parts

## The rest of the bench

Every one of these is drawn and simulated the same way.

Full-size breadboard

A real 0.1 inch grid with the rails and the center channel, 63 columns wide.

Jumper wires

Drag from any pin or hole to any other. Corners snap, and you can drag them.

Power

A supply rail at the voltage you choose.

Ground

The other end of every circuit.

LED

Lights when current flows. Five colors, and the brightness is what your eye would see.

Filament lamp

A tungsten bulb in a holder: an inrush when it is switched on cold, tens of milliseconds to warm up, and dim on half its voltage.

Resistor

Any value you like, with the color bands drawn to match.

ESP32-C3-DevKitM-1

A RISC-V board that runs your firmware at 160 MHz on the real memory map.

Pushbutton

A 12 mm tactile switch. Hold it while the simulation runs.

Raspberry Pi Pico

The RP2040 board on our own Cortex-M0+ core. Pick a program and press Run.

Raspberry Pi Pico W

Raspberry Pi Pico W (RP2040). The same board and the same pinout as a Pico, with the CYW43439 on it. The WiFi is simulated (no radio; real internet through the Cloud panel’s switch), and the on-board LED, which hangs off that chip rather than off GP25, is driven through the same path. Everything else is the Pico.

Raspberry Pi 4 Model B

Raspberry Pi 4 Model B: the 40-pin header, driven by main.py with RPi.GPIO or gpiozero.

See every part

## Wire up the BMP180 pressure sensor

Open the editor and push it into the breadboard. It is free, and it runs on your own machine.

Start building free Open the editor
