Skip to main content
Barometric pressure and temperature sensor with I2C interface.

Pin names

Power
Voltage supply
Power
3.3V supply
Ground
Ground
I2C
I2C clock line
I2C
I2C data line

Attributes

string
default:"24"
Initial temperature value (celsius)
string
default:"101325"
Initial pressure value (pascals)

Measurement ranges

  • Temperature: -40°C to 85°C
  • Pressure: 30000 Pa to 110000 Pa (300 hPa to 1100 hPa)
The default pressure value of 101325 Pa corresponds to standard sea level atmospheric pressure (1 atm).

Using the BMP180

The BMP180 communicates via I2C at address 0x77. It’s compatible with the BMP085 sensor, so you can use libraries designed for either chip. The sensor measures both barometric pressure and temperature. Common use cases:
  • Weather station projects
  • Altitude measurement (pressure decreases with altitude)
  • Indoor climate monitoring

Controlling the sensor

You can change the temperature and pressure values while the simulation is running. Click on the BMP180 sensor to open a popup with sliders for both values.

Arduino code example

The example below uses the Adafruit BMP085 library (which is compatible with BMP180) to read temperature and pressure. On Arduino Uno, connect SDA to A4 and SCL to A5.

Automation controls

The BMP180 sensor can be controlled using Automation Scenarios. It exposes the following controls:
float
Set the temperature value in Celsius (-40 to 85)
float
Set the pressure value in Pascals (30000-110000)

Example scenario

The following scenario tests the BMP180 by verifying initial readings and then changing the sensor values:

Simulator examples