This precision sensor from Bosch is the best low-cost sensing solution for measuring barometric pressure and temperature. Because pressure changes with altitude you can also use it as an altimeter! The sensor is soldered onto a PCB with a 3.3V regulator, I2C level shifter and pull-up resistors on the I2C pins. The BMP180 is the next-generation of sensors from Bosch, and replaces the BMP085.
The good news is that it is completely identical to the BMP085 in terms of firmware/software/interfacing – you can use any example code/libraries for BMP085 as a drop-in replacement.
Applications
- Optimized for use in mobile phones, PDAs, GPS navigation devices and outdoor equipment.
Features
- High precision digital pressure sensors for consumer applications.
- Ultra-low power
- Low-voltage
- I2C interface
Specifications
- Pressure sensing range: 300-1100 hPa (9000m to -500m above sea level)
- Up to 0.03hPa / 0.25m resolution
- -40 to 85?C operational range, -2?C temperature accuracy
Document
Connect GY-68 to Arduino
Arduino Sketch:
#include <Wire.h> #include <Adafruit_BMP085.h> // Connect VCC of the BMP180 sensor to 3.3V // Connect GND to Ground // Connect SCL to i2c clock thats A5 // Connect SDA to i2c data thats A4 Adafruit_BMP085 bmp; void setup() { Serial.begin(9600); if (!bmp.begin()) { Serial.println("BMP180 sensor not found"); while (1) {} } } void loop() { Serial.print("Temperature = "); Serial.print(bmp.readTemperature()); Serial.println(" *C"); Serial.print("Altitude = "); Serial.print(bmp.readAltitude(101500)); Serial.println(" meters"); Serial.println(); delay(1000); }
Output
This was the reading from the serial monitor
Temperature = 22.90 *C
Altitude = 103.32 meters