IoT project of Temperature and Pressure measurement using Pressure sensor BMP180 and Arduino device
In this project, we are going to build a temperature and pressure measuring system. In this project, we will use a pressure sensor model BMP180 to detect temperature and pressure, Arduino device and 16 X 2 characters LCD to display temperature and pressure.
The working principle 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 start sequence to measure temperature and pressure. The temperature and pressure can be read over 16 X 2 characters LCD.
The calculated temperature and pressure are measured in ℃, and hPa (hector Pascal) respectively. In this case, the rate of measuring temperature and pressure is once per second.
Write an Arduino program to measure temperature and pressure using pressure sensor BMP180 and character LCD display.
Include the BMP180 library before compiling the above code otherwise, it generates an error Adafruit_BMP085.h file or library not found.
To include library click Sketch > Include Library > Manage Libraries...
Search for BMP180 library, and install the BMP085/BMP180 Library.
Compile and upload the code into Arduino device.
Now, connect your all devices accordingly. Digital circuit of Arduino, BMP180, and 16 X 2 characters LED is given below:
We measure the pressure and temperature of Delhi in the winter season.