0% found this document useful (0 votes)
10 views21 pages

IoT Based Door System.

The document presents a project report on an IoT-based door camera system integrated with Telegram for real-time monitoring and alerts, aimed at enhancing home security. It outlines the project's objectives, methodology, and findings, demonstrating successful implementation and user-friendly features. The project contributes to the growing demand for cost-effective and customizable home security solutions, leveraging modern IoT technology.

Uploaded by

gmstchs
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
10 views21 pages

IoT Based Door System.

The document presents a project report on an IoT-based door camera system integrated with Telegram for real-time monitoring and alerts, aimed at enhancing home security. It outlines the project's objectives, methodology, and findings, demonstrating successful implementation and user-friendly features. The project contributes to the growing demand for cost-effective and customizable home security solutions, leveraging modern IoT technology.

Uploaded by

gmstchs
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 21

<<IOT BASED DOOR CAMERA WITH TELEGRAM INTEGRATION >>

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)

DEPARTMENT OF INFORMATION TECHNOLOGY - CS(IoT)


ACROPOLIS INSTITUTE OF TECHNOLOGY & RESEARCH,
INDORE (M.P.) 452020
2023-2024
Declaration

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.

Lucky Bairagi <0827IO223D02>


Vinay Sisodiya<0827IO211066>
Suyash Sharma<0827IO211058>
Atharva khede<0827IO211009>

Prof. Vishal Trivedi

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

Recommendation concurred in 2023-2024

Project Incharge

Project Coordinator

3
Acropolis Institute of Technology & Research

Deparment of Infromation Technology

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.).

Internal Examiner External Examiner

Name:………………. Name: ……………..

Date: …./…/……….. Date: …./…/………..

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 Prof. (Dr.) Prashant Lakkadwala, Head, Department of Information


Technology CSE(IOT) for his favourable responses regarding the study and providing
necessary facility.

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.

Lucky Bairagi <0827IO223D02>


Vinay Sisodiya<0827IO211066>
Suyash Sharma<0827IO211058>
Atharva khede<0827IO211009>

Abstract

5
1. What was done?

This project involved the design, development, and implementation of an innovative


IoT-based door camera system, combining a Raspberry Pi IoT device, an ESP32-
CAM, and an ultrasonic sensor. The system allows real-time monitoring of the user's
front door and sends instant alerts through the Telegram messaging platform when
motion is detected.

2. Why was it 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.

3. How was it done?

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.

4. What was found?

Through extensive testing, the project demonstrated successful real-time monitoring


capabilities, with the system effectively capturing images and videos when motion
was detected at the door. The integrated solution met the project's objectives and
provided a user-friendly and secure means of enhancing home security

5. What is the significance of the findings?

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

Project Approval Form

Acknowledgement

Abstract

List of Figures……

List of Tables……………….

Abbreviations………..

Chapter 1: Introduction

1.1 Rationale

1.2 Existing System

1.3 Problem Formulation

1.4 Proposed System

1.5 Objectives

1.6 Contribution of the Project

1.6.1 Market Potential

1.6.2 Innovativeness

1.6.3 Usefulness

1.7 Report Organization

Chapter 2: Requirement Engineering

2.1 Feasiblity Study (Technical, Economical, Operational)

2.2 Requirement Collection

2.2.1 Discussion

2.2.2 Requirement Analysis

7
2.3 Requirements

2.3.1 Functional Requirements

2.3.1.1 Statement of Functionality

2.3.2 Nonfunctional Requirments

2.3.2.1 Statement of Functionality

2.4 Hardware & Software Requirements

2.4.1 Hardware Requirement (Developer & End User)

2.4.2 Software Requirement (Developer & End User)

2.5 Use-case Diagrams

2.5.1 Use-case Descriptions

Chapter 3: Analysis & Conceptual Design & Technical Architecture

3.1 Technical Architecture

3.2 Sequence Diagrams

3.3 Class Diagrams

3.4 DFD

3.5 User Interface Design

3.6 Data Design

3.6.1 Schema Definitions

3.6.2 E-R Diagram

Chapter 4: Implementation & Testing

4.1 Methodology

4.1.1 Proposed Algorithm

4.2 Implementation Approache

4.2.1 Introduction to Languages, IDEs Tools and Technoloies

4.3 Testing Apporaches

4.3.1 Unit Testing

a. Test Cases

8
4.3.2 Integration Testing

b. Test Cases

Chapter 5: Results & Discussion

5.1 User Interface Representation

5.1.1 Brief Desscription of Various Modules

5.2 Shapshot of System with Brief Description

5.3 Database Description

5.3.1 Snapshot of Database Tables with Brief Description

5.4 Final Findings

6. Conclusion & Future Scope

6.1 Conclusion

6.2 Future Scope

REFERENCES

Appendix A: Project Synopsis

Appendix B: Guide Interaction Report (*Dully Signed by Guide)

Appendix C: User Manual

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.3 Problem Formulation


The project aims to create an IoT-based door camera system to address the need for improved
home security. The problem lies in the lack of cost-effective, customizable, and real-time
monitoring solutions that cater to the specific needs of homeowners.

1.4 Proposed System


The proposed system integrates a ESP -based IoT device, an ESP32-CAM, and an ultrasonic
sensor to monitor the front door and send real-time alerts through the Telegram platform.
This system provides enhanced security features and flexibility, making it an attractive
solution for homeowners.

1.5 Objectives
The objectives of this project are to:

• Develop a cost-effective IoT-based door camera system.


• Enable real-time monitoring of the front door.
• Provide instant alerts through Telegram.
• Enhance home security and user peace of mind.
1.6 Contribution of the Project

1.6.1 Market Potential


The project offers a practical solution to a growing market demand for cost-effective home
security systems. It caters to homeowners seeking an affordable, customizable, and real-time
monitoring solution.

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.

1.7 Report Organization


This report is structured into chapters to present a detailed account of the project's
development and findings. The subsequent chapters will provide a comprehensive
understanding of the project's design, implementation, testing, and results.

Requirement Engineering

2.1 Feasibility Study (Technical, Economical, Operational)


Technical Feasibility: The technical assessment involves evaluating the availability and
compatibility of high-definition cameras and communication modules, and IOT components
for seamless integration. Additionally, it involves ensuring the reliability of motion detection
technology and secure data transmission protocols. The study also includes an assessment of
the system's compatibility with various mobile and web platforms, ensuring a user-friendly
experience across different devices.

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 Requirement Collection

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.2.2 Requirement Analysis


The analysis of requirements for the IOT-based door camera with Telegram integration
project involves a comprehensive assessment of both functional and non-functional elements
for the system's successful implementation. Understanding the preferences and needs of the
end-users, encompassing homeowners, property managers, and businesses, is paramount for
tailoring the system's design and functionalities. Additionally, assessing environmental
constraints, such as varying light conditions and weather durability, is crucial to guarantee the
system's adaptability and resilience. Furthermore, an in-depth analysis of regulatory standards
and data protection laws is imperative to ensure the system's compliance with legal
requirements, thereby mitigating potential risks and ensuring ethical and lawful utilization.

2.3 Requirements

2.3.1 Functional Requirements


2.3.1.1 Statement of Functionality
- Real-time Image Access: The system should be capable to provide image access from the
door camera to authorized users' devices in real-time.

- Motion Detection: The system must detect motion near the door and send appropriate
signals.

- Image Capture: Images of visitors should be captured and stored efficiently.

- Telegram Integration: The system should seamlessly integrate with Telegram, enabling
homeowners to receive notifications and access the camera feed through the messaging app.

2.3.2 Nonfunctional Requirements


2.3.2.1 Statement of Functionality
- Security: The system must employ strong encryption and authentication mechanisms to
protect user data and camera access.

15
- Performance: The system should offer real-time image capturing with minimal error and
delay.

- Usability: User interfaces should be intuitive and user-friendly.

2.4 Hardware & Software Requirements

2.4.1 Hardware Requirement (Developer & End User)


Following Hardware Requirements –

ESP 32 Cam –

The ESP32-CAM is a compact and multifunctional development board that integrates an


ESP32 microcontroller with a camera module, offering a comprehensive platform for
capturing images and videos and transmitting them over Wi-Fi. The ESP32 microcontroller,
known for its efficiency and versatility, incorporates built-in Wi-Fi and Bluetooth
capabilities, making it well-suited for various IoT applications. The onboard camera module,
typically employing the OV2640 or OV7670 image sensor, enables the device to capture
high-resolution images and videos up to 2 megapixels. Alongside the GPIO pins, which
facilitate the connection of external devices and sensors, the ESP32-CAM provides a flexible
and expandable environment for diverse IoT projects. Its compatibility with the Arduino IDE
and ESP-IDF simplifies the programming process, catering to developers of different skill
levels. Additionally, the board supports external memory cards like microSD cards for storing
captured media and allows for the attachment of external sensors, enhancing its adaptability
for complex IoT applications. Overall, the ESP32-CAM serves as a practical and cost-
effective solution for IoT projects that demand seamless image and video capture and
wireless transmission capabilities.

ESP 32 Cam

Ultra Sonic Sensor –


An ultrasonic motion sensor operates by emitting high-frequency sound waves, then
capturing and analyzing the echoes that bounce back from objects in its vicinity. This process
enables the sensor to accurately measure the distance between itself and the objects, thus
detecting any changes in this distance as movement. By precisely calculating the time taken
for the ultrasonic waves to travel back and forth, the sensor can effectively discern the
presence of motion within its predetermined detection range. Notably, these sensors offer
customizable detection ranges and sensitivity levels, allowing users to tailor the sensor's

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.

Ultra So Ultra Sonic Sensor

Camera Module OV7670 –

The OV7670 camera module, developed by OmniVision Technologies, boasts a 1/6-inch


VGA CMOS image sensor that supports a resolution of 640 x 480 pixels. Equipped with a
range of image signal processing functions, including color recovery, gamma correction, and
automatic exposure control, the module ensures superior image quality across diverse lighting
conditions. Facilitating seamless integration with microcontrollers and embedded systems,
the module relies on the Serial Camera Control Bus (SCCB) interface for configuring and
managing various camera parameters such as image size, format, frame rate, and special
effects. With integrated lenses and filters enabling features like automatic white balance,
black level calibration, and flicker detection, the module guarantees precise color
reproduction and image clarity.

17
OV 7670 Camera Module

2.4.2 Software Requirement (Developer & End User)


A listing of the software requirements for both developers and end users of the system.

2.5 Use-case Diagrams


Use-case diagrams illustrating the interactions between users and the system.

2.5.1 Use-case Descriptions


Detailed descriptions of the use-cases and how they relate to the system's functionality.

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

3.1 Technical Architecture


The technical architecture of the IoT-Based Door Camera with Telegram Integration project
is designed to seamlessly integrate multiple components to enable efficient real-time
monitoring and alert generation.

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.

3.2 Sequence Diagrams


The sequence diagrams provide a visual representation of how the system components
interact and communicate to achieve real-time monitoring and alerting.

[Insert sequence diagrams showing the flow of actions, data, and messages between the
Raspberry Pi, ESP32-CAM, ultrasonic sensor, and Telegram integration.]

3.3 Class Diagrams


The class diagrams outline the structure of the system and the relationships between key
classes. They help in understanding the organization of the project's code and data.

[Insert class diagrams illustrating the key classes and their associations within the project.]

3.4 Data Flow Diagram (DFD)


The Data Flow Diagram illustrates how data is processed and moves through the system,
from the initial capture by the ESP32-CAM to the alerting process through Telegram.

[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.]

3.6 Data Design

3.6.1 Schema Definitions


The database schema definitions are integral to storing and managing data efficiently. The
schema includes tables to hold information such as user data, captured images, and motion
detection records.

[Provide a detailed description of the schema and its various tables, fields, and relationships.]

3.6.2 Entity-Relationship (E-R) Diagram


The E-R diagram visually represents the relationships between entities in the database, aiding
in understanding how data entities are connected.

[Include an E-R diagram illustrating the relationships between data entities in the project's
database.]

Chapter 4: Implementation & Testing

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.

4.1.1 Proposed Algorithm


The algorithm used for motion detection and alert triggering is based on continuous
monitoring of the ultrasonic sensor and camera feed. When the sensor detects motion, the
camera captures images or videos, and the system initiates the alerting process through
Telegram.

[Provide a detailed explanation of the proposed algorithm.]

4.2 Implementation Approaches


The project uses specific programming languages, IDEs, tools, and technologies to
implement the system effectively.

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.]

4.3 Testing Approaches


To ensure the reliability and functionality of the system, various testing approaches are
employed.

4.3.1 Unit Testing


Unit testing involves testing individual components to ensure they work as expected. This
section outlines the unit testing process and the development of test cases.

a. Test Cases

[Include a list of test cases used for unit testing, specifying expected outcomes.]

4.3.2 Integration Testing


Integration testing assesses the interaction between system components to guarantee proper
communication and functionality.

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

You might also like