Skip to content
forked from jrleeman/BMP180

Code to read the BMP180 barometric pressure sensor.

Notifications You must be signed in to change notification settings

Akronaut/BMP180

 
 

Repository files navigation

BMP180 Barometric Pressure Sensor

This code reads the BMP180 barometric pressure sensor by Bosch. Currently support for the Parallax Propeller in SPIN to supplement existing code for the Arduino provided by SparkFun Electronics. Testing was done with the BMP180 breakout board (link below) and a Propeller ASC+. Different resolutions are selected on sensor initialization as documented in the code.

Sensor Details

Sensor Breakout (Sparkfun)

Sensor Datasheet

Arudino Github Repo (Sparkfun)

Setup

  1. Connect the power headers of the sensor to ground and 3.3V respectively.
  2. Connect the clock line to pin 0 of the propeller.
  3. Connect the data line to pin 1 of the propeller.
  4. Power the microcontroller and load the 'Simple Sensor Read.spin' code
  5. Watch temperature and pressure readings come into the terminal!

Files

  • BMP180 Spin.spin - Spin object to read the sensor
  • Sensor Resolution.spin - Streams readings at each sensor resolution setting to show timing and resolution changes.
  • Simple Sensor Read.spin - Simple demonstration of how to read the temperature and pressure.

Notes

About

Code to read the BMP180 barometric pressure sensor.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published