This precision sensor 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. Using the sensor is easy. If you're using an Arduino, simply connect the VIN pin to the 5V voltage pin, GND to ground, SCL to I2C Clock (Analog 5) and SDA to I2C Data (Analog 4). Download the BMP180 Arduino library and example code for temperature, pressure and altitude calculation. Immediately you'll have precision temperature, pressure and altitude data.