A Mini Project Report on
Temperature and
Humidity Sensor
Submitted By
Bhandia Omkar Shriniwas 19UEL006
Gawle Lucky Sunil 19UEL015
Under Guidance of
Prof. S.M.Karmuse
Department of Electronics
Engineering
D.K.T.E Society’s
Textile and Engineering
Institute, Ichalkaranji
(An Autonomous Institute Affiliated to Shivaji
University Kolhapur)
Academic Year
2021-22
D.K.T.E Society’s
Textile and Engineering Institute, Ichalkaranji
(An A u t o n o m o u s Institute Affiliated to Shivaji
University Kolhapur)
Department of Electronics Engineering
Academic Year 2021-22
Certific at
e This is to certify that,
Bhandia Omkar Shriniwas 19UEL006
Gawle Lucky Sunil 19UEL015
of Third Year B.Tech. Electronics Engineering, has satisfactorily
completed Mini-Project entitled
Temperature and Humidity Sensor
under the guidance of Prof. S.M Karmuse for partial
fulfilment of Under Graduation in Electronics
Engineering at D.K.T.E. Society’s Textile and
Engineering Institute,Ichalkaranji for Academic Year
2021-22.
Prof . P. M. Prof . V. B. Prof . (Dr.) P.
Magdum V.Kadole
Jadhav HOD Electrical Department Director
Guide
ACKNOWLEDGEMENT
The Mini-Project Course i s the unique cour s e which has helped
u s in bringing out a lot of real research and a chance to know about the
reality of the engineering field by the various techniques gained from
the cours e and the methods of applying or implementing them to the
soci ety in a more feasible manner. Our team m em ber s are thankful to
the Department of Electrical Engineering and our institute for
enlightening u s with the Mini- Project Course.
The team m em ber s would like to express their special thanks with
gratitude to our guide Prof. Y. V. Sawant, P ro f es s o r in Electronics
Engineering Department,for the whole support, innovative ideas and
encouragement that w e the team received during the entire cour s e study.
Our special thanks to Prof. L . S. Admute, Head of Electronics
Engineering Department, for her constant motivation in carrying out this
Mini- Project work and to make it s uc ces s f ul .
We the team are als o happy to thank Prof. (Dr.) P. V. Kadole Sir,
Director, DKTE Society’s Textile and Engineering Institute for providing a
path or giving an opportunity to carry-out the undertaken Project.
The team would al so like to thank all the faculty and supporting
staff in the department, for helping u s directly or indirectly a s and when
required.
Last but not the least our team member s would like to thank God,
our parents and our friends for the unconditional support w e the team
received during the entire cour se and Mini-Project work.
Table of Contents
Chapter 1: Introduction
Chapter 2: System Implementation
• Schemetic Diagram with Explanation
• Description of Hardware Components
•Algorithm of implemented work
Chapter 3: Results
Chapter 4: Conclusion
Chapter 5: Applications with Advantages
and Limitations
• Applications
• Advantages
References
Chapter-1
Introduction
The number of embedded devices that can interact with
environment are already con-
nected to internet, and it is estimated that the number
reaches 50 billion by 2020 (Kouhia,
2016). The growth of such interacting objects achieved
this staggering pace with the
development of microcontroller based easy-to-use
designed system which are replacing
old systems designed with complicated electronic
circuits.
Chapter 2
System Implementation
2.1 Schematic Diagram
Fig: circuit diagram
Description of hardware components:
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
com-
munity 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
environ-
ment and internet.
ARDUINO UNO:
Arduino i s an open-source electronics platform bas ed on easy-to-use
hardware and software. Arduino boards are able to read inputs - light on
a sensor, a finger on a button, or a Twitter m e s s a g e - and turn it into an
output - activating a motor, turning on an LED, publishing s omething
online. You can tell your board what to d o by sending a set of
instructions to the microcontroller on the board. To do s o you u s e the
Arduino programming language (based on Wiring), and the Arduino
Software (IDE), bas ed on P ro c e s s i n g .
Over the years Arduino has been the brain of thousands of projects,
from everyday objects to complex scientific instruments. A worldwide
community of makers - students, hobbyists, artists, programmers, and
professionals - has gathered around this open-source platform, their
contributions have added up to an incredible amount of access i ble
knowledge that can be of great help to novi ces and experts alike.
2)DHT 11 Sensor
Operating Voltage: 3.5V to 5.5V
Operating current: 0.3mA (measuring) 60uA (standby)
Output: Serial data
Temperature Range: 0°C to 50°C
Humidity Range: 20% to 90%
Resolution: Temperature and Humidity both are 16-bit
Accuracy: ±1°C and ±1%
3) OLED DISPLAY
High-resolution at 128x64 pixels.
160 degrees viewing angle.
Lower power consumption: only 0.06W with normal use.
Power supply AC3V-5V, working very well with Arduino.
Working temperature: -30 degrees to 70 degree Celsius.
Dimensions: L27. 8 x W27. ...
Compatible 3.3v and 5.0v chip I/O level.
Driver IC SSD1306.
Algorithm of implemented work:
// to include LCD display
#include <LiquidCrystal.h>
// to include DHT11 sensor
#include <dht.h>
// introduction to pin connected
const int rs = 12, en = 11, d4 = 5, d5 = 4, d6
= 3, d7 = 2;
LiquidCrystal lcd(rs, en, d4, d5, d6, d7);
#define dht_dpin A0
int val;
int tempPin = 1;
dht DHT;
void setup() {
lcd.begin (16,2);
// the codes written here is to run the
programme once
lcd.print("Booting Up");
Serial.begin(9600);
delay(300);//Let system settle
Serial.println("Humidity and temperature\
n\n");
delay(700);// delay helps the system cool
down by have pause
}
void loop() {
// the codes written here is to run programme repeatedly until the
power off or
//stopped.
DHT.read11(dht_dpin);
lcd.setCursor(0,1);
val = analogRead(tempPin);
float mv = ( val/1024.0)*5000;
float cel = mv/10;
float farh = (cel*9)/5 + 32;
lcd.print("TEMP = ");
lcd.setCursor(0,1);
15
lcd.print(cel);
lcd.print(farh);
// lcd.print(farh,"*F")
delay(500);// delay sets the frequency
lcd.print("Humidity = ");
lcd.print(DHT.humidity);
lcd.print("% ");
delay(500);
lcd.print("temperature = ");
lcd.print(DHT.temperature);
lcd.println("C ");
Chapter
3
Results
After wiring and writing the code, the program was run and the built
device was success-
To study the performance characteristics of the used Arduino-based
humidity and tem-
perature sensor, the test was done in three different conditions. The
first test was done
inside an environmental laboratory room and the other two tests were
done inside a box
and outside laboratory, respectively. To create a different temperature
and humidity, the
sensor was kept inside an insulated wooden box and for the 3rd test the
measurement
was taken outside of the building.
Chapter 4
Conclusion
22
The work was successful in building a monitoring device which works as a
thermometer
for measuring temperature and humidity inside a building; it is capable of
measuring
humidity and temperature outdoors. Compared to expensive sensor, the
Arduino-based
monitoring system successfully reduces the power consumption, cost and
complexity of
the process. The performance of the system was accurate and reliable
with some error
in measurement and limitations of the used sensor.
Arduin- based monitoring 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 Arduino is programmed to use a USB cable to
connect to
computer while there are many other boards available with different
features.
Chapter 5
Applications with Advantages
Advantages:-
a) This sensor includes a resistive element and a sense of wet NTC
temperature measuring devices. It has the excellent quality, fast
response, anti-interference ability, and high-cost performance
advantages. Each DHT11 sensor features an extremely accurate
calibration of the humidity calibration chambe
.
Applications:
HVAC (Heating, Ventilation and Air Conditioning)
Systems Weather Stations Medical Equipment for
measuring humidity Home Automation Systems
Automotive and other weather control applications
References :
w w w.sensors.com
w w w.projects.com