/BMP180_Breakout

Breakout board for the Bosch BMP180 barometric pressure sensor

Primary LanguageEagle

BMP180_Breakout

Breakout board and example code for the Bosch BMP180 barometric pressure sensor.

BMP180 Breakout

Product page: www.sparkfun.com/products/11824

Datasheet: github.com/sparkfun/BMP180_Breakout/blob/master/BMP180 Datasheet V2.5.pdf

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 tested using Arduino version 1.0.5.

TL;DR: The one-step procedure to install all of the required files is to open the "Arduino" folder contained in this archive, and drag the contents into your personal Arduino sketch folder (this is normally located in your personal documents folder). This will create a "libraries" folder containing the required library and example sketch.

If you get a warning that there is already a "libraries" folder, go ahead and add the included files to it. If there is an older version of this library in the folder, please overwrite it with the version in this archive. If it is running, restart the Arduino IDE to get it to recognize the new library.

###Running the example sketch:

  1. 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.

  2. Connect your Arduino to your computer.

  3. Start the Arduino IDE. Select the proper COM port and board type.

  4. 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.

  5. Upload the sketch to your Arduino.

  6. Open the Serial Monitor window (magnifying glass icon un upper right of IDE).

  7. Set the Serial Monitor to 9600 baud (menu in bottom right).

You should now be seeing pressure measurements in the Serial Monitor window. If you see errors, you may not have connected the BMP180 Breakout Board to your Arduino properly. See step 1 above.

If you have questions, don't hesistate to contact us at techsupport@sparkfun.com.

Have fun! Your friends at SparkFun.

License Informatiom

  • 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.

Authors

  • Mike Grusin, SparkFun Electronics

Acknowledgements

Changelog

  • 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)