Humidity & Temperature Monitoring System by Using Arduino
Humidity & Temperature Monitoring System by Using Arduino
PROJECT REPORT
ON
“HUMIDITY & TEMPERATURE MONITORING SYSTEM BY USING ARDUINO”
DIPLOMA
IN
ELECTRICAL ENGINEERING
Submitted by
Mohammad Wali 1822064010
Mohd. Hasnain Raza 1822064011
Adil Khan 1822064003
Adesh Prajapati 2922064001
Apoorv Singh 2922064002
SESSION 2020-2021
Department of Electrical Engineering
University Polytechnic, Shahjahanpur
INTEGRAL UNIVERSITY, LUCKNOW
Electrical Engineering Department
Integral University-Lucknow
Polytechnic Center Shahjahanpur
CERTIFICATE
This is to certify that our team which is comprised of Five students of
final year DIPLOMA IN ELECTRICAL ENGINEERING in this University is
presenting a project on “HUMIDITY & TEMPERATURE MONITORING
SYSTEM BY USING ARDUINO” as our final year project during the session
2020-2021.
i
Electrical Engineering Department
Integral University-Lucknow
Polytechnic Center Shahjahanpur
ACKNOWLEDGEMENT
We would like to express our sincere thanks to our project Guide Er.
Mohd Yasir, Department of Electrical Engineering, University Polytechnic
Shahjahanpur Center, for his constant support, timely help, guidance, sincere co-
operation during the entire period of my work. We are grateful to him for
providing all the necessary online/offline facilities during the whole course of
the project work.
We are also thankful to our Lab instructor Mr. Mohd. Irfan Khan for
providing his auspicious guidance through to understand the practical concepts
through physical as well as virtual project lab.
We would also like to thank our project supervisor, Er. Mohd. Faraz
Khan (H.o.D), Department of Electrical Engineering, University Polytechnic
Campus, Shahjahanpur for the help provided during various stages of the
project.
We would like to thank our Principal Dr. Naseem for his encouragement,
constant support & my father for his full support from time to time in making
this project. Apart from this Er. S.A. Rafey & Er. Farazuddin Siddiqui are
also indebted to my heartily thanks.
We also thankful to our loving parents, brothers, sisters and my colleagues
for their moral support & timely help.
Mohammad Wali Mohd.Hasnain Raza
(1822064010) Apoorv Singh (1822064011)
Adil Khan (2922064002) Adesh Prajapati
(1822064003) (2922064001)
Electrical Engineering
University Polytechnic-Shahjahanpur
ii
ABSTRACT
iii
CIRCUIT DIAGRAM
iv
BLOCK DIAGRAM
v
COMPONENT LIST
NAME OF
SN SPECIFICATIONS QUANTITY
COMPONENTS
10 Adapter 12 VDC 1
vi
OVERVIEW
Domain:
Electronics
Electrical & Control
Software:
Arduino Duo 1.8.2
Power Supply:
12V DC Adapter Included
Display:
16x2 LCD
Sensors:
DHT11 (Humidity Sensor)
LM35 (Temperature Sensor)
Applications:
To track the level of humidity in air.
Live tracking of Humidity & Temperature over internet
For safety measures of various Industrial units.
vii
TABLE OF CONTENTS
CERTIFICATE i
ACKNOWLEDGEMENT ii
ABSTRACT iii
CIRCUIT DIAGRAM iv
BLOCK DIAGRAM v
COMPONENT LIST vi
OVERVIEW vii
1.1 INTRODUCTION 1
viii
CHAPTER 3: INTRODUCTION OF ARDUINO ASSEMBLY 7-15
3.3 SOFTWARE 9
5.1 CONCLUSION 28
REFERENCE 30
APPENDIX 31-32
BASE PAPER
ix
Chapter 1:
ABOUT PROJECT
1.1 INTRODUCTION
1.1 INTRODUCTION
The idea of this thesis & it’s prototype is to build an Arduino-based embedded sytem for
monitoring environmental variables: humidity and temperature and to study its performance in
different temperature and humidity for small industrial unit. The prototype is built using the
microcontroller Arduino and sensors, which could sense the temperature and amount of moisture
inside a building and provide information in a serial monitor and a liquid crystal display (LCD).
Out of many clones and different available microcontroller boards, Arduino Uno was used in this
project.
This project is presented into two parts One is theoretical part, which gives a basic
introduction to the materials and equipment used during the project and the second part is Video
Demonstration, which provides stepwise process for connection and circuitry. The project
successfully meets to pre-determined goals, implementation was possible with the help of the
Arduino book, previous work of another student and related internet sites where most of the
information is available.
This system deals with an innovative idea of Humidity & Temperature Monitoring.
Which provides best measurement of two common Environmental Parameters i.e. Humidity &
Temperature using Arduino based on microcontroller and sensors.
This project consists of three sections - one senses the humidity by using humidity
sensor DHT11. The second section senses the temperature by using humidity sensor LM35.
And the third part of the system displays humidity and temperature on LCD.
1
HUMIDITY & TEMPERATURE MONITORING SYSTEM BY USING ARDUINO 2021
• OBJECTIVE
The aim of our project is to measure environmental conditions i.e. Humidity &
Temperature both in single module. Also, we are going to build an Arduino based embedded
device for monitoring of small industrial Unit (monitoring environmental variables temperature
and humidity) and to study the characteristics of its performance.
This includes practical steps to follow for this developing prototype that can measure
temperature and humidity of building or surrounding and display readings in a LCD display
(liquid crystal display) and serial monitor as well using Arduino board and sensors.
• STATEMENT
Arduino, the open source hardware has shown ability to meet the need of accurate and
real-time monitoring and controlling of environmental variables. The Arduino user community
is a forum where many people can share their ideas, use each other’s work and modify them to
innovate and advance many different interacting objects. Arduino is use in a wide range of
projects to develop objects that can interact with people or environment and internet. The
materials required are easily available, cheap in price and easy to use with the help of available
open-source information. Arduino has been used to build robots, drones, remote controllers,
2
HUMIDITY & TEMPERATURE MONITORING SYSTEM BY USING ARDUINO 2021
monitoring devices and many interesting objects which is a one big step towards making the
world more automated and sustainable. This thesis was expected to be helpful in learning
electronics and programming as well as documentation process.
This thesis is an academic work made in the final year of environmental engineering
studies. The purpose of the thesis was to build an Arduino based embedded device for building
monitoring (monitoring environmental variables temperature and humidity) and to study the
characteristics of its performance. The developed system is useful 3 in monitoring two variables
temperature and humidity in a building, laboratory and greenhouse. In this thesis, the required
equipment, connections and circuit diagrams with necessary codes were compiled in a step-by-
step order.
Chapter-1 In this chapter the basic introduction about the project including objective & project
statement & thesis organization is given in short.
Chapter-2 In this chapter we describe the need of Humidity & Temperature Monitoring along with
the use of it over a single prototype/system for small industrial unit.
Chapter-3 In this chapter covers the basic introduction & history of Arduino along-with it’s
software modulation, programming, coding etc with respect to Arduino 1.8.2, apart of this the
significance of using MICROCONTROLLOR is also discussed in detail.
Chapter-4 In this chapter we describe the basic introduction about our construction & working of
project with the basics of some main components used in it.
Chapter-5 In this chapter the project is concluded and its future prospects are discussed in
short considering the various dimensions as per the modern requirements.
References In this section various citations used in our project are discussed.
Appendix In this section the program is written for Arduino Uno as per the system
requirement.
Base Paper In this section the base paper of the conceptual prototype is attached for the
record.
3
Chapter 2:
HUMIDITY & TEMPARATURE MONITORING
If your home is too humid, it creates a better environment for dust mites, mold and
mildew. Allergens also thrive in high humidity conditions. The bottom line is humidity plays a
big role when it comes to indoor air quality, and that air quality directly can directly affect the
health of you and your family. Similarly for industrial unit the humidity affects the equipment
through corrosion over the material surface, electric shock and many more harms.
The Model defines minimum standards for humidity monitoring and alarm systems and
components, and for the operational management of these system Humidity monitoring systems
and devices should be used in temperature-controlled rooms that are used to store TTSPPs that
require a humidity-controlled environment. Monitoring sensors should be accurate to ± 5%
relative humidity (RH) and located to monitor worst-case humidity levels within the qualified
storage volume. They should be positioned so as to be minimally affected by transient events
such as door opening.
4
HUMIDITY & TEMPERATURE MONITORING SYSTEM BY USING ARDUINO 2021
• In the beverage industry, temperature plays a vital role in deciding the quality of the final
product. During the wine making or brewing process, the ambient temperature, as well as
fermentation temperature, could have a positive or negative effect. Even in the process of milk
pasteurization, the temperature is important to ensure the removal of harmful pathogens, such
as Escherichia, Salmonella, and Listeria.
• Plastic Production: Temperature plays an important role in the plastic industry. During the
manufacturing stages, for example thermoforming, or injection molding, several temperature
ranges needs to be monitored to ensure a high product quality.
• Metal Processing: Be it any type of metal process plant, temperature measurement is always
high on the list for operational excellence. Temperature measurement and analysis is plays a
key role in metal processing, as well as monitoring. If the temperature measurement
information is not correct, then it can affect quality of the final product, as well as endanger
workplace security.
So, we can say that the Temperature is thus a state variable. Together with mass, heat
capacity and others, temperature describes the energy content of a body, or, as it often expressed
in physics, a system.
This Model defines minimum standards for temperature monitoring and alarm systems
and components, and for the operational management of these systems. Air temperature
monitoring systems and devices should be installed in all temperature-controlled rooms, cold
rooms, freezer rooms, refrigerators and freezers used to store TTSPPs. Electronic sensors
should be accurate to ± 0.5 °C or better.4 Sensors should be located in areas where the greatest
variability in temperature is expected to occur within the qualified storage volume and they
should be positioned so as to be minimally affected by transient events such as door opening.
5
HUMIDITY & TEMPERATURE MONITORING SYSTEM BY USING ARDUINO 2021
We have combined these two monitoring systems in our project i.e. humidity
Monitoring & Temperature monitoring so as to read the readings of both quantities over the
single LCD screen. This hybrid may be useful for comparative studies of these quantities. Also
this enables the single alarm if any of these quantity exceeds over the pre-decided critical value
to avoid harmful effects on the industrial unit.
The Alarm system Temperature as well as humidity (where necessary), alarm systems
should be linked to the monitoring system(s) with high and low alarm set points. There should
be a visual alarm and preferably also an audible alarm, together with automatic telephone dial-
up or short message service (SMS) text warnings to key personnel.
The DHT sensors are made of two parts, a capacitive humidity sensor and a thermistor.
There is also a very basic chip inside that does some analog to digital conversion and spits out
a digital signal with the temperature and humidity. The digital signal is fairly easy to read using
any microcontroller.
The objective of this model is to achieve a functional system in terms of hardware and
software, to measure temperature and humidity. Also, this system will allow to monitoring the
time. In this, we use an Arduino board with interfacing a sensor placed in local environment to
measure temperature and humidity. We focused to achieve the goal of achieving a functional
system in terms of hardware and software that allows measuring and monitoring temperature,
humidity and the time; using a development board for the communication with the sensor and
clock along-with the implementation a program that allows requirements.
6
Chapter 3:
INTRODUCTION OF ARDUINO ASSEMBLY
Arduino board designs use a variety of microprocessors and controllers. The boards are
equipped with sets of digital and analog input/output (I/O) pins that may be interfaced to various
expansion boards or breadboards (shields) and other circuits. The boards feature serial
communications interfaces, including Universal Serial Bus (USB) on some models, which are
also used for loading programs from personal computers. The microcontrollers are typically
programmed using a dialect of features from the programming languages C and C++. In
addition to using traditional compiler tool chains, the Arduino project provides an integrated
development environment (IDE) based on the Processing language project. The Arduino project
started in 2003 as a program for students at the Interaction Design Institute Ivrea in Ivrea, Italy,
7
HUMIDITY & TEMPERATURE MONITORING SYSTEM BY USING ARDUINO 2021
aiming to provide a low-cost and easy way for novices and professionals to create devices that
interact with their environment using sensors and actuators. Common examples of such devices
intended for beginner hobbyists include simple robots, thermostats and motion detectors. The
name Arduino comes from a bar in Ivrea, Italy, where some of the founders of the project used
to meet. The bar was named after Arduin of Ivrea, who was the margrave of the March of Ivrea
and King of Italy from 1002 to 1014.
8
HUMIDITY & TEMPERATURE MONITORING SYSTEM BY USING ARDUINO 2021
The controversy surrounding Musto continued when, in July 2017, he reportedly pulled many
Open-source licenses, schematics, and code from the Arduino website, prompting scrutiny and outcry.
In October 2017, Arduino announced its partnership with ARM Holdings (ARM). The
announcement said, in part, "ARM recognized independence as a core value of Arduino ... without
any lock vendors and architectures. In early 2008, the five co-founders of the Arduino project created
a company, Arduino LLC, to hold the trademarks associated with Arduino. The manufacture and sale
of the boards was to be done by external companies, and Arduino LLC would get a royalty from them.
The founding bylaws of Arduino LLC specified that each of the five founders transfer ownership of
the Arduino brand to the newly formed company. At the end of 2008, Gianluca Martino's company,
Smart Projects, registered the Arduino trademark in Italy and kept this a secret from the other
cofounders for about two years. This was revealed when the Arduino company tried to register the
trademark in other areas of the world (they originally registered only in the US), and discovered that
it was already registered in Italy. Negotiations with Gianluca and his firm to bring the trademark under
control of the original Arduino company failed. In 2014, Smart Projects began refusing to pay
royalties. They then appointed a new CEO, Federico Musto, who renamed the company Arduino SRL
and created the website arduino.org, copying the graphics and layout of the original arduino.cc. This
resulted in a rift in the Arduino development team.
In January 2015, Arduino LLC filed a lawsuit against Arduino SRL.
In May 2015, Arduino LLC created the worldwide trademark Genuino, used as brand name
outside the United States.
At the World Maker Faire in New York on October 1, 2016, Arduino LLC co-founder and
CEO Massimo Banzi and Arduino SRL CEO Federico Musto announced the merger of the two
companies.
By 2017 Arduino AG owned many Arduino trademarks. In July 2017 BCMI, founded by
Massimo Banzi, David Cuartielles, David Mellis and Tom Igoe, acquired Arduino AG and all the
Arduino trademarks. Fabio Violante is the new CEO replacing Federico Musto, who no longer works
for Arduino AG.
4.3 SOFTWARE
A program for Arduino hardware may be written in any programming language with
compilers that produce binary machine code for the target processor. Atmel provides a development
environment for their 8-bit AVR and 32-bit ARM Cortex-M based microcontrollers: AVR Studio
(older) and Atmel Studio (newer).
9
HUMIDITY & TEMPERATURE MONITORING SYSTEM BY USING ARDUINO 2021
a) IDE
The Arduino integrated development environment (IDE) is a cross-platform application (for
Windows, macOS, Linux) that is written in the programming language Java. It originated from the
IDE for the languages Processing and Wiring. It includes a code editor with features such as text
cutting and pasting, searching and replacing text, automatic indenting, brace matching, and syntax
highlighting, and provides simple one-click mechanisms to compile and upload programs to an
Arduino board. It also contains a message area, a text console, a toolbar with buttons for common
functions and a hierarchy of operation menus. The source code for the IDE is released under the GNU
General Public License, version 2.
The Arduino IDE supports the languages C and C++ using special rules of code structuring.
The Arduino IDE supplies a software library from the Wiring project, which provides many common
input and output procedures. User-written code only requires two basic functions, for starting the
sketch and the main program loop, that are compiled and linked with a program stub main() into an
executable cyclic executive program with the GNU toolchain, also included with the IDE distribution.
The Arduino IDE employs the program avrdude to convert the executable code into a text file in
hexadecimal encoding that is loaded into the Arduino board by a loader program in the board's
firmware.
b) Sketch
A sketch is a program written with the Arduino IDE. Sketches are saved on the development
computer as text files with the file extension .ino. Arduino Software (IDE) pre-1.0 saved sketches with
the extension .pde. A minimal Arduino C/C++ program consist of only two functions:
10
HUMIDITY & TEMPERATURE MONITORING SYSTEM BY USING ARDUINO 2021
setup(): This function is called once when a sketch starts after power-up or reset. It is used to initialize
variables, input and output pin modes, and other libraries needed in the sketch.
loop(): After setup() function exits (ends), the loop() function is executed repeatedly in the main
program. It controls the board until the board is powered off or is reset.
Blink example
Power LED and Integrated LED on Arduino Compatible Board Power LED (red) and User LED
(green) attached to pin 13 on an Arduino compatible board Most Arduino boards contain a light-
emitting diode (LED) and a current limiting resistor connected between pin 13 and ground, which is a
convenient feature for many tests and program functions. A typical program used by beginners, akin
to Hello, World!, is "blink", which repeatedly blinks the on-board LED integrated into the Arduino
board. This program uses the functions pinMode(), digitalWrite(), and delay(), which are provided by
the internal libraries included in the IDE environment. This program is usually loaded into a new
Arduino board by the manufacturer.
#define LED_PIN 13 // Pin number attached to LED.
void setup() {
pinMode(LED_PIN, OUTPUT); // Configure pin 13 to be a digital output.
}
void loop() {
digitalWrite(LED_PIN, HIGH); // Turn on the LED.
delay(1000); // Wait 1 second (1000 milliseconds).
digitalWrite(LED_PIN, LOW); // Turn off the LED.
delay(1000); // Wait 1 second.
}
11
HUMIDITY & TEMPERATURE MONITORING SYSTEM BY USING ARDUINO 2021
The first step in programming the Arduino board is downloading and installing the Arduino IDE.
The open source Arduino IDE runs on Windows, Mac OS X, and Linux. Download the Arduino
software (depending on your OS) from the official website and follow the instructions to install.
void setup( )
{
statements-1;
.
.
.
statement-n;
}
void loop ( )
{
statement-1;
.
.
.
statement-n;
}
12
HUMIDITY & TEMPERATURE MONITORING SYSTEM BY USING ARDUINO 2021
In the above example loop ( ) function is a part of execution block. As the name suggests, the loop(
) function executes the set of statements (enclosed in curly braces) repeatedly.
Void loop ( )
{
digitalWrite (pin-number, HIGH); //turn ON the component connected with the set pin-number.
delay (1000); // wait for 1 sec
digitalWrite (pin-number, LOW); //turn OFF the component connected with the set pin-number.
delay (1000); //wait for 1sec
}
Note: Arduino always measures the time duration in millisecond. Therefore, whenever you mention
the delay, keep it in milli seconds.
In the process of experimenting with Arduino, writing the Arduino program is not the only
important thing, building the breadboard circuit is equally important.
Let’s take a look how the breadboard circuit has to built for both the experiments.
Components required:
Arduino UNO R3 -1
Breadboard -1
Breadboard connectors -3
LED -1
1K resistor -1
Blinking LED
13
HUMIDITY & TEMPERATURE MONITORING SYSTEM BY USING ARDUINO 2021
The Arduino Uno is a microcontroller board based on the ATmega328 (datasheet). It has 14
digital input/output pins (of which 6 can be used as PWM outputs), 6 analog inputs, a 16 MHz crystal
oscillator, a USB connection, a power jack, an ICSP header, and a reset button.
14
HUMIDITY & TEMPERATURE MONITORING SYSTEM BY USING ARDUINO 2021
The Arduino Uno is a microcontroller board based on the ATmega328 (datasheet). It has 14
digital input/output pins (of which 6 can be used as PWM outputs), 6 analog inputs, a 16 MHz crystal
oscillator, a USB connection, a power jack, an ICSP header, and a reset button.
15
Chapter 4:
CONSTRUCTION & WORKING
a) Arduino Board
Arduino board is the most important processing unit of this prototype. The heart part of
the building monitoring system; the Arduino is defined in as “an open-source computer
hardware and software company, project, and user community that designs and
manufactures single-board microcontrollers and microcontroller kits for building digital
devices and interactive objects that can sense and control objects in the physical world’
(Anon., 2017). In other words, it can also be defined as a single board microcontroller for
building digital objects and interactive devices. Arduino is designed to sense the
environment and/or surrounding by receiving input signal through sensors and
communicates with its surrounding through actuators. An actuator could be a simple LED
(light emitting diode), a motor or sensors, ethernet or some other electronics depending on
the project (kushner, 2011). The Arduino hardware are available in many format and design
enabling different features. The programming is based on hardware wiring. The Arduino
software can be run on Windows, Linux or Mac OS (Sandhu, 2016). The Arduino can be
programmed to work stand-alone, with computer or other electronic devices; which can be
done with Arduino software which generally termed as IDE (Integrated Development
Environment). The detail about IDE is given in previous chapter. Since the Arduino
hardware and software is an open source, there are already many clones of Arduino
16
HUMIDITY & TEMPERATURE MONITORING SYSTEM BY USING ARDUINO 2021
hardware available with many exciting features, the board used in this thesis project is
Arduino Uno which is shown in this Figure.
Arduino board designs use a variety of microprocessors and controllers. The boards are
equipped with sets of digital and analog input/output (I/O) pins that may be interfaced to
various expansion boards or breadboards (shields) and other circuits. The boards feature
serial communications interfaces, including Universal Serial Bus (USB) on some models,
which are also used for loading programs from personal computers. The microcontrollers
are typically programmed using a dialect of features from the programming languages C
and C++. In addition to using traditional compiler tool chains, the Arduino project provides
an integrated development environment (IDE) based on the Processing language project.
17
HUMIDITY & TEMPERATURE MONITORING SYSTEM BY USING ARDUINO 2021
The Arduino project started in 2003 as a program for students at the Interaction Design
Institute Ivrea in Ivrea, Italy, aiming to provide a low-cost and easy.
b) Sensors
A sensor is an electronic device that converts a change in physical phenomenon into an
electrical signal. It can send the information to computers or other electronic devices.
Therefore, it is a part of the interface between the environment or physical world and the
electronics (Kenny, 2005). The function of a sensor is to respond to an input physical signal
and to convert it into an electrical signal (voltage). It is a semiconductor device that is
designed to respond on change in their resistive or capacitive property depending upon the
type of sensor. The performance of sensor is characterized by: Transfer function,
Sensitivity, Range, Accuracy/Uncertainty, Hysteresis, Linearity, Noise, Resolution and
Bandwidth (Wilson, 2005).
Sensors are used in many objects and places, for example, touch-sensitive phone screen,
motion sensitive light switch and several applications. The use of sensors has been expanded
widely with the development of microcontrollers. The sensors are used in robotics, airplanes
and aerospace, cars and many other applications (Blaauw, et al., 2016).
The sensors used in this work is temperature and humidity sensor-DHT11. The sensor
DHT11 is an Analog sensor designed to sense the physical change in heat and moisture
when exposed in air with suitable wiring and programming. Its small size, cheap price, low
power consumption, quick responses are the characteristics for being one of the best choices
for many users. The sensor DHT11 is applicable in HVAC (heating, ventilation and air
conditioning), it can be used in testing and inspecting equipment and consumer goods. It is
also applicable to use in building a weather station or a humidity regulator. The use of
DHT11 sensor has shown its usefulness measuring and controlling temperature and
humidity in home appliances, medical and many other sector (Anon., 2017) The following
shows the DHT11 temperature and humidity sensor.
18
HUMIDITY & TEMPERATURE MONITORING SYSTEM BY USING ARDUINO 2021
Additionally, a temperature sensor LM35 is also connected for emergency use to avoid
the constant temperature monitoring over the LCD screen. It looks as shown in the following
figure:
19
HUMIDITY & TEMPERATURE MONITORING SYSTEM BY USING ARDUINO 2021
The LM35 device is rated to operate over a −55°C to 150°C temperature range, while
the LM35C device is rated for a −40°C to 110°C range (−10° with improved accuracy).
Measurement range of LM35:
Operating temperature range: -40 to 110°C ; -55 °C
Interface type: Analog output
Supply voltage(Max): 30V
Supply voltage(Min): 4V
c) LCD
An LCD (Liquid Crystal Display) screen is an electronic display module and has a wide
range of applications. A 16x2 LCD display is very basic module and is very commonly used in
various devices and circuits. A 16x2 LCD means it can display 16 characters per line and there
are 2 such lines. In this LCD each character is displayed in 5x7 pixel matrix. The 16 x 2
intelligent alphanumeric dot matrix display is capable of displaying 224 different characters and
symbols. This LCD has two registers, namely, Command and Data.
As per the requirement of this project we have the LCD having following features:
20
HUMIDITY & TEMPERATURE MONITORING SYSTEM BY USING ARDUINO 2021
As per the above pin diagram we can easily understand the pin configuration as per the
required parameters. Command registers stores various commands given to the display.
Data register stores data to be displayed. The process of controlling the display involves
putting the data that form the image of what you want to display into the data registers, then
putting instructions in the instruction register. In our Arduino project Liquid Crystal
Library simplifies this for you so you don't need to know the low-level instructions. Contrast
of the display can be adjusted by adjusting the potentiometer to be connected across VEE
pin.
So the following pin description is presented to understand the detailed function of each
pin.
21
HUMIDITY & TEMPERATURE MONITORING SYSTEM BY USING ARDUINO 2021
Measurement of Dimensions:
PCB dimensions: 80mm x 35mm x 11mm
Screen dimensions: 64.5mm x 16mm
d) Alarm Unit
A buzzer is a mechanical, electromechanical, magnetic, electromagnetic, electro-
acoustic or piezoelectric audio signalling device. A piezo electric buzzer can be driven by
an oscillating electronic circuit or other audio signal source.
The vibrating disk in a magnetic buzzer is attracted to the pole by the magnetic field.
When an oscillating signal is moved through the coil, it produces a fluctuating magnetic
field which vibrates the disk at a frequency equal to that of the drive signal.
22
HUMIDITY & TEMPERATURE MONITORING SYSTEM BY USING ARDUINO 2021
23
HUMIDITY & TEMPERATURE MONITORING SYSTEM BY USING ARDUINO 2021
Connection of LCD
Connection of DHT11
24
HUMIDITY & TEMPERATURE MONITORING SYSTEM BY USING ARDUINO 2021
Connection of LM35
25
HUMIDITY & TEMPERATURE MONITORING SYSTEM BY USING ARDUINO 2021
Here in this project we have used a sensor module namely DHT11. This module features
a humidity and temperature complex with a calibrated digital signal output means DHT11
sensor module is a combined module for sensing humidity and temperature which gives a
calibrated digital output signal. DHT11 gives us very precise value of humidity and temperature
and ensures high reliability and long term stability. This sensor has a resistive type humidity
measurement component and NTC type temperature measurement component with an 8-bit
microcontroller inbuilt which has a fast response and cost effective and available in 4-pin single
row package.
DHT11 module works on serial communication i.e. single wire communication. This
module sends data in form of pulse train of specific time period. Before sending data to arduino
it needs some initialize command with a time delay. And the whole process time is about 4ms.
A complete data transmission is of 40-bit and data format of this process is given below:
8-bit integral RH data + 8-bit decimal RH data + 8-bit integral T data + 8-bit decimal T
data + 8-bit check sum.
Complete Process is that First of all, Arduino sends a high to low start signal to DHT11
with 18µs delay to ensure DHT’s detection. And then Arduino pull-up the data line and wait
for 20-40µs for DHT’s response. Once DHT detects starts signal, it will send a low voltage level
response signal to Arduino of time delay about 80µs. And then DHT controller pull up the data
line and keeps it for 80µs for DHT’s arranging of sending data.
When data bus is at low voltage level it means that DHT11 is sending response signal.
Once it is done, DHT again makes data line pull-up for 80µs for preparing data transmission.
26
HUMIDITY & TEMPERATURE MONITORING SYSTEM BY USING ARDUINO 2021
Data format that is sending by DHT to arduino for every bit begins with 50µs low
voltage level and length of high voltage level signal determines whether data bit is “0” or “1”.
One important thing is to make sure pull up resistor value because if we are placing
DHT sensor at < 20-meter distance, 5k pull up resistor is recommended. If placing DHT at
longer the 20-meter then use appropriate value pull up resistor.
A liquid crystal display is used for displaying temperature and humidity which is
directly connected to Arduino in 4-bit mode. Pins of LCD namely RS, EN, D4, D5, D6 and D7
are connected to Arduino digital pin number 2, 3, 4, 5, 6 and 7. And a DHT11 sensor module is
also connected to digital pin 12 of Arduino with a 5k pull-up resistor.
27
Chapter 5:
CONCLUSION & FUTURE SCOPE
5.1 CONCLUSION
5.2 CONSTRUCTION & CONNECTION
HUMIDITY & TEMPERATURE MONITORING SYSTEM BY USING ARDUINO 2021
5.1 CONCLUSION
The work was successful as a Final year diploma project with recording prototype which
works as a thermo-hygrometer for measuring temperature and humidity; it is capable of
measuring humidity and temperature both indoors and outdoors (Fields). Compared to
expensive sensor, the Arduino-based recording system successfully reduces the power
consumption, cost and complexity of the process. It achieved logging of the data in real time. it
also facilitated remote recording of the data in a memory card without need of an laptop or a
computer. The performance of the sensor with regards to recording temperature was acceptable
with minor modification of code in future to compensate for the deviation of its readings as
compared to commercial sensors. Same condition is applicable for the humidity readings. The
developed recording system can be used with various other sensors for measuring parameters
such as wind velocity, soil moisture, distance etc with a appropriate sensor and compatible
coding. Arduino- based devices are the new possibilities for developing smart devices freely
with small budget and simple work. The accelerating race of advanced technology outdates the
technology used in Arduino Uno in no time; advanced software working similarly are available.
The project was interesting and was practically helpful to learn to use microcontrollers
(Arduino), programming language C and basic electronics. This was a very helpful project in
learning and understanding the world of microcontrollers and use of microcontrollers in day-
by-day life along-with Arduino in real time application. The thesis project was a platform to
advance the technique of research, test and documentation that was learnt throughout the studies
in the diploma program.
28
HUMIDITY & TEMPERATURE MONITORING SYSTEM BY USING ARDUINO 2021
For Implementing an effective and reliable Environmental monitoring system is a complex task;
its installation, operation and maintenance involves a number of complimentary linked services
which is directly associated with our project. Hence the future scope of this need to be clearly
defined in terms of:
• Live Monitoring Over Internet: As per the requirement of this age HoDs & In-charges of several
departments always wants live values of humidity & temperature at various stages of their work.
• Monitoring of COVID-19 wards: As per the requirement of this Pandemic situation of COVID-
19 HoDs & In-charges of Hospitals always wants to tack live values of humidity & temperature at
various stages to intimate doctors and nurses in ordor to instruct them to visit the respective
COVID ward/Room to look after
• Use in Industrial Units: Site engineer of all big & small industrial unit always wants to see these
values of humidity & temperature to work smoothly.
• Use in Ambulance & Vehicles: Transport in-charge always wants to aware about the
environmental conditions of their vehicles & ambulance to instruct the driver or other authorities.
29
References
References
[1] Akami, P., Oke, A. & Akpomiemie, O., 2015. Impact of environmental factors on building project.
[6] Banzi, M., n.d. How Arduino is open-sourcing imagination.: TED Talk.
http://www.beanair.com/wa_files/Datasheet-wireless-temp-humidityBeanDevice-ONE-TH.pdf
[8] Blaauw, F. et al., 2016. Let's get Physical-An intuitive and generic methodd to combine sensor technology
[9] Circuitbasics, 2017. How to set up the DHT11 humidity sensor. [Online] Available at:
http://www.circuitbasics.com/how-to-set-up-the-dht11-humidity-sensor-onan-arduino/
[10] Kenny, D. T., 2005. Basic Sensor Technology. In: J. S. Wilson, ed. Sensor Technology
[11] Handbok. Kouhia, E.-P., 2016. Developement of an Arduino based Embedded system
[12] Kushner, D., 2011. The Making of Arduino-IEEE Spectrum. [Online] Available at:
https://spectrum.ieee.org/geek-life/hands-on/the-making-of-arduino
[13] McRoberts, M., 2010. Beginning Arduino. In: Beginning Arduino., p. 172.
[14] Sandhu, R., 2016. What is Arduino? A full definition. [Online] Available at:
https://www.lifewire.com/what-is-arduino-2495652
[15] Therma-Stor, n.d. Relative Humidity and Your Home-Therma-Stor, LLC. [Online] Available at:
http://www.thermastor.com/information/relative-humidity-and-yourhome.aspx
[16] Vleeschouver, K. D., Loey, Van, A. & hendrickx, M. E., 2017. The Effect of High Pressure-High
Temperature Processing Conditions on Acrylamide Formation and Other maillard Reaction Compounds.
Journal of Agricultural and food chemistry, Volume 2010, 58(22), pp. 11740-11748.
[17] Wilson, J. S., 2005. Sensor Technology Handbook. Oxford: Elsevier Inc
30
Appendix
Programming of Arduino Uno 1.8.2
#include<LiquidCrystal.h>
#define dht_dpin 12
dht DHT;
byte degree[8] =
0b00011,
0b00011,
0b00000,
0b00000,
0b00000,
0b00000,
0b00000,
0b00000
};
void setup()
lcd.begin(16, 2);
lcd.createChar(1, degree);
lcd.clear();
lcd.setCursor(0,1);
31
lcd.print(" Measurement ");
delay(2000);
lcd.clear();
delay(2000);
void loop()
DHT.read11(dht_dpin);
lcd.setCursor(0,0);
lcd.print("Humidity: ");
lcd.print(" %");
lcd.setCursor(0,1);
lcd.print("Temperature:");
lcd.write(1);
lcd.print("C");
delay(500);
32
Base Paper
International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056
Volume: 05 Issue: 12 | Dec 2018 www.irjet.net p-ISSN: 2395-0072
---------------------------------------------------------------------***----------------------------------------------------------------------
Abstract - Indian industries majorly include biomedical, computer programming IDE (Integrated Development
agricultural and pharmaceutical which are the pillars of Environment).
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. In this paper we are going to
measure temperature and humidity by using Arduino tool and
DHT11, which will be beneficial for balancing the environment
to increase the productivity. Fig-1: Arduino Circuit
© 2018, IRJET | Impact Factor value: 7.211 | ISO 9001:2008 Certified Journal | Page 876
International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056
Volume: 05 Issue: 12 | Dec 2018 www.irjet.net p-ISSN: 2395-0072
© 2018, IRJET | Impact Factor value: 7.211 | ISO 9001:2008 Certified Journal | Page 877
International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056
Volume: 05 Issue: 12 | Dec 2018 www.irjet.net p-ISSN: 2395-0072
arranging of sending data. When data bus is at low voltage the environmental factors. From the above all analysis, it is
level it means that DHT11 is sending response signal. Once it ensured that the nested wired systems can be replaced by
is done, DHT again makes data line pull-up for 80µs for the wireless sensor networks to get an accurate data as well
preparing data transmission. Data format that is sending by as to avoid many hazardous issues.
DHT to Arduino for every bit begins with 50µs low voltage
level and length of high voltage level signal determines REFERENCES
whether data bit is “0” or “1”. One important thing is to make
sure pull up resistor value because if we are placing DHT [1] N. H. A. Aziz, W. N. W. Muhamad, N. A. Wahab, A. J. Alias,
sensor at <20 meter distance,5k pullup resistor is A. T. Hashim, and R. Mustafa, "Real time monitoring critical
recommended. If placing DHT at longer the 20 meter then parameters in tissue culture growth room with SMS alert
use appropriate value pull up resistor. system," in Intelligent Systems, Modelling and Simulation
(ISMS), 2010 International Conference on, 2010, pp. 339-
343.
[7]http://www.ardumotive.com/iot-wifi-temp-and-
humidity.html
7. CONCLUSION
© 2018, IRJET | Impact Factor value: 7.211 | ISO 9001:2008 Certified Journal | Page 878