BMP180 GY-68 Digital Barometric Pressure Sensor Board

SKU: GA6003
BMP180 GY-68 digital barometric pressure sensor board, front view, with the 4-pin header strip beside it

BMP180 GY-68 Digital Barometric Pressure Sensor Board

SKU: GA6003
Default
Regular price $2.99
/
  • Free shipping on all orders over $100
  • Secure payments
  • In stock, ready to ship
  • Inventory on the way

Add $100.00 more for free shipping

Tax included. Shipping calculated at checkout.

You'll also need

Choose a quantity and add it to your cart.

USB Cable - Type C
$2.9910+ in stock
Breadboard 400 holes
$4.4910+ in stock
Breadboard Jumper Wire - 140pcs
$11.9910+ in stock

A BMP180 (GY-68) digital barometric pressure and temperature sensor board with an I2C interface, for weather stations, altitude readings and data loggers.

The Bosch BMP180 measures air pressure from 300 to 1100 hPa (+9000 m to −500 m relative to sea level) and temperature, and returns calibrated readings over I2C at address 0x77. This GY-68 board brings the sensor out to a 4-pin header so you can wire it to Arduino, ESP32 and Raspberry Pi Pico boards.

Sensor
Bosch BMP180
Pressure range
300–1100 hPa
Interface
I2C (0x77)
Chip supply
3–5 V

Why choose it

  • Pressure and temperature in one sensor — pressure resolution of 0.01 hPa and temperature resolution of 0.1 °C, read over the same two I2C wires.
  • Fully calibrated — the calibration values are stored in the chip’s own 176-bit E2PROM, and a short program turns the raw readings into temperature, pressure and altitude.
  • Very low power — a typical 5 µA supply current at 1 sample per second in standard mode, with a typical 0.1 µA in standby.

Specifications

Core
Sensor chip Bosch BMP180
Measures Barometric pressure and temperature
Interface I2C
I2C address 0x77 (0xEE write / 0xEF read)
Maximum I2C clock 3.4 MHz
Measurement
Pressure range 300 to 1100 hPa (+9000 m to −500 m relative to sea level)
Pressure resolution 0.01 hPa
Relative pressure accuracy ±0.12 hPa (±1.0 m), 950–1050 hPa at 25 °C, VDD = 3.3 V
Absolute pressure accuracy −4.0 to +2.0 hPa (typical −1.0 hPa), 300–1100 hPa at 0 to +65 °C, VDD = 3.3 V
Pressure noise 0.06 hPa (0.5 m) in ultra low power mode; 0.02 hPa (0.17 m) in advanced resolution mode
Temperature resolution 0.1 °C
Absolute temperature accuracy ±0.5 °C typical at 25 °C (−1.5 to +1.5 °C)
Pressure conversion time 4.5 ms (ultra low power) to 76.5 ms (advanced resolution), maximum
Power
Chip supply voltage (VDD) 3 to 5 V
Chip I/O supply voltage (VDDIO) 3.1 to 3.6 V
Supply current at 1 sample/s 3 µA (ultra low power), 5 µA (standard), 7 µA (high resolution), 12 µA (ultra high resolution), 32 µA (advanced resolution)
Maximum voltage on any chip pin 4.25 V
Environment
Operating temperature −40 to +85 °C
Full accuracy temperature range 0 to +65 °C
Maximum overpressure 10,000 hPa
Physical
Board size 21 × 18 mm
Weight 1.18 g

Supply, accuracy and temperature figures are the Bosch BMP180 chip ratings from its datasheet.

Compatibility

Platform Works Notes
Arduino UNO / Nano (5 V) ◐ With adapter Power the board from the 3.3 V pin and put an I2C level shifter between SDA / SCL and the 5 V pins (the chip allows 4.25 V on any pin).
ESP32 / ESP8266 (3.3 V) ✓ Yes 3.3 V I2C. On a standard ESP32 DevKitC, use GPIO21 (SDA) and GPIO22 (SCL).
Raspberry Pi Pico (3.3 V) ✓ Yes 3.3 V I2C signals. The Tutorial covers the ESP32 only.
Raspberry Pi (Linux, 3.3 V GPIO) ✓ Yes 3.3 V I2C signals. The Tutorial covers the ESP32 only.
Software ✓ Yes Arduino IDE with the Adafruit BMP085 Library (supports BMP180).

In the box

Included
  • 1 × BMP180 GY-68 digital barometric pressure sensor board
  • 1 × 4-pin header strip (as shown in the product photo)

Applications

  • Home weather station that logs pressure and temperature
  • Altitude readout for a balloon, drone or hiking project
  • Indoor and outdoor navigation add-on, for example slope detection or vertical speed (rise and sink rate)
  • Leisure and sports data loggers

Tutorial

What you'll build: read the temperature, air pressure and an estimated altitude from the BMP180 once a second and print them on your computer. · About 20 minutes.

How it works

The BMP180 senses air pressure, and altitude is worked out from it: pressure drops as you go higher. The chip sends raw numbers over two I2C wires, and the code combines them with the chip’s stored calibration values.

  • GND — the return path for the current. Every GND must be joined together.
  • I2C (SDA + SCL) — two wires: SDA carries the data and SCL is the clock. I2C also needs pull-up resistors (the datasheet suggests 4.7 kΩ to the supply voltage).
  • hPa — hectopascal, the unit used for air pressure. Typical sea-level pressure is about 1013 hPa.
  • Altitude — an estimate that depends on the sea-level pressure you give it (101325 Pa is the standard value). Weather changes move the result.

About this board: the pin labels are expected to read VCC (or VIN), GND, SCL and SDA.

ESP32 Tutorial

You need: an ESP32 DevKitC board (ESP32-WROOM-32), a USB data cable for it, this BMP180 board and 4 jumper wires (a breadboard helps).

ESP32 DevKitC3V3GNDGPIO21 (SDA)GPIO22 (SCL)BMP180 (GY-68) boardVCC / VINGNDSDASCL3.3 VGNDSDASCL

■ Power ■ GND ■ I2C (SDA / SCL) ⌒ = wires cross, not connected

# ESP32 pin Module pin Wire Notes
1 3V3 VCC / VIN Red 3.3 V power
2 GND GND Black Common ground
3 GPIO21 (SDA) SDA Blue Default I2C data pin
4 GPIO22 (SCL) SCL Blue Default I2C clock pin

Watch out: ESP32 pins are 3.3 V only, which matches the BMP180 chip. Never feed a 5 V signal into them. Check the pin labels printed on your board.

1
Install the Arduino IDE and add the ESP32 boards
Install the Arduino IDE. Open File → Preferences, paste https://espressif.github.io/arduino-esp32/package_esp32_index.json into “Additional boards manager URLs” and click OK. Then open Tools → Board → Boards Manager, search for esp32 by Espressif Systems and click Install (official install guide).
2
Install the library
Open Sketch → Include Library → Manage Libraries, search for Adafruit BMP085 Library by Adafruit (library page) and click Install. If the IDE offers to install the libraries it depends on (Adafruit BusIO and Adafruit Unified Sensor), choose Install all.
3
Wire it up and select the board
Connect the wires as in the diagram and table, then plug the ESP32 into your computer. Choose Tools → Board → esp32 → ESP32 Dev Module and pick your port under Tools → Port. If no port appears, use a data USB cable and install the USB driver for your board.
4
Check the sensor address
Upload the scanner below, then open Tools → Serial Monitor and set it to 115200 baud. If the upload fails, set Tools → Upload Speed to 115200 and upload again. Use the default I2C pins shown in the pin table so the scanner can find the sensor.
▸ Example 1 — I2C scanner
#include <Wire.h>

void setup()
{
  Wire.begin();
 
  Serial.begin(115200);
  Serial.println("\nI2C Scanner");
}
 
 
void loop()
{
  byte error, address;
  int nDevices;
 
  Serial.println("Scanning...");
 
  nDevices = 0;
  for(address = 1; address < 127; address++ )
  {
    // The i2c_scanner uses the return value of
    // the Wire.endTransmission to see if
    // a device did acknowledge to the address.
    Wire.beginTransmission(address);
    error = Wire.endTransmission();
 
    if (error == 0)
    {
      Serial.print("I2C device found at address 0x");
      if (address<16)
        Serial.print("0");
      Serial.print(address,HEX);
      Serial.println("  !");
 
      nDevices++;
    }
    else if (error==4)
    {
      Serial.print("Unknown error at address 0x");
      if (address<16)
        Serial.print("0");
      Serial.println(address,HEX);
    }    
  }
  if (nDevices == 0)
    Serial.println("No I2C devices found\n");
  else
    Serial.println("done\n");
 
  delay(5000);           // wait 5 seconds for next scan
}

✓ Check: the Serial Monitor shows I2C device found at address 0x77 ! then done.

5
Upload the BMP180 example
Paste the sketch below into a new sketch and click Upload. If the upload fails or stops part-way, set Tools → Upload Speed to 115200 and upload again.
▸ Example 2 — Read temperature, pressure and altitude
// BMP180 (GY-68) - temperature, pressure and altitude
// Wiring: 3V3 -> VCC, GND -> GND, GPIO21 -> SDA, GPIO22 -> SCL (default I2C pins)
#include <Wire.h>
#include <Adafruit_BMP085.h>   // supports BMP085 and BMP180

Adafruit_BMP085 bmp;
const long SEA_LEVEL_PA = 101325;   // standard atmosphere - you can change this

void setup() {
  Serial.begin(115200);              // Serial Monitor must also be 115200 baud
  if (!bmp.begin()) {                // starts I2C and looks for the sensor at 0x77
    Serial.println("BMP180 not found - check wiring");
    while (true) {}                  // stop here
  }
  Serial.println("OK - epartners.co.nz test");   // printed once at start-up
}

void loop() {
  Serial.print("Temperature = ");
  Serial.print(bmp.readTemperature(), 2);
  Serial.println(" C");
  Serial.print("Pressure = ");
  Serial.print(bmp.readPressure() / 100.0, 2);   // Pa to hPa
  Serial.println(" hPa");
  Serial.print("Altitude = ");
  Serial.print(bmp.readAltitude(SEA_LEVEL_PA), 1);
  Serial.println(" m");
  Serial.println();
  delay(1000);                       // you can change this
}

✓ Check: the Serial Monitor (115200 baud) prints OK - epartners.co.nz test once, then Temperature, Pressure and Altitude lines every second. A room-temperature reading and a pressure near 1000 hPa (at low altitude) means it works.

Troubleshooting

Problem Likely cause Fix
“BMP180 not found” or the scan shows nothing SDA and SCL swapped, a loose wire, no power, or missing pull-up resistors Check the pin table, press the wires in firmly, and run the scanner. The address should be 0x77.
Pressure looks lower than the weather report Weather reports quote pressure adjusted to sea level; the sensor reads the pressure where it sits Compare against the sensor’s own readings over time, or set the sea-level value in the code for your area.
Temperature reads a little high The board warms up from nearby parts or your hand Keep it away from heat sources and regulators, and give it time to settle.
Serial Monitor shows odd characters Wrong baud rate Set the Serial Monitor to 115200 baud.
No port appears in Tools → Port Charge-only USB cable, or the USB driver is missing Use a data USB cable and install the USB driver for your board.
Stuck on “Connecting…” Board not in upload mode Hold the BOOT button until uploading starts.
Upload fails or stops part-way Upload speed too high for the USB cable or USB chip Tools → Upload Speed → 115200, then upload again.

Try next: show the readings on an I2C OLED display, or log one reading a minute and graph the pressure over a few days.

Spotted a problem in this tutorial? Email support@epartners.co.nz and we'll check it and update the tutorial.

Good to know
  • The BMP180 chip allows 4.25 V at most on any pin. Power the board from 3.3 V and use a level shifter on SDA and SCL when you work with a 5 V board.
  • Altitude is an estimate worked out from pressure and a sea-level reference value, so changes in the weather change the result.
  • The datasheet marks the chip as sensitive to static electricity and rates overpressure at 10,000 hPa maximum, so handle it with care.

Video guide

Datasheet

Key figures from the manufacturer's datasheet for the Bosch BMP180, the pressure and temperature sensor on this board.

BMP180 digital pressure sensor
Pressure range 300 to 1100 hPa (+9000 m to −500 m relative to sea level)
Supply voltage (VDD) 1.8 to 3.6 V
I/O supply voltage (VDDIO) 1.62 to 3.6 V
Interface I2C, clock up to 3.4 MHz
I2C address 0x77 (0xEE write / 0xEF read)
Operating temperature −40 °C to +85 °C (full accuracy 0 °C to +65 °C)
Supply current at 1 sample/s 5 µA in standard mode
Output resolution 0.01 hPa (pressure), 0.1 °C (temperature)
Relative pressure accuracy ±0.12 hPa (±1.0 m), 950–1050 hPa at 25 °C, VDD = 3.3 V
Pressure conversion time 4.5 ms (ultra low power) to 76.5 ms (advanced resolution), maximum
Maximum voltage on any pin 4.25 V
Chip package LGA with metal lid, 3.6 × 3.8 × 0.93 mm

Download the BMP180 datasheet (PDF, 656 KB)

▸ Preview the datasheet

If the preview does not load on your device, use the download link above.

Source: Bosch Sensortec, BMP180 data sheet, document BST-BMP180-DS000-09, revision 2.5 (5 April 2013).

Resources

Which one should I choose?

Product Key difference Best for
This product (BMP180 GY-68) Bosch BMP180, I2C at 0x77; measures pressure and temperature Pressure, temperature and altitude over I2C
BMP280 Digital Barometric Pressure Altitude Sensor - 3.3V Bosch BMP280 on a 3.3 V board; the listing describes it as an SPI version Projects that use the BMP280 chip
BME280 SPI I2C Humidity, Temperature and Barometric Pressure Sensor Adds relative humidity (0–100 %); I2C and SPI; 3.3 V and 5 V versions listed Projects that also need humidity

FAQ

▸ Can I use the BMP180 with a 5 V Arduino UNO?

Yes, with an adapter. Power the board from the 3.3 V pin and put an I2C level shifter between SDA / SCL and the UNO, because the chip allows 4.25 V at most on any pin.

▸ What is the I2C address?

0x77. The datasheet gives this as 0xEE for writing and 0xEF for reading in 8-bit form.

▸ Is the BMP180 the same as the BMP085?

The datasheet describes the BMP180 as the function-compatible successor of the BMP085, and the Adafruit BMP085 Library supports both.

▸ How accurate is the altitude reading?

Relative pressure accuracy is ±0.12 hPa, which is about ±1.0 m between nearby readings. The absolute altitude depends on the sea-level pressure you set, so weather changes shift it.

▸ Can it measure humidity?

No. The BMP180 measures pressure and temperature only. For humidity, see the BME280 in the comparison table above.

Technical question about this part? Email support@epartners.co.nz with your board and wiring, and we'll help you get it working.

Shipping: $5.99 urban, $9.99 rural. Free shipping on orders of $100 or more.

Order by 10:30am (NZT), Monday to Friday, and we dispatch the same day. Orders placed after 10:30am, on weekends or on public holidays are dispatched the next business day.

Delivery usually takes 1–2 business days after dispatch (2–3 for rural addresses). See our Shipping Policy for full details.

This site is protected by hCaptcha and the hCaptcha Privacy Policy and Terms of Service apply.

Recently viewed