BMP085 Analog Barometer & Temperature Sensor

The BMP085 is an analog barometer/atmospheric pressure sensor coupled with a temperature sensor. It’s analog and uses a two-wire I2C interface. I got mine from Adafruit. They include some pin headers you can solder to it or you can wire it up directly.

A great tutorial from Adafruit is here.

It’s a pretty little sensor..

Below is the sketch for it along with the library and some data sheets.

[php]
#include <Wire.h>
#include <BMP085.h>

BMP085 bmp;

void setup() {
Serial.begin(9600);
bmp.begin();
}

void loop() {
Serial.print(“Temperature = “);
Serial.print(bmp.readTemperature());
Serial.println(” *C”);

Serial.print(“Pressure = “);
Serial.print(bmp.readPressure());
Serial.println(” Pa”);

Serial.println();
delay(500);
}
[/php]
Download the BMP085 Data Sheet

Download the BMP085 Breakout schematic

Download the BMP085 Library

Advertisements

Author: Helicopter Jeff

I'm a vinyl decal cutting and designing, Astrophotography and general photography capturing, RC helicopter/quad copter pilot, Arduino and Raspberry Pi hardware/software developer, network, scripting and troubleshooting ninja living in the metro NY area. I am passionate about my hobbies so much I do them for a living. There's nothing better than getting paid to do what you love.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s