Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 7

DECLARATION

We hereby declare that the project entitled “BI-DIRECTIONAL VISITOR


COUNTER USING IOT” has been undertaken by B. Durga Nookambica, B. Yogesh
kumar, K. Nagadevi, K. Omsai and the project report is submitted to ADITYA COLLEGE
OF ENGINEERING AND TECHNOLOGY, Surampalem in partial fulfillment of the
requirements for the award of degree of BACHELOR OF TECHNOLOGY in
ELECTRONICS AND COMMUNICATION ENGINEERING.
We also hereby declare that this project has not been submitted in partial or full to any other
university for any degree.

With sincere regards,


B. DURGA NOOKAMBICA 17P31A04C6
B. YOGESH KUMAR 17P31A04C8
K. NAGADEVI 17P31A04D8
K. OMSAI 17P31A04E7
ACKNOWLEDGEMENT

We express our sincere gratitude and heartfelt thanks to the under stated persons
for the successful completion of our project on “BI-DIRECTIONAL VISITOR
COUNTER”.

First and foremost, we wish to thank our guide Mr. I. RAMESH RAJA, M.E.
Assistant Professor for his kind guidance and valuable advices at every stage of our
project.

We feel much grateful to Dr. D. KISHORE., Associate Professor and Head of the
department of ECE, who provided vital information and helped in completion of our
project successfully.

We express our sincere thanks to Dr. T. K. RAMA KRISHNA RAO, M.Tech.,


Ph.D., Principal of Aditya College of Engineering & Technology, for his enriching
thoughts and profound knowledge, which brought our project to its completion.

We own our sincere gratitude to all other faculty members, technicians and
management of ADITYA COLLEGE OF ENGINEERING & TECHNOLOGY for
their help directly and indirectly in completion of this project.

With Sincere regards,


B. DURGA NOOKAMBICA (17P31A04C6)
B. YOGESH KUMAR (17P31A04C8)
K. NAGADEVI (17P31A04D8)
K. OM SAI (17P31A04E7)
CONTENTS
Page No.
ABSTRACT I
LIST OF FIGURES II
CHAPTER-1: BI-DIRECTIONAL VISITOR COUNTER USING IOT 1-2
1.1 Introduction 1
1.2 Main objective 1
1.3 Block diagram of Bi-directional visitor counter 2
CHAPTER-2: HARDWARE COMPONENTS 3-17
2.1 Arduino UNO 3
2.1.1 Features of Arduino UNO 5
2.1.2 Pin Description 6
2.2 Power Supply 7
2.3 ESP8266 Wi-Fi Module 9
2.3.1 Pin Description 11
2.3.2 Features of Wi-Fi Module 11
2.4 IR Sensor 12
2.4.1 Pin Description 13
2.4.2 Working of an IR Sensor 14
2.4.3 Features of IR Sensor 14
2.5 16X2 LCD Display 15
2.5.1 Execution of LCD 15
2.5.2 Pin Description 16
2.5.3 Features of LCD Display 17
CHAPTER-3: SOFTWARE DEVELOPMENT 18-35
3.1 Arduino IDE Software 18
3.1.1 File 20
3.1.2 Edit 21
3.1.3 Sketch 21
3.1.4 Tools 23
3.1.5 Help 24
3.2 Uploading 24
3.3 Libraries 25
3.4 Standard Libraries 26
3.5 Third-Party Hardware 26
3.6 Serial Monitor 27
3.7 ThingSpeak 28
3.7.1ThingSpeak Key Features 28
3.7.2 Working of ThingSpeak 29
3.8 HTML5 29
3.8.1 Features of HTML5 31
3.8.2 New Added elements in HTML5 33
3.9 Bootstrap 34
3.9.1 Features of Bootstrap 35
CHAPTER-4: INTERNET OF THINGS 36-43
4.1 Introduction 36
4.2 What Is Internet of Things (IoT) 37
4.3 The Three Factors of IoT 39
4.4 Benefits of IoT 40
4.5 IoT Hardware 41
4.6 IoT Across Various Domains 42
CHAPTER-5: PROJECT WEBSITE 44-56
5.1Visitor count 45
5.1.1 IV ECE-C Visitor count 45
5.1.2 IV ECE-D Visitor count
46
5.2 Attendance 48
5.2.1 Attendance system Implementation 48
5.2.1.1 Using Smart Phone 48
5.2.1.2 Using Laptop/Desktop 52
5.3 Netlify 53
5.4 Deploying project website using netlify 54
5.5 Advantages and Disadvantages of Bi-directional visitor counter 55
5.6 Applications of Bi-directional visitor counter 56
CHAPTER-6: RESULT 57-58
CONCLUSION 59
FUTURE SCOPE 60
BIBLIOGRAPHY 61
APPENDIX 62-109
Website code 62
Embedded C code 102
ABSTRACT

The Internet of Things (IoT) refers to a system of interrelated, internet-connected


objects that are able to collect and transfer data over a wireless network without human
intervention. By using the IoT concept we can keep track of number of people present inside
a room or a building by making a Bi-directional Visitor Counter by using
ESP8266 & ThingSpeak. When it comes to IoT it’s all about data. So, we collect data by
monitoring the total number of incoming, outgoing, and current visitors online from any part
of the world using ThingSpeak cloud. To count the incoming and outgoing visitors, it is
cheaper to use an Infrared or IR Sensors. The visitor’s data uploads automatically to
ThingSpeak cloud using the ESP8266 Wi-Fi Module. It can be used in the Classrooms,
Shopping malls, offices, banks, hospitals, functions etc in the entrance gate to count the total
number of visitors. The device counts the total number of people entering through the gate
and also counts the total number of people leaving through the different gates. And finally, it
calculates the total number of current people by subtracting the outgoing visitor from the
incoming visitor and displays the count on the LCD display and in the cloud platform.

I
LIST OF FIGURES
Page No.
Fig.1.1 Block Diagram of Bi-directional visitor counter 2
Fig.2.1 Overview of Arduino UNO 4
Fig.2.2 Arduino UNO Pin Description 7
Fig.2.3 Step down transformer 8
Fig.2.4 Overview of Wi-Fi Module 10
Fig.2.5 Pin description of Wi-Fi Module 11
Fig.2.6 IR Sensor 13
Fig.2.7 Working of an IR Sensor 14
Fig.2.8 16x2 LCD display 15
Fig.2.9 16X2 LCD Pin diagram 16
Fig.3.1 Window of the Arduino IDE Software 18
Fig.3.2 Toolbar Buttons 19
Fig.3.3 Menu Bar 20
Fig.3.4 Uploading the File 24
Fig.3.5 Serial Monitor Window 27
Fig.3.6 Working of Thingspeak 30
Fig.4.1 IoT Introduction 36
Fig.5.1 Homepage 44
Fig.5.2 Navigation bar links 44
Fig.5.3 IV ECE-C Visitor count webpage 45
Fig.5.4 IV ECE-C Visitor count graph 46
Fig.5.5 IV ECE-D Visitor count webpage 46
Fig.5.6 IV ECE-D Visitor count graph 47
Fig.5.7 Attendance page 48
Fig.5.8 Choosing a subject 49
Fig.5.9 Displaying Students list 49
Fig.5.10 Displaying absentees 50
Fig.5.11 Displaying the downloaded option 50
Fig.5.12 Displaying the downloaded file 51

II
Fig.5.13 MHTML Viewer in playstore 51
Fig.5.14 Displaying how to save the file 52
Fig.5.15 Choose the file location and name 52
Fig.5.16 Displaying the downloaded file 53
Fig.5.17 Netlify homepage 54
Fig.5.18 Displaying deployed project website 55
Fig.6.1 Hardware kit 57
Fig.6.2 Visitor count graph 58
Fig.6.3 Visitor count graph at different time interval 58

III

You might also like