BMP180 Windows IoT

BMP180 Windows IoT Project

Lets Get Started!

In this project, we will use Windows 10 IoT Core to get sensor readings from a BMP180 Digital Barometric Pressure Sensor over I2C bus. Its simple to get things running with the library provided. So lets get started!bmp180 windows iot

The Hardware.

First of all we need to get acquainted with the hardware! The BMP180 is a Digital Barometric Pressure Sensor created by Bosch Sensortec. There are many breakout variations out in the market. You need to be extra careful on the input voltage of the breakout module because there is a possibility to destroy it if you connect it wrong. The sensor itself works on max 3.6V, according to Bosch tech specs. Some breakouts support 3.3V input voltage, others 5V and there are also some which support both 3.3V and 5V.

The BMP180 Sensor Hardware

The Wiring.

The wiring is very simple. You are going to need 4 cables to connect the power (VCC), the ground (GND), the I2C Data (SDA) and the I2C Clock (SCL) between the Raspberry Pi and the BMP180.

The Code.

Assuming that you already know how to setup your Windows 10 IoT development environment (if you don’t know how to do it read the instructions here) download the code from GitHub and deploy it and run it.

The App.

If anything goes well you’ll find yourself in front of a screen that has the sensor initialized correctly. The calibration data are displayed and your screen will be like  the Screenshot 1. Now you are ready to press the button Get Sensor Readings so the App will start queering the sensor each second and will display the results (Screenshot 2). You will notice that the application displays also the raw data from the sensor for debugging reasons. You can check the calculation algorithm of the pressure and the temperature using the calibration coefficients on the senor’s datasheet.


Wiring Schematic

schematic bmp180 windows iot

The RED cable goes from Raspberry 3.3V PWR (Pin1) to BMP180 VCC.
The BLACK cable goes from Raspberry GND (Pin6) to BMP180 GND.
The BLUE cable goes from Raspberry I2C1 SDA (Pin 3) to BMP180 SDA.
The GREEN cable goes from Raspberry I2C1SCL (Pin5) to BMP180 SCL.

For more detail: BMP180 Windows IoT

About The Author

Ibrar Ayyub

I am an experienced technical writer holding a Master's degree in computer science from BZU Multan, Pakistan University. With a background spanning various industries, particularly in home automation and engineering, I have honed my skills in crafting clear and concise content. Proficient in leveraging infographics and diagrams, I strive to simplify complex concepts for readers. My strength lies in thorough research and presenting information in a structured and logical format.

Follow Us:

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top