Using Raspberry Pi to drive BMP180

Objective:

In this project, we will use raspberry pi to get environment temperature, pressure  from BMP180 sensor and calculate  attitude, then display the result to monitor.
Parts and Devices
1 x raspberry Pi3
1 x GPIO to Breadboard 40-pin breakout interface
1 x BMP180
USB mouse and keyboard
1 x HDMI cable and monitor(or HDMI TV)
breadboard and jump wires

Circuit Graph:

180bmp_bb

Software Installation:

1)download BMP Python Library by typing following command:

wget  http://osoyoo.com/driver/Adafruit_Python_BMP.zip

unzip Adafruit_Python_BMP.zip

2)install BMP Python Library

cd   Adafruit_Python_BMP

sudo python  setup.py  install

3) test BMP180 program

cd  examples

sudo python simpletest.py

4) result

after running code, you will see result as per following picture:

resault

DSC_6787

Posted in Raspberry Pi Project

Leave a Reply

WordPress spam blocked by CleanTalk.

Meta