IoT Based Door System.
IoT Based Door System.
A
Project Report
Submitted in partial fulfillment of the requirement for the award of degree of
Bachelor of Technology
In
Computer Science & Engineering(Internet of Things)
Submitted to
RAJIV GANDHI PROUDYOGIKI VISHWAVIDYALAYA,
BHOPAL (M.P.)
Guided By Submitted By
Prof. Vishal Trivedi Lucky Bairagi (0827IO223D02)
Vinay Sisodiya(0827IO211066)
Suyash Sharma(0827IO211058)
Atharva khede(0827IO211009)
I hereby declared that the work, which is being presented in the project entitled IOT BASED
DOOR CAMERA WITH TELEGRAM INTEGRATIONpartial fulfilment of the
requirement for the award of the degree of Bachelor of Technology, submitted in the
department of Information Technology CSE(IoT) at Acropolis Institute of Technology &
Research, Indore is an authentic record of my own work carried under the supervision of
“Prof. Vishal Trivedi”. I have not submitted the matter embodied in this report for award of
any other degree.
Supervisor
2
Project Approval Form
I hereby recommend that the project <IOT Based Door Camera With Telegram
Integration> prepared under my supervision by <lucky Bairagi (D02) , Atharva Khede(09)
, Vinay Sisodiya(66), Suyash Sharma (58)> be accepted in partial fulfillment of the
requirement for the degree of Bachelor of Engineering in Computer Science & Engineering.
Supervisor
Project Incharge
Project Coordinator
3
Acropolis Institute of Technology & Research
CSE(IoT)
Certificate
The project work entitled IOT Based Door Camera With Telegram Integration submitted
by <lucky Bairagi (D02) , Atharva Khede(09) , Vinay Sisodiya(66), Suyash Sharma
(58)> is approved as partial fulfillment for the award of the degree of Bachelor of
Technology in Information Technology CSE(IoT) by Rajiv Gandhi Proudyogiki
Vishwavidyalaya, Bhopal (M.P.).
4
Acknowledgement
With boundless love and appreciation, we would like to extend our heartfelt gratitude and
appreciation to the people who helped us/me to bring this work in reality. We would like to
have some space of acknowledgement for them.
Foremost, our would like to express our sincere gratitude to our supervisor, Prof. Vishal
Trivedi whose expertise, consistent guidance, ample time spent and consistent advices that
helped us/me to bring this study into success.
To the project in-charge Prof. Pawan Makhijaand project coordinator Prof. Deepak Singh
Chouhan for their constructive comments, suggestions, and critiquing even in hardship.
To the honourable Dr. S.C. Sharma, Director, AITR, Indore for his unending support,
advises and effort to make possible.
Finally, we would like to pay our thanks to faculty members and staff of Department of
INFORMATION TECHNOLOGY for their timely help and support.
We also like to pay thanks to ourparents for their eternal love, support and prayers.Without
them it is not possible.
Abstract
5
1. What was done?
The project was initiated to address the growing concern of home security. With an
increasing reliance on interconnected devices, a cost-effective, customizable, and real-
time monitoring solution was sought to provide homeowners with an effective means
of safeguarding their properties and enhancing their peace of mind.
The project integrated the components through careful hardware and software
configuration. The ESP32-CAM was used for capturing video feed and transmitting it
to the Raspberry Pi, while the ultrasonic sensor detected proximity and motion at the
door. Secure communication was established with a Telegram bot for real-time alerts.
The findings of this project are significant as they contribute to a cost-effective, real-
time monitoring solution that empowers homeowners to take proactive steps in
securing their properties. The integration of IoT technology and Telegram messaging
provides a practical and customizable home security system, enhancing user safety
and peace of mind in an interconnected world
6
Table of Content
Declaration
Acknowledgement
Abstract
List of Figures……
List of Tables……………….
Abbreviations………..
Chapter 1: Introduction
1.1 Rationale
1.5 Objectives
1.6.2 Innovativeness
1.6.3 Usefulness
2.2.1 Discussion
7
2.3 Requirements
3.4 DFD
4.1 Methodology
a. Test Cases
8
4.3.2 Integration Testing
b. Test Cases
6.1 Conclusion
REFERENCES
List of Figures
9
List of Tables
10
Abbreviations
11
INTRODUCTION
1.1 Rationale
The project aims to address the growing concern of home security by leveraging IoT
technology and real-time communication platforms. The need for an innovative solution that
combines door monitoring, motion detection, and instant alerts is evident as traditional home
security systems have limitations.
12
1.2 Existing System
Traditional home security systems often rely on static cameras with limited capabilities and
do not provide real-time monitoring and alerts. This project seeks to overcome these
limitations.
1.5 Objectives
The objectives of this project are to:
13
1.6.2 Innovativeness
The integration of IoT, an ESP32-CAM, and the Telegram platform represents an innovative
approach to home security. The project introduces new ways to address common security
concerns.
1.6.3 Usefulness
The project contributes to improving home security, which is a vital aspect of modern living.
It provides a valuable solution to homeowners seeking to protect their properties and loved
ones.
Requirement Engineering
Economic Feasibility: The economic feasibility study assesses the initial investment required
for research, development, and production, as well as the ongoing operational costs, including
marketing, distribution, and customer support. It also evaluates potential revenue streams
through product sales, subscription models, or service-based offerings. Market analysis is
conducted to estimate the demand for the product and determine the pricing strategies that
align with market expectations while ensuring a profitable venture.
14
Operational Feasibility : The operational feasibility of the IOT-based door camera with
Telegram integration project is centered on evaluating its seamless integration within the
existing operational framework. This assessment encompasses various critical aspects,
including the user-friendliness of the interface, ensuring an intuitive and accessible system
for both administrators and end-users. The study also analyzes the potential impact of the
system on daily operations, aiming to minimize disruptions and ensure a streamlined
integration process that aligns with existing workflow structures.
2.2.1 Discussion
The necessary discussed hardware and software requiements for the project includes ESP32
cam,UltraSonic Sensor, Node Js for code implementation using Telegram API and some
other functional and non-functional requirements.
2.3 Requirements
- Motion Detection: The system must detect motion near the door and send appropriate
signals.
- Telegram Integration: The system should seamlessly integrate with Telegram, enabling
homeowners to receive notifications and access the camera feed through the messaging app.
15
- Performance: The system should offer real-time image capturing with minimal error and
delay.
ESP 32 Cam –
ESP 32 Cam
16
responsiveness to motion based on specific distance parameters and angular coverage.
Commonly employed in security systems, automated lighting controls, and smart building
management for occupancy detection, ultrasonic motion sensors provide a reliable and
accurate means of monitoring movement, irrespective of ambient light conditions. However,
their functionality may be influenced by environmental factors such as temperature,
humidity, and air currents, which can impact the propagation of ultrasonic waves. Despite
these considerations, ultrasonic motion sensors remain integral to various industrial and
residential applications, serving as a critical component for ensuring security, enhancing
energy efficiency, and enabling automation in diverse settings.
17
OV 7670 Camera Module
This structure provides a framework for the introduction and requirement engineering
chapters of your project report. You can further expand on these sections with specific project
details, data, and explanations. If you'd like me to continue providing content for the other
chapters, please let me know.
18
Analysis & Conceptual Design & Technical Architecture
At the heart of the system is the Raspberry Pi IoT device, which acts as the central hub for
processing and communication. The ESP32-CAM is responsible for capturing images and
videos, while the ultrasonic sensor detects proximity and motion at the door. The Telegram
integration allows for instant alerting and remote monitoring through the messaging platform.
[Insert sequence diagrams showing the flow of actions, data, and messages between the
Raspberry Pi, ESP32-CAM, ultrasonic sensor, and Telegram integration.]
[Insert class diagrams illustrating the key classes and their associations within the project.]
[Include a detailed DFD showing the data flow between the components and the processes
involved.]
19
3.5 User Interface Design
The user interface design focuses on ensuring a user-friendly experience for interacting with
the system. It includes an intuitive dashboard for remote monitoring and control.
[Include screenshots or sketches of the user interface, highlighting key elements and
features.]
[Provide a detailed description of the schema and its various tables, fields, and relationships.]
[Include an E-R diagram illustrating the relationships between data entities in the project's
database.]
4.1 Methodology
The project follows a structured methodology to implement the IoT-Based Door Camera
system with Telegram integration. The proposed algorithm outlines how the system detects
motion and triggers alerts.
20
4.2.1 Introduction to Languages, IDEs, Tools, and Technologies
The system is primarily implemented using Python for programming, OpenCV for image and
video processing, and Telegram API for integration. The Raspberry Pi is used as the IoT
device for system control.
[Explain the role of each language, IDE, tool, and technology in the project.]
a. Test Cases
[Include a list of test cases used for unit testing, specifying expected outcomes.]
b. Test Cases
[List test cases used for integration testing, specifying expected results.]
This content provides a framework for Chapter 3 and Chapter 4 of your project report. You
can expand upon these sections with specific project details, code snippets, and test cases to
provide a comprehensive view of your project's design, implementation, and testing. If you
have further questions or need assistance with additional chapters, please feel free to ask.
.
21