IoT (Internet of Things) project of Temperature, Pressure, and Altitude measurement using Pressure sensor BMP180 and Arduino device
In this project, we are going to build a temperature, pressure, and altitude measuring system. In this project, we will use atmospheric pressure sensor model BM 180 to detect temperature, atmospheric pressure, and altitude, Arduino device, and 16 X 4 characters LCD to display the calculated temperature, pressure, and altitude.
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, atmospheric pressure, and altitude. The microcontroller of the sensor device sends the start sequence to measure temperature, pressure, and altitude. The values of temperature, pressure, and altitude are read over 16 X 4 characters LCD.
The calculated temperature, pressure, and altitude are measured in ℃ (degree celsius), hPa (hector Pascal) and feet respectively. In this case, the rate of measuring temperature, atmospheric pressure and altitude is once per second.
The altitude and pressure are inversely proportional to each other. When the altitude increases, pressure goes down and when altitude decreases it leads to an increase in atmospheric pressure.
Write an Arduino program to measure temperature, pressure, and altitude using pressure sensor BMP180, Arduino and character LCD.
Download the SFE_BMP180-master.zip file from https://github.com/LowPowerLab/SFE_BMP180
Add the SFE_BMP180-master zip file before compiling the above code otherwise, it generates an error SFE_BMP180.h: No such file or directory.
To add the zip file click Sketch > Include Library > Add .ZIP Library... and add your downloaded SFE_BMP180-master zip.
Compile and upload your code into the Arduino device.
Now, connect your all devices accordingly. Digital circuit of Arduino, BMP180, and 16 X 4 characters LED is given below:
Next TopicIoT Google Firebase NodeMCU