0% found this document useful (0 votes)
12 views

minorp

The project report details the development of an IoT-based system for monitoring humidity, temperature, and sound levels using Arduino Uno, DHT11 sensor, and ESP8266 Wi-Fi module. It aims to provide real-time data upload to the ThingSpeak cloud platform, enabling users to monitor environmental conditions and address noise pollution issues. The project is guided by Mr. Vivek Bhargava and fulfills the requirements for a Bachelor of Technology degree in Electronics and Communication Engineering.

Uploaded by

sumitsainiji8488
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
12 views

minorp

The project report details the development of an IoT-based system for monitoring humidity, temperature, and sound levels using Arduino Uno, DHT11 sensor, and ESP8266 Wi-Fi module. It aims to provide real-time data upload to the ThingSpeak cloud platform, enabling users to monitor environmental conditions and address noise pollution issues. The project is guided by Mr. Vivek Bhargava and fulfills the requirements for a Bachelor of Technology degree in Electronics and Communication Engineering.

Uploaded by

sumitsainiji8488
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 28

Dr.

Hari Singh Gour University, Sagar

Institute of Engineering and Technology

ELECTRONICS & COMMUNICATION


ENGINEERING
Session: 2022-26

REPORT ON

Humidity and Temperature Monitoring

SUBMITTEB BY :-

SUMIT SAINI

MANISH OJHA

YASH PARASHAR

AMAN PRAJAPATI
1
ELECTRONICS & COMMUNICATION
ENGINEERING

CERTIFICATE

This is to certify that this Project Report is the bonafide work of SUMIT SAINI, MANISH OJHA,
YASH PARASHAR, AMAN PRAJAPATI who carried out the project entitled “IOT Based Humidity
and Temperature Monitoring using Arduino Uno with a feasibility of Sound Decibel Meter”
under our supervision from November 2024 to Janauary 2025.

INTERNAL GUIDE

Mr. VIVEK BHARGAVA

HEAD OF THE DEPARTMENT

Dr. ASHISH VERMA

2
ACKNOWLEDGMENT

We are deeply grateful to everyone who contributed to the successful completion of this project, " IOT Based
Humidity and Temperature Monitoring using Arduino Uno with a feasibility of Sound Decibel Meter." This report
represents the combined efforts, support, and encouragement of numerous individuals.

We would like to extend my sincere gratitude to Vivek Bhargava sir, my project advisor, whose mentorship and
expertise were invaluable in guiding the technical and conceptual aspects of this project. Their insights greatly
enriched my understanding and refined the project's implementation.

Our thanks also go to the Department Electronics and Communication Engineering, for providing the essential
facilities and resources, without which this project would not have been possible. We are especially grateful to Prof.
Ashish Verma sir for their assistance and for making the resources available to me during the project.

Additionally, we are thankful to our peers, who offered their time, feedback, and encouragement, helping me tackle
challenges along the way. Finally, we express my gratitude to our family and friends for their unwavering support,
patience, and motivation throughout this journey.

Thank you all for making this achievement possible.

3
DECLARATION

We SUMIT SAINI, MANISH OJHA, YASH PARASHAR, AMAN PRAJAPATI hereby


declare that the Project Report entitled “IOT Based Humidity and Temperature
Monitoring using Arduino Uno with a feasibility of Sound Decibel Meter” done by me
under the guidance of Mr. VIVEK BHARGAVA is submitted in partial fulfillment of the
requirements for the award of Bachelor of Technology degree in Information Technology.

SIGNATURE OF THE CANDIDATE

3
ABSTRACT

Internet of Things (IOT) conceptualizes the idea of remotely connecting and monitoring
real word objects (things) through the Internet. The IOT based Interactive and
Controlling and Monitoring System for industrial and home automation is a new
Technological advancement which can control and monitor devices not only for
Industrial and home automation but any real time life appliances remotely. We can read
a data from any sensor and analyse it graphically from anywhere in the world. Here,
we can read temperature and humidity data from DHT11 sensor and upload it to a
ThingSpeak cloud which is an open IOT platform using Arduino Uno and ESP8266- 01
module. Arduino Uno is a Microcontroller which would fetch a data of humidity and
temperature from DHT11 sensor and process it and give it to an ESP8266 Module.
ESP8266 is a WIFI module. It can transfer a data to IOT cloud. So here we are adding
a feasibility of an Sound Decibel Meter. It can sense a sound level using mic, convert
that sound into its corresponding dB, and then upload it to the cloud. People celebrate
various joyous events of life which call for bursting crackers but some welfare
associations of many societies put up a no cracker. The government often explains to
the common man the danger of bursting crackers both health wise in terms of the noise
and air pollution it causes. Firecrackers are extremely harmful for senior citizen and
small children. Firecracker can cause hearing loss, high blood pressure, sleeping
disturbances and sudden exposure to loud noise can cause temporary or permanent
deafness or even result in heart attack. Environment Protection act states that the noise
produced are exceeding 145db. We are desigining a device which can reduce the noise
pollution caused by crackers and which will help people to live in an safer environment
without any kind of health disorders. So, the sound from the environment is sensed
using high sensitivity microphone. The measured value is in the form of voltage. The
voltage is given to the controller which will convert the voltage into its corresponding
dB value. Once the conversion process is done then that value is sent to nearby mobile
by bluetooth module. The Bluetooth used here is HC-05 series which will give way for
two-way communication. From the mobile, the data is uploaded in the cloud
using IOT
technology.

4
TABLE OF CONTENTS

CHAPTER NO TITLE NAME PAGE NO


ABSTRACT VII
LIST OF FIGURES XI
LIST OF ABBREVIATION XII

1 INTRODUCTION
1.1 GENERAL 13
1.2 OUTLINE OF THE PROJECT 14

2 AIM AND SCOPE OF THE PRESENT


INVESTIGATION
2.1 AIM 15
2.2 PROBLEM STATEMENT 15
2.3 LITERATURE REVIEW 15
2.4 SCOPE 19

3 EXPERIMENTAL OR MATERIALS AND


METHODS AND ALGORITHMS USED
3.1 GENERAL 20
3.2 ALGORITHM 20
3.3 PROJECT DESCRIPTION 21
3.4 SUMMARY 22

4 RESULT AND DISCUSSION,


PERFORMANCE ANALYSIS
4.1 REQUIREMENTS 23
4.2 ROLE OF C 23
4.3 RESULT AND DISCUSSION 24

6
5 SUMMARY AND CONCLUSION
5.1 CONCLUSION 27
5.2 FUTURE WORK 27

REFERENCE 28
APPENDIX 28

7
LIST OF FIGURES

FIGURE NO. DIAGRAM NAME PAGE NO.

2.3.1 Sound Sensor 16


2.3.2 Thing Speak 16
2.3.3 ESP8266 17
2.3.4 DHT11 Sensor 17
2.3.5 Arduino Uno Board 18
3.3.1 Product Description 21
4.3.1 Tempertature and Humidity Output 24
4.3.2 Sound sensor Output 25
4.3.3 Thing speak account 25
4.3.4 Thing speak account 26

8
LIST OF ABBREVATIONS

S.NO ABBREVIATIONS EXPANSIONS


1. ESP8266 WIFI MODULE
2. DHT11 TEMPERATURE AND
HUMIDITY SENSOR
3. IOT INTERNET OF THINGS

9
CHAPTER 1

INTRODUCTION

1.1 GENERAL
Internet of Things (IOT) is influencing our lifestyle from the way we react to the way we
behave. IOT can bring big benefits which can help us to optimise time and boost
productivity. The IOT is a system of interrelated computing devices , mechanical and
digital machines, objects or people that are provided with unique identifiers(UIDs) and
the ability to transfer data over human or human-to-computer interaction. The definition
of Internet of Things has evolved due to the convergence of multiple technologies and
embedded systems. Embedded Systems, wireless sensor network, control system,
automation and others all contribute to enable Internet of Things.

My project, IOT Based Humidity and Temperature Monitoring using an Arduino Uno
with an Feasibility of Sound Decibel Meter depends upon how Temperature and
Humidity can be read using an DHT 11 sensor and uploading the data to an cloud
where we can store multiple data and we can have an account of how many entries
have been made in a certain amount of time interval. Genearally, uploading of the data
is done by an WiFi module. There are two types of WiFi module. They are ESP8266
and Node MCU. I am here using the Wifi module named ESP8266. It is an build in
microcontroller chip which is embedded with all kind of facilities. ESP8266 is the device
which transfers and uploads the data in the cloud. Thingspeak is the platform where
the cloud is storing its data. It is an open IOT platform.

I am adding an feasibility of Sound Decibel Meter. It can sense the sound and indicate
when the sound crosses more than the threshold value.

10
1.2 OUTLINE OF THE PROJECT

The project is about Monitoring Temperature and Humidity and also the sound
using two different types of sensors. For Temperature and Humidity monitoring
system we have the DHT11 sensor which is specially designed for monitoring the
temperature and humidity in an specific area. For measuring the sound we have
the Sound sensor which consist of an in build MIC system which can record the
noise or the sound. Once, the mic records the signals it shows whether the
sound is less or more than the threshold frequency value. If the frequency is
more than the threshold frequency then the bulb would glow and if the frequency
is less than the threshold frequency then the bulb would not glow.

11
CHAPTER 2

AIM AND SCOPE

2.1 AIM
The main objective of the project is monitoring Humidity and Temperature
monitoring using an Arduino Uno with an Feasibility of Sound Decibel Meter.

2.2 PROBLEM STATEMENT


My project is about monitoring the Humidity and Temperature using an Arduino
Uno with an Feasibility of Sound Decibel Meter.

2.3 LITERATURE REVIEW


In this project, we are monitoring the Humidity and Temperature using an Arduino
Uno Board with an Feasibility of Sound Decibel Meter. This is all about using an DHT11
sensor for monitoring an Humidity and Temperature and an Sound sensor for
measuring the Sound Decibel Meter. It includes the code map of C. We need to have
an Arduino software installed in our computer with the version 1.8.7. We need to
download certain library functions such as Thingspeak, DHT sensor, sound sensor,
ESP8266. For the temperature and humidity the output would be shown in the serial
monitor as well as in the cloud. For uploading the data in the cloud we need to have
an Thingspeak account so that we can upload our data in our account and we can
make it public so that everyone can utilize it. As, far as Sound Decibel Meter is
concerned we would get out desired output when the bulb glows on/off.

12
FIG 2.3.1

FIG 2.3.2

13
FIG 2.3.3

FIG 2.3.4

14
FIG 2.3.5

15
2.4 SCOPE
C is the language used in the monitoring and displaying of the Humidity and
Temperature Sensor using an Arduino Uno Board with the feasibility of Sound Decibel
Meter. C is an computer programming language. A scope in any programming is a
region of the programming where a defined variable can have its existence and beyond
that the variable it cannot be accesed. There are two places where the variables can
be declared. They are LOCAL VARIABLES and GLOBAL VARIABLES.

16
CHAPTER 3

ALGORITHMS AND METHODS

3.1 GENERAL
In this project, we are monitoring the Humidity and Temperature using an Arduino
Uno Board with an Feasibility of Sound Decibel Meter. This is all about using an DHT11
sensor for monitoring an Humidity and Temperature and an Sound sensor for
measuring the Sound Decibel Meter. It includes the code map of C. We need to have
an Arduino software installed in our computer with the version 1.8.7. We need to
download certain library functions such as Thingspeak, DHT sensor, sound sensor,
ESP8266. For the temperature and humidity the output would be shown in the serial
monitor as well as in the cloud. For uploading the data in the cloud we need to have
an Thingspeak account so that we can upload our data in our account and we can
make it public so that everyone can utilize it. As, far as Sound Decibel Meter is
concerned we would get out desired output when the bulb glows on/off.

3.2 ALGORITHM
 Install an Arduino Software version 1.8.7 in our computer for our Arduino Uno
Circuit Board.
 Assign each segment correspondingly as per our requirement.
 Fix the delay time of 1 second in the program.
 Type the source code in the computer.
 We have different circuit connections for Humidity and Temperature Sensore
and Sound Decibel Meter.
 For Humidity and Temperature sensor we Connect:
 VCC of the WiFi module to 3.3V of Arduino Board.
 IN of WiFi module to 3.3V of Arduino Board.
 GND of Wifi module to GND of Arduino.
 RX of Wifi module to TX of Arduino
 TX of Wifi module to RX of Arduino.

17
 For Sound Decibel Meter we Connect:
 GND pin of Sound sensor to GND of Arduino.
 VCC pin of Sound sensor to 5V of Arduino.
 Digital pin of Sound sensor to A0 of Arduino.

3.3 PROJECT DESCRIPTION


C is the language used for monitoring an displaying the Temperature and Humidity
Sensor with an feasibility of Sound Decibel Meter.

FIG 3.3.1

The above diagram shows the connection of an IOT based Humidity and Temperature
sensor using an feasibility of Sound Decibel Meter.

18
3.4 SUMMARY
By using an C program we are able to display an IOT based Humidity and Temperature
Sensor using an feasibility of Sound Decibel Meter. This devicde is used for monitoring
the amount of Humidity and Temperature in the city and in parallel the amount of sound
pollution caused in the society. This project can be used in many ways as an alarm
systems in traffic signals and during certain occasions such as Diwali. It shows how
much amount of Sound is being getting produced. Hence, we can use it as an barrier
as not to produce sound pollution more than certain decibel limit.

19
CHAPTER 4

SYSTEM IMPLEMENTATION

4.1 REQUIREMENTS
I.HARDWARE REQUIREMENTS:
 System with 2GB of RAM
 KEYBOARD
 MOUSE
 A cable connecting with the system and the Arduino board.
 DHT 11 Sensor.
 Sound Sensor.
 ESP8266 (WIFI MODULE)
 Resistors.
 Wires.
 LED Bulbs.

II. SOFTWARE IMPLEMENTATION


 An ArduinoGenuino 1.8.7 version software for the Arduino Uno Board.

4.2 ROLE OF C
C is the language used in the displaying of the IOT based Humidity and Temperature
Sensor using a Feasibility of Sound Decibel Meter. C is an computer programming
language. C is a program in which it consist of both user defined standard library
functions and pre defined standard library functions. An scope in any programming is
a region of the programming where a defined variable can have its existence and
beyond that the variable it cannot be accesed. There are two places where the
variables can be declared. They are LOCAL VARIABLES and GLOBAL VARIABLES.
There are many advantages in an C programming like,
 It improves the reusability of the code.
 Same function can be used in any program rather than writing the same code

20
 Debugging of the code would be easier.
 Errors are easily been traced.
 It reduces the size of the statements and are replaced by function calls in C.

4.3 RESULTS AND DISCUSSION

FIG 4.3.1

21
Fig 4.3.2

Fig 4.3.3

22
Fig 4.3.4

23
CHAPTER 5

CONCLUSION AND FUTURE WORK

5.1 CONCLUSION
Displaying of an IOT based Humidity and Temperature monitoring system with the
feasibility of Sound Decibel meter is an easy short project which can be done by
anyone who has an good knowledge about the embedded technologies and how an
wifi system is getting connected to cloud and its system settings. If a person knows
about the connection then it is a very easy project to be executed.

5.2 FUTURE WORK


In this project, we can try to make a device consiting of DHT11 sensor, sound sensor
and the wifi module (ESP8266). We, can try making so that we do not need two
different devices for monitoring IOT based Humidity and Temperature and Sound
sensor.

24
REFERENCES

1. Tinker cad - www.tinkercad.com.


2. Arduino –www.arduino.cc.
3. Programming in C – Zamlya Chan.

APPENDICIES

SOURCE CODE FOR DHT11 SENSOR

For DHT 11
#include <SimpleDHT.h>

// for DHT11,
// VCC: 5V or 3V
// GND: GND
// DATA: 5
int pinDHT11 = 5;
SimpleDHT11 dht11;

void setup() {
//start working...
Serial.begin(9600);
Serial.println("Temperature and Humidity Data");
}

void loop() {

delay(250);

25
// read without samples.
byte temperature = 0;
byte humidity = 0;
int err = SimpleDHTErrSuccess;
if ((err = dht11.read(pinDHT11, &temperature, &humidity, NULL)) !=
SimpleDHTErrSuccess) {
Serial.print("Read DHT11 failed, err="); Serial.println(err);delay(1000);
return;
}
Serial.print((int)temperature); Serial.print(" *C, ");
Serial.print((int)humidity); Serial.println(" *H");

// DHT11 sampling rate is 1HZ.


delay(1500);
}

SOURCE FOR SOUND SENSOR

const int ledpin=13;


const int soundpin=A2;
const intthreshold=2000;
void setup() {
Serial.begin(9600);
Serial.println("Sound Data");
pinMode(ledpin,OUTPUT);
pinMode(soundpin,INPUT);
}

void loop() {

intsoundsens=analogRead(soundpin);
if (soundsens>=threshold) {

26
digitalWrite(ledpin,HIGH);
delay(1000);
}
else{
digitalWrite(ledpin,LOW);
}
Serial.print(int(soundsens)); Serial.print(" *DB, ");
}

SOURCE CODE FOR ESP8266

#include <ThingSpeak.h>

#include <DHT.h>

#define DHTPIN 5 // DHT data pin connected to Arduino pin 5

#define DHTTYPE DHT11 // DHT11 (DHT Sensor Type )

DHT dht(DHTPIN, DHTTYPE); // Initialize the DHT sensor

#define SSID "Priyuuu" // "WiFi Name"

#define PASS "12345678" // "Password"

#define IP "184.106.153.149"// thingspeak.com ip

String msg = "GET /update?key=WOE21WEJKA2ZSIDS"; //change it with your


key...

27
float temp;

int hum;

String tempC;

int error;

void setup()

Serial.begin(115200); // use default 115200.

Serial.println("AT");

delay(5000);

if(Serial.find("OK")){

connectWiFi();

28

You might also like