• Home
  • IOT
  • Articles
  • IoT project of Temperature and Pressure measurement using Pressure sensor BMP180 and Arduino device

IoT project of Temperature and Pressure measurement using Pressure sensor BMP180 and Arduino device

Last updated on May 30 2022
Sankalp Agarwal

Table of Contents

IoT project of Temperature and Pressure measurement using Pressure sensor BMP180 and Arduino device

In this project, we are getting to build a temperature and pressure measuring instrument . during this project, we’ll use a pressure sensor model BMP180 to detect temperature and pressure, Arduino device and 16 X 2 characters LCD to display temperature and pressure.

Hardware requirements

  1. Arduino UNO board
  2. USB cable connector for Arduino device
  3. Pressure Sensor BMP180
  4. 16 X 2 Character LCD Display
  5. Project Board
  6. Jumper wires (male to female, male to male)

Software requirement

1. Arduino software IDE

The working rule of Pressure Sensor BMP180

The pressure sensor BMP180 consists of a piezo-resistive sensor, an analog and digital converter, control unit with E2PROM and a serial I2C interface. It delivers the contributed values of temperature and pressure. The microcontroller of the sensor device sends the beginning sequence to live temperature and pressure. The temperature and pressure are often read over 16 X 2 characters LCD.

The calculated temperature and pressure are measured in ℃, and hPa (hector Pascal) respectively. during this case, the speed of measuring temperature and pressure is once per second.

image001 5
temperature and pressure

Write an Arduino program to live temperature and pressure using pressure sensor BMP180 and character LCD display.

  1. #include
  2. #include
  3. #include
  4. LiquidCrystal lcd(13, 12, 11, 10, 9, 8);//RS,EN,D4,D5,D6,D7
  5. char PRESSURESHOW[4];// initializing a personality of size 4 to display pressure result
  6. char TEMPERATURESHOW[4];// initializing a personality of size 4 to display temperature result
  7. Adafruit_BMP085 bmp;
  8. void setup() {
  9. lcd.begin(16, 2);
  10. // Print a logo message to the LCD.
  11. lcd.print(” BMP180 Sensor”);
  12. lcd.setCursor(0, 1);
  13. lcd.print(“Temp. & Pressure”);
  14. lcd.setCursor(0, 2);
  15. delay (3000);
  16. lcd.clear();//clear display
  17. Serial.begin(9600);
  18. if (!bmp.begin()){
  19. Serial.println(“ERROR”);///if there’s a mistake in communication
  20. while (1) {}
  21. }
  22. }
  23. void loop(){
  24. lcd.print(“Pressure= “); // print pressure
  25. String PRESSUREVALUE = String(bmp.readPressure());
  26. // convert pressure reading to a char array
  27. PRESSUREVALUE.toCharArray(PRESSURESHOW, 4);
  28. lcd.print(PRESSURESHOW);
  29. lcd.print(“hPa “);
  30. lcd.setCursor(0, 1);
  31. lcd.print(“Temperature=”);// print temperature
  32. String TEMPERATUREVALUE = String(bmp.readTemperature());
  33. // convert the reading to a char array
  34. TEMPERATUREVALUE.toCharArray(TEMPERATURESHOW, 4);
  35. lcd.print(TEMPERATURESHOW);
  36. lcd.print(“C “);
  37. lcd.setCursor(0,0);//set the cursor to row and column 0, line1
  38. delay(500);
  39. }

Include the BMP180 library before compiling the above code otherwise, it generates a mistake Adafruit_BMP085.h file or library not found.

To include library click Sketch > Include Library > Manage Libraries…

image002 3
include library

Search for BMP180 library, and install the BMP085/BMP180 Library.

image003 4
BMP180 library

Compile and upload the code into Arduino device.

image005 2
Compile
image007
uploading

Now, connect your all devices accordingly. Digital circuit of Arduino, BMP180, and 16 X 2 characters LED is given below:

image009 1
connect

Result

We measure the pressure and temperature of Delhi within the winter season.

image011 1
Result

So, this brings us to the end of blog. This Tecklearn ‘IoT project of Temperature and Pressure measurement using Pressure sensor BMP180 and Arduino device’ blog helps you with commonly asked questions if you are looking out for a job in Internet of Things (IoT). If you wish to learn IoT and build a career in Internet of Things (IoT) domain, then check out our interactive, Internet of Things (IoT) Training, that comes with 24*7 support to guide you throughout your learning period. Please find the link for course details:

https://www.tecklearn.com/course/iot-internet-of-things-training/

Internet of Things (IoT) Training

About the Course

Internet of Things or IoT, as it is widely known, simply put, is a network of devices which can communicate with each other with regards to sending, receiving and analyzing data. Tecklearn’s IoT Training as an online training platform delivers you the best in the industry IoT knowledge by certified and experienced trainers to master IoT. Interactive sessions include two real-time projects to provide in-depth understanding of advanced IoT concepts that covers IoT methods and technologies, application deployment, network and communication protocols and integrations, security measures and real-time data management on the internet. You will learn IoT introduction, significance, building your own IoT devices, sensors, IoT communication and security. This training will help you be a part of the IoT revolution underway around the globe.

Why Should you take IoT (Internet of Things) Training?

  • The average salary for an IoT Engineer is $163,514 per year in the United States. (Indeed.com)
  • Many industries such as Eddie Stobart Transport and Logistics Company, the Amazon, Dell, Aviva, German Auto Manufacturer Daimler, the John Deere Company and Walt Disney Land are all utilizing the Internet of Things technology to monitor various activities and advance their existing systems.
  • Gartner Says 5.8 Billion Enterprise and Automotive IoT Endpoints Will Be in Use in 2020

What you will Learn in this Course?

Introduction to Internet of Things

  • What is IoT, how does it work
  • IoT vs IIoT
  • Business Cases of IIoT
  • Industry 4.0
  • Properties of IoT device
  • IoT Ecosystem
  • IoT Decision Framework
  • IoT Solution Architecture Models
  • How IoT is Transforming Businesses
  • Major IoT Boards in Market

IoT Communication Protocols

  • Types of wireless communication
  • Major wireless Short-range communication devices and properties
  • Comparison of these devices (Bluetooth, WIFI, ZigBee, 6LoWPAN)
  • Major wireless Long-range communication devices and properties, Comparison of these devices (Cellular IoT, LPWAN)

IoT Architecture

  • The IoT Stack Architecture and the various components and layers
  • The app, the data processing and platform
  • IoT OS like Contiki, FreeRTOS and mbe
  • The edge and the connected thing or device

IoT Sensors and Device Platforms

  • Introduction to IoT Sensors and the role they play in getting the IoT systems work efficiently
  • Micro-electromechanical systems revolutionizing IoT sensors
  • Use Case of Water Quality Monitoring
  • Use Case: Sericulture
  • Difference between microcontroller and microprocessor
  • IoT Device Platforms – Arduino, Raspberry Pi etc
  • Smartphone Centric Architecture
  • IoT Application Layer protocols
  • Hands On

Arduino Platform and Arduino Interfacing

  • Arduino physical board, libraries and the Integrated Development Environment
  • Arduino Shields various operations such as heat and light sensing, GPS, UI display
  • Programming Arduino using C language
  • Controlling external devices using pins on the Arduino board
  • The Arduino Interface
  • Reading inputs from various sources and providing an output
  • Working with sensors for sensing and controlling the physical world
  • Deploying various types of sensors and connecting it to the Arduino
  • Constant conversion between analog and digital signals for information exchange between the physical and digital domains
  • Hands On

Raspberry Pi Platform and Raspberry Pi Interfacing

  • Introduction to Raspberry Pi
  • Set up of Raspberry Pi environment
  • Coding for the Raspberry Pi using Python
  • Deploying Python-based Integrated Development Environment
  • Interfacing the Raspberry Pi with the physical world
  • Introducing the various input and output devices
  • Raspberry Pi expansion boards for building complex hardware setup
  • Real-time demo of Raspberry Pi interfacing
  • Hands On

Arduino Uno Wifi and IoTivity

  • Iotivity
  • Iotivity Architecture
  • Hands On

Netduino Platform and Netduino Interfacing

  • Introduction to Netduino Platform
  • Setting up the Netduino environment
  • Coding for the Netduino
  • Interfacing the Netduino with the physical world
  • Introducing the various input and output devices
  • Real-time demo of Netduino interfacing
  • Hands On

IoT for Arduino, NodeMCU and Netduino

  • Control LED light using Netduino board
  • NodeMCU
  • Blynk

Project: Building WSN with MQTT, Raspberry Pi & Arduino

Got a question for us? Please mention it in the comments section and we will get back to you.

0 responses on "IoT project of Temperature and Pressure measurement using Pressure sensor BMP180 and Arduino device"

Leave a Message

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