You are on page 1of 28

28

DEPARTMENT OF MECHANICAL ENGINEERING

Temperature and Humidity Monitoring For Domestic


Applications

MINOR PROJECT REPORT


Submitted by

ABHISHEK PRATAP SINGH 1RV18ME006


ANUJ KUMAR NIGAM 1RV18ME020
NISAR AHMAD SHEIKH 1RV18ME072
RAVI TANWANI 1RV18ME087

Under the Guidance Of


Prof. Jinka Ranganayakulu
Dr. H D Gopalakrishna
Associate Professor Moderator

Dept. of Mechanical Engineering Dept. of Mechanical Engineering

RV College of Engineering RV College of Engineering

In partial fulfilment for the award of degree of


Bachelor of Engineering in
Mechanical Engineering 2020-2021
DEPARTMENT OF MECHANICAL ENGINEERING

CERTIFICATE

This is to certify that the Minor Project work titled ‘Temperature and Humidity Monitoring For
Domestic Applications’ is carried out by , Abhishek Pratap Singh (1RV18ME006), Anuj
Kumar Nigam (1RV18ME020), Nisar Ahmad Sheikh (1RV18ME072) and Ravi Tanwani
(1RV18ME087) who are bonafide students of RV College of Engineering, Bengaluru, in partial
fulfilment for the award of degree of Bachelor of Engineering in Mechanical Engineering of
the Visvesvaraya Technological University, Belagavi during the year 2020-2021. It is certified that
all corrections/suggestions indicated for the Internal Assessment have been incorporated in the
minor project report deposited in the departmental library. The minor project report has been
approved as it satisfies the academic requirements in respect of Minor Project Work (18ME64)
prescribed by the institution for the said degree.

Prof. Jinka Ranganayakulu Dr. M Krishna Dr. K N Subramanya


Associate Professor Prof. and Head Principal
Dept. of Mechanical Dept. of Mechanical RV College of Engineering
Engineering Engineering Bangalore

External Viva

Name of Examiners Signature with date

1.

2.

BE- Mechanical Engineering-Dept of Mechanical Engg. RVCE i


Temperature and Humidity Monitoring For Domestic Applications

DEPARTMENT OF MECHANICAL ENGINEERING

DECLARATION

We, Abhishek Pratap Singh (1RV18ME006), Anuj Kumar Nigam (1RV18ME020), Nisar
Ahmad Sheikh (1RV18ME072) and Ravi Tanwani (1RV18ME087) students of Sixth Semester
B.E, Mechanical Engineering, RV College of Engineering, Bengaluru hereby declare that the
project titled Temperature and Humidity Monitoring For Domestic Applications is carried out
by us and submitted in partial fulfilment for the award of the Degree of Bachelor of Engineering
in Mechanical Engineering for the academic year 2020-2021.

Further we declare that the content of the project report has not been submitted previously by
anybody for the award of any degree or diploma to any other University.

We also declare that any Intellectual property rights generated out of this project carried out at
RVCE will be property of RV College of Engineering, Bengaluru and we will be only one of the
co-authors of the same.

Place: Bengaluru 1. Abhishek Pratap Singh


Date: 2. Anuj Kumar Nigam
3. Nisar Ahmad Sheikh
4. Ravi Tanwani

BE- Mechanical Engineering-Dept of Mechanical Engg. RVCE ii


Temperature and Humidity Monitoring For Domestic Applications

ACKNOWLEDGEMENT

The successful completion of this project work was made possible through the valuable
contribution of a number of people. To say thank you to all of them is not even enough to express
our gratitude.

Our first debt of gratitude and deep regards must go to our guides Prof. Jinka Ranganayakulu,
Associate Professor, Department of Mechanical Engineering and Dr. H D Gopalakrishna,
Moderator, Department of Mechanical Engineering, for their valuable and inspiring guidance,
wholehearted support, suggestions, patience and constant encouragement throughout our project
work and their immense help in the preparation of this thesis. The blessing, help and guidance
given by them from time to time shall carry us a long way through our journey.

We also express our gratitude to our panel members Prof. Jinka Ranganayakulu and Dr. H D
Gopalakrishna of the Department of Mechanical Engineering for their valuable comments and
suggestions.

Our sincere thanks to Dr. M. Krishna, Professor and Head, Department of Mechanical
Engineering, for his valuable suggestions and support to carry out the entire project work in the
facilities of the Department for their advice and encouragement throughout the project work.

Lastly, our special thanks go to our parents for their blessings have been a great source of
inspiration for us.

BE- Mechanical Engineering-Dept of Mechanical Engg. RVCE 3


Temperature and Humidity Monitoring For Domestic Applications

ABSTRACT

‘’ This study explored the use of Internet of Things (IoT) in monitoring the temperature and
humidity of a data centre in real-time using a simple monitoring system to determine the
relationship and difference between temperature and humidity with respect to the different
locations of measurements.’’

‘’ In this work, we are implementing smart digital fan module for controlling fan based on room
temperature. And also we can access the temperature remotely through cloud. Temperature of the
room can be sensed by using DHT11 temperature sensor. The sensed signal is send to
microcontroller. If temperature is below the required temperature value then the fan is off and if
the temperature is above the required value then the fan starts running.’’

‘’ The design circuit can be used in many practical applications, where the circuit can be
connected to a device for whose temperature has to be controlled at a particular value. For e.g. a
water tank with heater whose temperature can set to a desired value. In future the designed circuit
can be connected to a GSM Module so that it can be used in industrial areas when a machine
crosses its desired temperature. We can send a message to the control room so that damage of the
machine can be avoided.’’

BE- Mechanical Engineering-Dept of Mechanical Engg. RVCE 4


Temperature and Humidity Monitoring For Domestic Applications

TABLE OF CONTENTS
S.NO PARTICULARS PAGE NO.

1 ABSTRACT 5

2 Introduction 7

3 Motivation 8

4 Literature Review 9-10

4 Research Obejctives 10

5 Selection of Required Components 11-12

6 Project Methodology 13-14

7 Specifications of Components 15-16

8 Circuit diagram 17

9 Program Code 18-21

10 Project Photos and Videos 22-24

11 Results and Discussion 25

12 Conclusion and Future Scope 26

13 References 27-28

BE- Mechanical Engineering-Dept of Mechanical Engg. RVCE 5


Temperature and Humidity Monitoring For Domestic Applications

Report Organization
Chapter 1 INTRODUCTION

Chapter 2:SELECTION OF MATERIALS

Chapter 3 PROJECT METHODOLOGY

Chapter 4 DESIGN PROCEDURE

Chapter 5 RESULTS AND DISCUSSION

Chapter 6 CONCLUSION AND FUTURE SCOPE

Chapter 1: Introduction
Introduction

Indian industries majorly include biomedical, agricultural and pharmaceutical which are the pillars
of country economy. The monitoring of temperature and humidity are major areas for all these
industries. Any kind of unbalancing in the environmental conditions or unset parameters can create
financial loss in the productivity of pharmaceutical and agriculture industries. Monitoring of
temperature and humidity are also required for biomedical industry for drugs and cell culture
methods. In healthcare sectors, environment controlled conditions are also required for patients
threatening.

The main objective of this project is to build IoT based temperature control fan using NodeMCU
ESP8266 Wi-Fi Module and DHT11 Sensor for home automation. This device will be able to
control your AC Home Appliances like AC, Fan, Heater, Cooler, or even light bulb, etc. Suppose
you came from work, enter the room, and feel hot. After a while you want your cooler or fan to be
“ON” automatically, and then “OFF” when the room temperature is back to normal.

BE- Mechanical Engineering-Dept of Mechanical Engg. RVCE 6


Temperature and Humidity Monitoring For Domestic Applications

Motivation

Healthcare Motivation: Temperature and Relative Humidity affects the airborne


survival of viruses, bacteria and fungi. Thus environmental control in hospitals is
important because of infectious disease transmission form the aerosol or airborne
infection. Maintaining hospital premises at a certain temperature and relative
humidity(%rh), likely to reduce the airborne survival and therefore transmission of
influenza virus.

Industrial Motivation: Temperature and Humidity measurement is important


because it can affect the health and safety of personnel as well as the cost of the
product.

Research Motivation: Develop a cost effective and accurate design to measure


temperature and humidity values.

Societal motivation: Maintaining proper temperature and humidity is also


important for Human comfort.

Knowledge Motivation: During execution of the project, students learn about


Arduino UNO, IOT, sensors, Arduino IDE and how to make circuits.

Environmental Motivation: Reduce energy consumption and hence save natural


resources of energy.

BE- Mechanical Engineering-Dept of Mechanical Engg. RVCE 7


Temperature and Humidity Monitoring For Domestic Applications

Literature Review
Reference Contribution Scope for research work

Deeksha Srivastava, Awanish Deeksha Srivastava[1] et.al., The nested wired systems can
Kesarwani, Shivani Dubey: worked on the measurement of be replaced by the wireless
Measurement of Temperature temperature and humidity by sensor networks to get an
and Humidity by using Arduino using Arduino tool and DHT11 accurate data as well as to avoid
tool and DHT11: International sensor. many hazardous issues. The
Research Journal of uploading of data on cloud
Engineering and Technology servers was not done.
(IRJET): 2018
e-ISSN: 2395-0056, p-ISSN:
2395-0072

Paulo Mecenas, Renata Paulo Mecenas et. al.[2] The spread of COVID-19
Travassos da Rosa Moreira worked on the effects of seems to be lower in warm and
Bastos, Antonio Carlos temperature and humidity wet climates. Furthermore,
Rosa´rio Vallinoto, David changes on the spread of temperature and humidity alone
Normando. P, 2020. Effects of COVID-19. do not explain most of the
temperature and humidity on variability of the COVID-19
the spread of COVID-19: A outbreak.
systematic review. PLOS ONE
Journals: Published: September
18, 2020.

Bulipe Srinivas Rao, Prof. Dr. Bulipe Srinivas Rao et. al.[3] An SMS can be sent to clients
K. Srinivasa Rao, Mr. N. Ome: worked on making a weather notifying them with the
Internet of Things (IOT) Based monitoring system using IoT. temperature and humidity
Weather Monitoring System: parameters.
IJARCCE: ISSN (Online)

BE- Mechanical Engineering-Dept of Mechanical Engg. RVCE 8


Temperature and Humidity Monitoring For Domestic Applications

2278-1021, ISSN (Print) 2319


5940

Lalbihari Barik: IoT based Lalbihari Barik[4] worked on IoT based system can be
Temperature and Humidity the measurement of extended for finding the
Controlling using Arduino and environmental observances like moisture of soil and the farm
Raspberry Pi: International the humidity and temperature monitoring for plant growth.
Journal of Advanced Computer measurements using sensors.
Science and Applications
(IJACSA): Vol. 10, No. 9,
2019.

Research Objectives
• To develop a model for monitoring temperature and humidity for domestic applications
using DHT11 Sensor and ESP8266 Wi-Fi module.
• To prevent the wastage of energy by automatically switching ON or OFF the fan according
to the monitored temperature and humidity.

Main Objectives of the Project


1. Our objective is to develop a model for monitoring temperature and humidity for domestic
applications using DHT11 Sensor and ESP8266 Wi-Fi module.

2. Build a system which measures temperature and humidity.

3. Controls the fan based on temperature value.

4. To prevent the wastage of energy.

BE- Mechanical Engineering-Dept of Mechanical Engg. RVCE 9


Temperature and Humidity Monitoring For Domestic Applications

Chapter 2: Selection of Required Components


1. The DHT11 is a basic, ultra low-cost digital temperature and humidity sensor. It uses a
capacitive humidity sensor and a thermistor to measure the surrounding air, and spits out a
digital signal on the data pin (no analog input pins needed). Its fairly simple to use, but
requires careful timing to grab data.

2. The ESP8266 Wi-Fi Module is a self contained SOC with integrated TCP/IP protocol
stack that can give any microcontroller access to your Wi-Fi network.The ESP8266 is
capable of either hosting an application or offloading all Wi-Fi networking functions from
another application processor.

3. A 16x2 LCD has been used to show the temperature and humidity value. With SLC
connected to pin D1, SDA with pin D2, Gnd with Gnd and Vcc with Input of ESP8266.

4. A relay is electromechanical device which is used to make or break an electric connection.


Here we are using 5V relay with a gap of 2 second, so we can know when the LED is
getting ON and OFF.

5. We are using small motorised fan to show the actual fan operation.

6. Arduino IDE software is used for code generation.

BE- Mechanical Engineering-Dept of Mechanical Engg. RVCE 10


Temperature and Humidity Monitoring For Domestic Applications

ESP8266 WIFI MODULE 16*2 LCD DISPLAY

RELAY DEVICE MOTORISED FAN

Arduino IDE Software user interface

BE- Mechanical Engineering-Dept of Mechanical Engg. RVCE 11


Temperature and Humidity Monitoring For Domestic Applications

Chapter 3: Project Methodology

BE- Mechanical Engineering-Dept of Mechanical Engg. RVCE 12


Temperature and Humidity Monitoring For Domestic Applications

Componensts List :
Slno. Component’s Name Qty.
1 ESP8266 Wi-Fi Module 1
2 DHT11 Sensor 1
3 LED 1
4 16x2 LCD Display Screen 1
5 Motorised Fan 1
6 5V Relay Module 1
7 DC Motor 1

BE- Mechanical Engineering-Dept of Mechanical Engg. RVCE 13


Temperature and Humidity Monitoring For Domestic Applications

Chapter 4: Design Procedure


Specifications of DHT11 Sensor

• Supply voltage: 5 V.

• Global Current Consumption: 2.5 mA.

• Temperature Range: 0°C to 50°C

• Humidity Range: 20% to 90%

• Sampling range: 1Hz

• Accuracy: ±1°C and ±1%

• Advantage- Low cost

Specifications of ESP8266 Wi-Fi Module

• Supply Voltage Range: 3.5V

• Operating current: 80mA

• Memory 32 bit

• Operating temperature range -40 to 125 degree centigrate

• It has built in Wi-Fi

Specifications of Relay

• Coil Voltage: 5VDC

• Channels: 4-Channel

• Dimensions- 11 × 7 × 2 cm
BE- Mechanical Engineering-Dept of Mechanical Engg. RVCE 14
Temperature and Humidity Monitoring For Domestic Applications

• Current 10A

• Operating Speed (6V): 200+/- 10% RPM

• Torque: 0.15Nm ~0.60Nm

• Body Dimensions: 70 x 22 x 18mm

• Weight: 30.6g

BE- Mechanical Engineering-Dept of Mechanical Engg. RVCE 15


Temperature and Humidity Monitoring For Domestic Applications

Circuit Diagram:

Softwares used:
Arduino IDE
For coding and for uploading the code in ESP8266.
DHT library
A library that helps us measure values by DHT11 sensor.
ESP8266 library
A library that helps us to work on ESP8266 Wi-Fi Module.

BE- Mechanical Engineering-Dept of Mechanical Engg. RVCE 16


Temperature and Humidity Monitoring For Domestic Applications

Program Code:

#include<ThingSpeak.h>
#include<DHT.h>
#include<ESP8266WiFi.h>

DHT dht(0,DHT11);
const char* ssid = "OPPO Reno2";
const char* pass = "qwertyu123";

WiFiClient client;
long id = 1441493;
const char* api = "M0BUDQRLA66YCKYA";
char ip[] = "184.106.153.149"; // ip address of thingspeak, we need to just open the url and it
will write data

float t,h;

#include <LiquidCrystal_I2C.h>

// set the LCD number of columns and rows


int lcdColumns = 16;
int lcdRows = 2;

// set LCD address, number of columns and rows


// if you don't know your display address, run an I2C scanner sketch

BE- Mechanical Engineering-Dept of Mechanical Engg. RVCE 17


Temperature and Humidity Monitoring For Domestic Applications

LiquidCrystal_I2C lcd(0x27, lcdColumns, lcdRows);

void setup() {
Serial.begin(9600);
Serial.println("Connecting to WiFi");
WiFi.begin(ssid,pass);
while(WiFi.status() !=WL_CONNECTED){
Serial.print(".");
delay(500);}

Serial.println("WiFi Connected");
ThingSpeak.begin(client);
dht.begin();

pinMode(16,OUTPUT);
pinMode(12,OUTPUT);

lcd.init();
// turn on LCD backlight
lcd.backlight();

void loop() {
if(client.connect(ip,80)){
h=dht.readHumidity();
t=dht.readTemperature();

BE- Mechanical Engineering-Dept of Mechanical Engg. RVCE 18


Temperature and Humidity Monitoring For Domestic Applications

Serial.print("Humidity - ");
Serial.print(h);
Serial.println("% ");
Serial.print("Temperature - ");
Serial.print(t);
Serial.println("C");

lcd.setCursor(0, 0);
lcd.print("Temperature ");
lcd.print( t);

lcd.setCursor(0,1 );
lcd.print("Humidity ");
lcd.print( h);
delay(1000);

//delay(2000);
if(t>20){
digitalWrite(16,HIGH);
digitalWrite(12,HIGH);
delay(2000);
digitalWrite(16,LOW);
digitalWrite(12,LOW);
}
else {

BE- Mechanical Engineering-Dept of Mechanical Engg. RVCE 19


Temperature and Humidity Monitoring For Domestic Applications

digitalWrite(16,LOW);
digitalWrite(12,LOW);
}
ThingSpeak.setField(1,h);
ThingSpeak.setField(2,t);
ThingSpeak.writeFields(id,api); //it will just write the data while opening the url
client.stop();
delay(1000);

BE- Mechanical Engineering-Dept of Mechanical Engg. RVCE 20


Temperature and Humidity Monitoring For Domestic Applications

Assembling of the parts and components


Project progress photos or videos for each task:

BE- Mechanical Engineering-Dept of Mechanical Engg. RVCE 21


Temperature and Humidity Monitoring For Domestic Applications

BE- Mechanical Engineering-Dept of Mechanical Engg. RVCE 22


Temperature and Humidity Monitoring For Domestic Applications

Video Demonstartion of the working:

https://drive.google.com/file/d/16FvRputT8MMEPRR6KNzgeAINpHlN68Ll/view
?usp=sharing

BE- Mechanical Engineering-Dept of Mechanical Engg. RVCE 23


Temperature and Humidity Monitoring For Domestic Applications

Chapter 5: Results and Discussion


An efficient fan controller based on room temperature by using ESP8266 Wi-Fi Module and
DHT11 Sensor has been developed. Output was checked by setting the temperature at different
levels with help of push button and it was found that the fan gets ON or OFF automatically
according to the temperature. The design circuit can be used in many practical applications, where
the circuit can be connected to a device for whose temperature has to be controlled at a particular
value. For e.g. a water tank with heater whose temperature can set to a desired value. In future the
designed circuit can be connected to a GSM Module so that it can be used in industrial areas when
a machine crosses its desired temperature. We can send a message to the control room so that
damage of the machine can be avoided. From the above analysis, it is concluded that this device
can easily control the fan automatically based on room temperature.

BE- Mechanical Engineering-Dept of Mechanical Engg. RVCE 24


Temperature and Humidity Monitoring For Domestic Applications

Chapter 6: Conclusion and Future Scope


Conclusion

An automatic temperature controlled household electric ceiling fan is designed and developed in
this research. The device uses a temperature sensor; a comparator unit and relay switch to
automatically regulate the speed of the electric ceiling fan, creating breeze to enhance convective
heat transfer. The developed household electric fan automatically changes speed in five different
ascending levels with respect to the calibrated temperature range of the environment. The
operation of this innovative device makes it suitable for users who may not be able to access the
manual electric fan regulator. A sudden change in weather conditions affecting the ambient
temperature might harm a person sleeping under a manually regulated fan. Depending on the
temperature of the environment, the fan automatically regulates its speed, making the device safe
for sleeping, very convenient for patients in the hospital, infants and all users. The aerofoil of the
cross section of the applied blades, the smooth and even three blades, the length and width of the
blades all improved the air velocity distribution of the device. The developed temperature
controlled household ceiling fan achieved improved ventilation of the room up to 20% using
enhanced blades designed with due consideration to fan aerodynamics. The ceiling fan blades spin
with reduced noise and created uniform flow pattern across the room.

Future Development & Scope

There is much future scope for this work. We can implement a speed controller for the fan
according to the temperature which will be helpful for disabled people. We can also implement an
object detective sensor which will stop the fan when no one will be there in the room. We can also
monitor ither parameters like light at the same time and control them. We can draw graphs of
variations of different paramerters using computer. We can implement the control of fan with the
help of mobile also.

BE- Mechanical Engineering-Dept of Mechanical Engg. RVCE 25


Temperature and Humidity Monitoring For Domestic Applications

References
1. Deeksha Srivastava, Awanish Kesarwani, Shivani Dubey: Measurement of Temperature
and Humidity by using Arduino Tool and DHT11: International Research Journal of
Engineering and Technology: 2018: e-ISSN: 2395-0056, p-ISSN: 2395-0072
2. Bulipe Srinivas Rao, Prof. Dr. K. Srinivasa Rao, Mr. N. Ome: Internet of Things (IOT)
Based Weather Monitoring System: International Journal of Advanced Research in
Computer and Communication Engineering: ISSN (Online) 2278-1021, ISSN (Print) 2319
5940.
3. Rao BS, Rao KS, Ome N (2016) Internet of Things (IOT) based weather monitoring
system. International Journal of Advanced Research in Computer and Communication
Engineering Sep 5(9): 312-319.
4. M. Simic, “Design and development of air temperature and relative humidity monitoring
system with AVR processor-based Web server,” in 2014 8th International Conference and
Exposition on Electrical and Power Engineering, EPE, no. 289481, pp. 38-41, 2014.
5. Lalbihari Barik: IoT based Temperature and Humidity Controlling using Arduino and
Raspberry Pi: International Journal of Advanced Computer Science and Applications
(IJACSA): Vol. 10, No. 9, 2019.
6. Jahnavi.Y, Siva Priya.A “An IOT Appliance for Controlling the Fan Speed and Accessing
the Temperature through cloud Technology using DHT11 sensor “, international journal on
future Revolution in computer science & communication Engineering volume:4
issue:4.2018.
7. Keeratiburt Kanchanasatian, “Automatic Speed Control and Turning ON/OFF for Smart
Fan by Temperature and Ultrasonic sensor”,IOP Conf. Series: Materials Science and
Engineering 325(2018).
8. Subhankar Cottoraj,”Smart home Automation based on different sensors and Arduino as
the master controller”, international journal on future Revolution in computer science &
communication engineering volume: 5 issue: 10. Oct 2015.

BE- Mechanical Engineering-Dept of Mechanical Engg. RVCE 26


Temperature and Humidity Monitoring For Domestic Applications

9. M. Rahaman Laskar, R. Bhattacharjee, M. Sau Giri, and P. Bhattacharya, “Weather


Forecasting using Arduino Based Cube-Sat”, Twelfth International Multi-Conference on
Information Processing (IMCIP) – 2016.
10. M. Simic, “Design and development of air temperature and relative humidity monitoring
system with AVR processor based Web server,” in 2014 8th International Conference and
Exposition on Electrical and Power Engineering, EPE, no. 289481, pp. 38-41, 2014.
11. D. Palle, A. Kommu, and R. R. Kanchi, “Design and development of CC3200-based
CloudIoT for measuring humidity and temperature,” in 2016 Electrical, Electronics, and
Optimization Techniques (ICEEOT), International Conference, pp. 3116-3120, 2016.
12. G. Fan, Y. Shen, X. Hao, Z. Yuan, and Z. Zhou, “Large-scale wireless temperature
monitoring system for liquefied Petroleum gas storage tanks,” in Sensors, vol. 15, no. 9, pp.
23745-23762, 2015.
13. A. A. Jaber, F. K. I. Al-Mousawi, and H. S. Jasem, “Internet of things based industrial
environment monitoring and control : a design approach,” in International Journal of
Electrical and Computing Engineering (IJECE), vol. 9, no. 6, pp. 4657-4667, 2019.

BE- Mechanical Engineering-Dept of Mechanical Engg. RVCE 27

You might also like