In this tutorial, we will see how we can interface BMP180 Digital Pressure Sensor with ARIES v3.0 board using I2C interface. The sensor is a low-cost sensor used for measuring barometric pressure and temperature. The ultra-low power, low voltage electronics of the BMP180 is used in applications like mobile phones, PDAs, GPS navigation devices and outdoor equipment.

BMP180

BMP180 is a high precision sensor designed for consumer applications. It is designed to measure Barometric Pressure or Atmospheric pressure. Barometric pressure is the measurement of air pressure in the atmosphere, specifically the measurement of the weight exerted by air molecules at a given point on Earth. BMP180 sensor senses the pressure and provides that information in digital output. Since temperature affects the pressure measurements, every pressure reading needs to be temperature compensated. To compensate, the BM180 also has high precision temperature sensor.

Prerequisites

Components Required

  • ARIES v3.0 Board
  • USB type C to USB type A cable
  • BMP180 pressure temperature sensor
  • Jumper Wires

Circuit Diagram

Connection Diagram for BMP180 with ARIES v3.0

Connections:

BMP180ARIES V3 board
GNDGND
VCC3V3
SCLSCL-1
SDASDA-1
Connection pins of BMP180 & ARIES v3.0 Board

Procedure

Open and set up the Arduino IDE as described in Getting Started with ARIES v3.0.

  • Make sure you have selected ARIES v3 Board from Tools -> Board -> VEGA Processor: ARIES Boards -> ARIES v3
  • Select Tools -> Flash Mode -> Enabled
  • Select Programmer as VEGA FLASHER from Tools -> Programmer -> VEGA FLASHER
  • Also select appropriate port from Tools -> Port -> COM* (ARIES v3)

Now, Open Files -> Examples -> Under Examples for ARIES v3 -> Wire-> bmp180_pre_temp_sensor

Libraries

Arduino libraries are an extension of the standard Arduino API and consists of thousands of libraries, both official and contributed by the community. Libraries simplifies the use of complex codes. Every version of Arduino IDE has a library manager for installing Arduino software libraries. The libraries required for this projects are

  • Adafruit BMP085 Library
  • Adafruit BusIo

To install the libraries required for this project.

Go to Tools -> Library Manager -> and search for Adafruit BMP085 Library

Click on Install all

Once you have downloaded the required libraries you can upload the code to ARIES board.

Output

Once the code is uploaded, Open the Serial Monitor in 115200 baudrate and you can see the pressure and temperature values on serial monitor.

Demonstration

By mydhily

Leave a Reply

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