• Skip to main content
  • Skip to primary sidebar

Homemade Circuit Projects

Need circuit help? Post them in the comments! I've answered over 50,000!

Blog | Categories | About | Contact | Calculators-online
You are here: Home / Sensors and Detectors / Arduino Barometric Pressure Sensor Circuit – Working and Interfacing Details

Arduino Barometric Pressure Sensor Circuit – Working and Interfacing Details

Last Updated on November 25, 2023 by Swagatam 4 Comments

In this article we are going to explore, what is a Barometer and how to interface a barometric BMP180 sensor with Arduino. We will also be exploring some of its important specification and finally I have explained how to predict weather using barometric readings.

Table of Contents
  • What is Barometer?
  • Illustration of Barometric sensor:
  • Specifications:
  • How it Works
  • How to predict pressure level?

What is Barometer?

Barometer is an instrument for measuring atmospheric pressure. The atmospheric pressure is the amount of force exerted by the atmosphere of earth.

Earth’s atmospheric pressure changes time to time, the change in the atmospheric pressure can predict short term weather condition in the local area.

In modern times, we can get weather forecast on our finger tips via smartphone, TV, radio etc. But in early days, around 17th century, the weather forecast was depend on barometer, which was fabricated using toxic chemical elements such as mercury.

Mercury based barometer was a handy tools for scientists to farmers. It predicted weather fairly accurate, it helped scientist to conduct scientific experiments on atmosphere, and farmers know when to grow crops at right time.

Later on mechanical based barometer was invented, which didn’t use any kind of liquid. Luckily, we are living in era of advanced technology, where barometric sensors are inexpensive and does not size more than our thumb nail.

Illustration of Barometric sensor:

BMP180 module
P 20161024 002230 2

Now, you know what a barometer is and where it is used.

Specifications:

• It can measure pressure ranging from 300hPa to 1100hPa (1hPa=100Pa), “Pa” denotes Pascal and hPa denotes hectopascal.
• Operating temperature is from -40 to +85 degree Celsius.
• Measuring temperature ranging from 0 to 65 degree Celsius.
• Typical operating voltage 3.3V.
• Power consumption 5 microampere.
Now, let’s dive into circuit diagram.

How it Works

barometric BMP180 sensor circuit using Arduino

The barometric BMP180 sensor circuit using Arduino is actually very simple as it utilizes i2C bus, which is two wire communication.  The chip uses 3.3V from Arduino from on-board regulated power supply. It can measure local atmospheric pressure and ambient temperature.


You may also like: How to build an atmospheric pressure indicator circuit using LEDs


Author’s prototype:

P 20161024 215804 2

The program is designed to calculate other parameters too such as atmospheric pressure at sea level and altitude from sea level, which we can witness from Serial monitor of IDE.

barometer 1

Before you dive into programming part, download the library file from the following link: github.com/adafruit/Adafruit_BMP085_Unified.git and add to Arduino library folder.

Program Code:

//-----------Program by R.Girish----------------//
#include <Wire.h>
#include <Adafruit_BMP085.h>
Adafruit_BMP085 bmp;
void setup()
{
Serial.begin(9600);
if (!bmp.begin())
{
Serial.println("Could not find a valid BMP085 sensor, check wiring!");
while (1) {}
}
}
void loop()
{
Serial.print("Temperature = ");
Serial.print(bmp.readTemperature());
Serial.println(" *C");
Serial.print("Pressure = ");
Serial.print(bmp.readPressure());
Serial.println(" Pascal");
Serial.print("Altitude = ");
Serial.print(bmp.readAltitude());
Serial.println(" meters");
Serial.print("Pressure at sealevel (calculated) = ");
Serial.print(bmp.readSealevelPressure());
Serial.println(" Pascal");
Serial.print("Real altitude = ");
Serial.print(bmp.readAltitude(101500));
Serial.println(" meters");
Serial.println();
delay(10000);
}
//-----------Program by R.Girish----------------//

The link for the library file is originally made for BMP085, but it is compatible with BMP180.

NOTE: While compiling the program, the IDE gives a warning, please ignore it, the code and library works just fine.

How to predict pressure level?

The weather forecast which is broadcast on TV and radios, are measured from sea level and not local atmospheric pressure, this is because the altitude can affect the reading from location to location and measuring at sea level will give a standard value across all the barometer. So, we are focusing on Pressure level at sea level (Calculated) on serial monitor.

The atmospheric pressure keeps on changing and no constant value can be obtained. But, one can determine the weather by monitoring the reading at some interval of time.

Look at the readings and note it, wait for half an hour and note the reading again, if the reading goes high, this means the weather going to be sunny. If the reading goes low, we can predict a storm or rain.

This is same across all barometers. Higher the difference between, initial and current readings, higher the possibility of changing weather condition.

You'll also like:

  • 1.  How to Use Diodes, Transistors, ICs as Temperature Sensors
  • 2.  Very Low Frequency (VLF) Detector Circuit
  • 3.  Microwave Sensor or a Doppler Sensor Circuit
  • 4.  Anti Spy RF Detector Circuit – Wireless Bug Detector
  • 5.  Tuned Infrared (IR) Detector Circuit
  • 6.  Non-Contact Current Sensor Circuit Using Hall-Effect IC

Filed Under: Sensors and Detectors Tagged With: Arduino, Barometric, Interfacing, Pressure, Sensor, Working

About Swagatam

I am an electronics engineer and doing practical hands-on work from more than 15 years now. Building real circuits, testing them and also making PCB layouts by myself. I really love doing all these things like inventing something new, designing electronics and also helping other people like hobby guys who want to make their own cool circuits at home.

And that is the main reason why I started this website homemade-circuits.com, to share different types of circuit ideas..

If you are having any kind of doubt or question related to circuits then just write down your question in the comment box below, I am like always checking, so I guarantee I will reply you for sure!

Previous Post: « How to make a Remote Controlled Game Scoreboard Circuit
Next Post: RFID Reader Circuit using Arduino »

Reader Interactions

Comments

  1. Calin says

    June 7, 2022 at 2:28 am

    You integrate with Arduino. Is it possible to connect the sensor to a gear and make it move a needle? I am thinking of a handheld barometer, without a CPU.

    Reply
    • Swagatam says

      June 7, 2022 at 9:10 am

      I don’t think that’s possible with the BMP180 sensor, you will have to depend on Arduino for the interfacing.

      Reply
      • Calin says

        June 7, 2022 at 1:43 pm

        Thank you for the prompt response.

        Reply
  2. PCOS says

    April 2, 2020 at 2:38 pm

    How do you calibrate the current pressure to make sure your altitude is correct.

    What is the performance spec on this. Could I use it in a weather balloon.

    Reply

Need Help? Please Leave a Comment! We value your input—Kindly keep it relevant to the above topic! Cancel reply

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

Primary Sidebar




Subscribe to New Posts

Categories

  • Arduino Projects (89)
  • Audio and Amplifier Projects (132)
  • Automation Projects (17)
  • Automobile Electronics (101)
  • Battery Charger Circuits (83)
  • Datasheets and Components (104)
  • Electronics Theory (143)
  • Free Energy (37)
  • Games and Sports Projects (11)
  • Grid and 3-Phase (19)
  • Health related Projects (25)
  • Home Electrical Circuits (12)
  • Indicator Circuits (14)
  • Inverter Circuits (88)
  • Lamps and Lights (142)
  • Meters and Testers (69)
  • Mini Projects (46)
  • Motor Controller (64)
  • Oscillator Circuits (27)
  • Pets and Pests (15)
  • Power Supply Circuits (108)
  • Remote Control Circuits (50)
  • Security and Alarm (64)
  • Sensors and Detectors (101)
  • Solar Controller Circuits (59)
  • Temperature Controllers (42)
  • Timer and Delay Relay (49)
  • Transmitter Circuits (29)
  • Voltage Control and Protection (38)
  • Water Controller (36)

Tags

AC Alarm Amplifier Application Arduino Automatic Battery Charger Circuits Control Controlled Controller Current Datasheet DC Detector Digital Driver Electronic Explained Explored Generator High Indicator Inverter Lamp LED Light Meter Motor Power Regulator Remote Sensor Simple Single Solar Supply Switch Timer Transistor Voltage Water Watt Working




Other Links

  • Privacy Policy
  • Cookie Policy
  • Disclaimer
  • Copyright
  • Videos
  • Sitemap




People also Search

555 Circuits | 741 Circuits | LM324 Circuits | LM338 Circuits | 4017 Circuits | Ultrasonic Projects | SMPS Projects | Christmas Projects | MOSFETs | Radio Circuits | Laser Circuits | PIR Projects |

Social Profiles

  • Twitter
  • YouTube
  • Instagram
  • Pinterest
  • My Facebook-Page
  • Quora
  • Stack Exchange
  • Linkedin



  • Recent Comments

    • Swagatam on Over Current Cut-off Power Supply Using Arduino
    • Swagatam on 10 Useful Active Filter Circuit Diagrams Explored
    • Swagatam on Treadmill Motor Speed Controller Circuit
    • Swagatam on IC 741 Power Supply Circuits
    • Swagatam on Simple Capacitive Discharge Ignition (CDI) Circuit

    © 2025 · Swagatam Innovations