Breakout board and example code for the Bosch BMP180 barometric pressure sensor.
Product page: www.sparkfun.com/products/11824
Github repository: github.com/sparkfun/BMP180_Breakout
###Arduino library installation:
This archive contains an Arduino library and example sketch showing how to use this sensor. The library must be installed onto your computer in order for the example code to work correctly.
If you haven't, install the free Arduino IDE (Integrated Development Environment), available at www.arduino.cc. This code was written using Arduino version 1.0.5. and updated to be used with the Arduino library manager of version 1.6.3.
To install without the manager, download the Arduino folder then use the Arduino IDE to add it. From the IDE, go Sketch->Include Library->"Add .ZIP Library", then choose the Arduino folder that was downloaded. The IDE will pick proper names from the library.properties file and put the libraries in your user sketch folder.
###Running the example sketch:
- Connect the BMP180 breakout board to your Arduino. You can solder wires, use jumper wires and headers, etc.
"-" (GND) to GND
"+" (VDD) to 3.3V
(WARNING: do not connect "+" to 5V or the sensor will be damaged!)
You will also need to connect the I2C pins (SCL and SDA) to your Arduino. These pins are different on different Arduino models:
Any Arduino SDA SCL Uno, Redboard, Pro/Mini A4 A5 Mega2560, Due 20 21 Leonardo, Pro/Micro 2 3
Leave the IO (VDDIO) pin unconnected. This pin is for connecting the BMP180 to systems with lower logic levels such as 1.8V.
Connect your Arduino to your computer.
Start the Arduino IDE. Select the proper COM port and board type.
In the Arduino IDE, go to the File menu, and down to Examples/SFE_BMP180/SFE_BMP180_example. If you do not see this item, you likely did not install the library properly. See above.
Upload the sketch to your Arduino.
Open the Serial Monitor window (magnifying glass icon un upper right of IDE).
Set the Serial Monitor to 9600 baud (menu in bottom right).
If you have questions, don't hesistate to contact us at email@example.com.
Have fun! Your friends at SparkFun.
For hardware, we use the Creative Commons Share-Alike 3.0 License.
For software, we use the "Beerware" license: you can do ANYTHING you want with this software. If you like it, and we meet someday, you can, but are under no obligation to, buy me a (root) beer in return.
- Mike Grusin, SparkFun Electronics
- The SFE_BMP180 library uses floating-point equations for the BMP085 developed by the Weather Station Data Logger project.
- Restructred for arduino IDE
- Pulled in library
hardware V10 (release)
- Minor updates
- Library fork from SFE_BMP085
hardware V02 (proto)
- Rearranged header: put VDD/GND/SDA/SCL in "standard" order
- I2C pullups to VDDIO
hardware V01 (review)