Tuesday, June 14, 2016

BMP180 Barometric Pressure Sensor


This sensor module can be used to calculate temperature, pressure, and altitude. There are five pin connections on this module that include VCC, GND, SCL, SDA, and 3.3. In the circuit below, the 3.3 pin is left unconnected. The I2C pins, SDA (Serial Data) and SCL (Serial Clock), connect to pin A4 and pin A5 of Arduino. The module's VCC pin is connected to the Arduino's 5V supply pin. BMP180 modules from other manufacturers may require different connections. Boards with four or six pins are available in the market.

This example uses the SFE_BMP180 library from SparkFun that can be downloaded here. One of the two examples from the library (SFE_BMP180_example) is then executed. The output can be seen on the serial monitor.


No comments:

Post a Comment