BMP180 Digital Pressure and Temperature Sensor
Overview
A digital atmospheric pressure and temperature sensor based on the BOSCH BMP180 chip with I2C interface.

Compatible Modules
- BMP085
- BMP180
Specifications (BMP180)
- 1.8V to 3.6V Supply Voltage
- Low power consumption: 0.5uA at 1Hz
- I2C interface
- Very low noise: up to 0.02hPa (17cm)
- Full calibrated
- Pressure Range: 300hPa to 1100hPa (+9000m to -500m)
Supported GPIO
- Raspberry Pi 0~4
- Raspberry Pi 5
- BeagleBone Black/Green
- Jetson Nano
- FT232H, FT2232H, FT4232H
- MCP2221
Commands
[INIT]
Initializes the module and sets operation mode.
Item | Type | Description |
---|---|---|
Mode | WRITE | Selects operation mode (Power Saving, Standard, High Resolution, Ultra High Resolution). |
[GET_TEMP_PRESSURE]
Reads temperature and atmospheric pressure from the sensor.
Item | Type | Description |
---|---|---|
Temperature(℃) | READ | Temperature measured by the sensor. |
Pressure(Pa) | READ | Atmospheric pressure measured by the sensor. |
[GET_SEA_LEVEL_PRESSURE]
Calculates sea level pressure using altitude input.
Item | Type | Description |
---|---|---|
Altitude(m) | WRITE | Enter the altitude where the module is located. |
Sea Level Pressure(Pa) | READ | Calculated sea level pressure (pressure at mean sea level). |
[READ_DEVICE_ID]
Reads the module’s device ID.
Item | Type | Description |
---|---|---|
Device ID | READ | Returns the module’s device ID as a decimal number. |
[READ_FIRMWARE_VERSION]
Reads the module’s firmware version.
Item | Type | Description |
---|---|---|
Firmware Version | READ | Returns the module’s firmware version as a decimal number. |
[SOFT_RESET]
Performs a soft reset of the module.
Example
Objective
Display temperature and atmospheric pressure measurements from the sensor on dashboard gauge widgets.
Parts
Part | Quantity |
---|---|
Raspberry Pi 4 * | 1 |
BMP180 | 1 |
* Other compatible hardware may be used. See Supported GPIO for details.
Wiring
Connect each BMP180 pin to the corresponding GPIO pin as listed in each row below.
BMP180 | GPIO |
---|---|
VIN | 3.3V |
GND | GND |
SCL | 3 (I2C1 SCL) |
SDA | 2 (I2C1 SDA) |

Project Link