Iot Lab
Iot Lab
BELAGAVI – 590018
INDEX
2 Pressure sensor
HARDWARE LIST
SL.No Components
1 Arduino uno
2 HC-SR04 Ultrasonic Sensor
3 DHT22 Temperature Sensor
4 Bread Board
5 Connecting Wires
6 LCD display
Aim:
To display the temperature and humidity in pc screen.
Objective:
Raspberry Pi 3 Model B was released in February 2016 with a 1.2 GHz 64-bit quad core processor,
on-board 802.11n Wi-Fi, Bluetooth and USB boot capabilities. An SD card inserted into the slot on
the board acts as the hard drive for the Raspberry Pi. It is powered by USB and the video output can
be hooked up to a traditional RCA TV set, a more modern monitor, or even a TV using the HDMI
port. Raspbian comes preloaded with Python, the official programming language of the Raspberry Pi
and IDLE 3, a Python Integrated Development Environment.
Components required:
Sl. No Components Required QTY
1 Connecting wires 1
Circuit diagram:
Procedure:
Source Code:
import RPi.GPIO as GPIO
import dht11
import time
# initialize GPIO
GPIO.setwarnings(False)
GPIO.setmode(GPIO.BCM)
#GPIO.cleanup()
Serial.print("Humidity: ");Serial.print(hum);
Serial.print(" %, Temp: "); Serial.print(temp);
Serial.println(" Celsius");
time.sleep(1)
Output:
Applications:
A humidity sensor (or hygrometer) senses, measures and reports both moisture and air temperature. Relative
humidity becomes an important factor, when looking for comfort. A sample humidity sensor.
Conclusion:
Successfully implemented & we can observe temperature and humidity on pc display.
Aim:
To know the amount pressure using BMP180 with the help of ESP32.
Objective:
In this project we will learn about amount of Pressure Using ESP32 & Pressure Sensor
Module(BMP180). The BMP180 is a digital pressure sensor and it measures the absolute pressure of
the air around it. It features a measuring range from 300 to 1100hPa with an accuracy down to 0.02
hPa. ESP32 is a series of low-cost, low-power system on a chip microcontrollers with integrated
Wi- Fi and dual-mode Bluetooth.
Components required:
Circuit diagram:
Procedure:
Serial.print(bmp.readAltitude(1020
00)); Serial.println();
Department of, AJIET, Mangaluru
Internet of Things Lab Report
delay(500);
}
Output:
Applications:
1 . We will measure the amount of pressure applied.