FOOD STORAGE MONITORING AND DATA ACQUISITION
USING BLUETOOTH
A MINI PROJECT REPORT SUBMITTED
IN PARTIAL FULFILLMENT FOR THE AWARD OF THE DEGREE OF
BACHELOR OF TECHNOLOGY
IN
ELECTRONICS AND INSTRUMENTATION ENGINEERING
SUBMITTED BY
L.SUSHMA
12071A10B2
T.SUDEEPTHI
12071A10B3
P.VIJAY KUMAR
13075A1024
Under the Guidance of
Mrs. D.V.SHOBANA PRISCILLA,
Sr. Assistant Professor,
EIE Dept., VNR VJIET.
DEPARTMENT OF ELECTRONICS AND INSTRUMENTATION ENGINEERING
VNR VIGNANA JYOTHI INSTITUTE OF ENGINEERING & TECHNOLOGY
UGC AUTONOMOUS INSTITUTION
(Approved by AICTE, Accredited by NBA, NAAC, New Delhi)
BACHUPALLY, HYDERABAD-500090
2015-16
Department of Electronics and Instrumentation Engineering
VNR VIGNANA JYOTHI INSTITUTE OF ENGINEERING ANDTECHNOLOGY
UGC AUTONOMOUS INSTITUTION
(Approved by AICTE, Accredited by NBA, NAAC, New Delhi)
BACHUPALLY, HYDERABAD-500090
CERTIFICATE
This is to certify that the mini project entitled FOOD STORAGE MONITORING AND
DATA
ACQUISITION
USING
BLUETOOTH
is
being
submitted
by
L.SUSHMA(12071A10B2),T.SUDEEPTHI(12071A10B3),P.VIJAYKUMAR
(13075A1024) in partial fulfilment of the requirement for the award of Degree of Bachelor of
Technology in Electronics and Instrumentation Engineering, VNR Vignana Jyothi Institute
of Engineering and Technology is a record of bonafide work carried out by them under my
guidance and supervision during May 26th 2015 to June 25th 2015. The results embodied in
this thesis have not been submitted to any other University or Institute for the award of any
Degree or Diploma.
Mrs. D.V.SHOBANA PRISCILLA,
Mrs. R. Manjula Sri,
Sr.Assistant Professor
Head of the Department
EIE Dept., VNR VJIET
EIE Dept., VNR VJIET
Hyderabad.
Hyderabad.
External Examiner
ACKNOWLEDGEMENT
This is an acknowledgement of the intensive drive and technical competence of many
individuals who contributed to the success of our project.
We express our special gratitude to our Project Guide, Mrs. D.V.SHOBANA PRISCILLA
Sr.Assistant Professor, Department of Electronics and Instrumentation Engineering, VNR
VJIET, for her guidance and help in our present topic FOOD STORAGE MONITORING
AND DATA ACQUISITION USING BLUETOOTH. We thank her for her immense
cooperation in carrying out this project work.
Our sincere thanks to Mrs. R.MANJULA SRI, Associate Professor & Head of E.I.E
Department, VNRVJIET and Prof. S. RAJA RATNAM and Mr. NAGESHWAR V., MiniProject Coordinators for their valuable suggestions and guidance.
We express our sincere thanks to Dr.C.KIRANMAI, Principal, and VNR VJIET for the
support and motivation provided to us.
We extend our thanks to the rest of the faculty for their encouragement and guidance.
L.SUSHMA (12071A10B2)
T.SUDEEPTHI (12071A10B3)
P.VIJAY KUMAR(13075A1024)
DECLARATION
We hereby declare that the mini project work FOOD STORAGE MONITORING AND
DATA ACQUISITION USING BLUETOOTH submitted towards partial fulfilment of
requirements for the Degree of Bachelor of Technology in Electronics and Instrumentation
Engineering to VNR Vignana Jyothi Institute of Engineering and Technology, Hyderabad is
an authenticate work and had not been submitted to any other university or institute for any
award of degree or diploma.
L.SUSHMA
(12071A10B2)
T.SUDEEPTHI
P.VIJAY KUMAR
(12071A10B3)
(13075A1024)
ABSTRACT
The main purpose of this project is to continuously monitor the temperature, humidity and
quality of air in the food storage areas. Wherever perishable products are stored before final
distribution, there is a general requirement for the temperature and humidity of the storage
conditions to be recorded and controlled.
Control of temperature and relative humidity is critical in the preservation of perishable food
products, because unacceptable levels of these contribute significantly to the deterioration of
materials. Heat accelerates deterioration: the rate of most chemical reactions, including
deterioration, is approximately doubled with each increase in temperature of 18F (10C).
High relative humidity provides the moisture necessary to promote harmful chemical
reactions in materials and, in combination with high temperature, encourages mould growth
and insect activity.
Polluted air also contributes heavily to the damage of food in cold storages, so there should
be tracking of gases present inside the storage area.
TABLE OF CONTENTS
Page No.
Chapter 1: INTRODUCTION
1.1. Introduction....................................................................................1
1.2. Block Diagram................................................................................2
1.3. Schematic Diagram.........................................................................3
1.4. Principle of Operation.....................................................................4
Chapter 2: HARDWARE DESCRIPTION
2.1. List of Components.........................................................................5
2.2. Power supply
2.2.1. Introduction..........................................................................5
2.2.2. Block Diagram......................................................................5
2.3. Sensing Unit
2.3.1. Humidity Sensor (SYH2S)....................................................6
2.3.2. Temperature Sensor (LM35)..................................................7
2.3.3. Gas Sensor (MQ-3)................................................................9
2.4. Microcontroller (AT89S52)
2.4.1. Introduction and Features.....................................................11
2.4.2. Architecture..........................................................................13
2.4.3. Pin Diagram..........................................................................14
2.4.4. Pin Description......................................................................14
2.5. Interfacing Unit
2.5.1. ADC (MCP 3208)
2.5.1.1. Introduction and Features........................................21
2.5.1.2. Pin Diagram.............................................................21
2.5.1.3. Pin Description........................................................22
2.5.1.4. Functional Block Diagram.......................................23
2.5.1.5. Principle of Operation..............................................23
2.5.1.6. Electrical Characteristics.........................................24
2.6. Monitoring Unit
2.6.1. LCD.....................................................................................25
2.6.2. Bluetooth Transmission........................................................26
2.7. Controlling Unit
2.7.1. DC Fan................................................................................28
Chapter 3. SOFTWARE DESCRIPTION
3.1. KEIL Vision.......................................................................29
3.2. Program..................................................................................30
Chapter 4.
4.1 Results............. 39
4.2 Conclusion............................................................................... 43
Chapter 5.APPLICATIONS............................................................................44
Bibliography
45
References
45
LIST OF DIAGRAMS
Page no.
1.2.1. Block diagram................................................................................................. 2
1.3.1. Schematic Diagram......................................................................................... 3
2.2.2.1: Block Diagram of Power Supply................................................................. 5
2.3.1.1. Humidity Sensor.......................................................................................... 6
2.3.1.2. Pin Diagram of SY-HS-220......................................................................... 6
2.3.2.1. Temperature Sensor..................................................................................... 7
2.3.2.2. Pin diagram of LM35................................................................................... 8
2.3.2.3. Internal circuit of LM35............................................................................... 9
2.3.3.1. Gas Sensor.................................................................................................... 9
2.3.1.2: MQ3 Sensor Connection Diagram............................................................... 10
2.3.1.3. Structure and configuration, basic measuring circuit................................... 10
2.4.1.1:AT89S52 Microcontroller............................................................................. 12
2.4.2.1: Block Diagram of AT89S52 Microcontroller............................................. 13
2.4.3.1: Pin Diagram of AT89S52............................................................................ 14
2.4.4.1: Oscillator Connections................. 18
2.5.1.2.1: Pin Diagram of MCP3208........................................................................ 21
2.5.1.4.1: Functional block diagram of MCP3208.................................................... 23
2.6.1.1: LCD output................................................................................................... 25
2.6.1.3: pin diagram of 1x16 lines LCD.................................................................... 25
2.6.2.1: Bluetooth pin diagram.................................................................................. 27
2.6.2.2: Data Acquired Via Bluetooth................ 27
2.7.1.1. DC Fan......................................................................................................... 28
4.1.1: Module Output ........... 39
4.1.2: Output Displayed On LCD.......... 40
4.1.3: Activation of Bluetooth .......... 40
8
4.1.4: Connecting Bluetooth Device to Smart Phone........ 41
4.1.5: Communication using Bluetooth spp pro app......... 41
4.1.6: Output Displayed In Smart Phone....... 42
LIST OF TABLES
Page no.
2.3.2.1.Pin description of LM35...............................................................8
2.4.4.1: Ports showing alternate functions at Port 1............................... 15
2.4.4.2: ports showing the alternate function at port 3.......................... 16
2.4.4.3: Timer 2 Operating Modes.......................................................... 20
2.5.1.3.1: Pin Functions of MCP3208.................................................... 22
2.6.1.1: LCD Pin Functions.....................................................................26
3.1.1: Embedded C Data Types........................................................... 29
10