Doorbell Automation Using AI and IoT For
Doorbell Automation Using AI and IoT For
Doorbell Automation using AI and IoT for old Aged and Differently
Physically Challenged People
Anmol Singh1 , AnuragSinha2
1
Department of Computer Science and Engineering, Research scholar, Amity University Jharkhand
Ranchi, Jharkhand, India
2
Department of Information Technology, Research scholar, Amity University Jharkhand
Ranchi, Jharkhand, India
Email: [email protected] [email protected]
Abstract- In this paper, I propose a smart door and doorbell system for home automation using the Internet of things
(IoT) and Artificial Intelligence (AI) for old aged and differently able people to make their life easy and secure. In this
model, I am using Raspberry Pi for managing various interfaces and communications. The model consists of multiple
interfaces, including sensors, actuators and multiple inputs and out interfaces. To implement my IoT solution I have used
AWS (Amazon web service) IoT to provide many cloud services to support IoT-based applications. The apps give access
to IoT devices and the features the cloud services offer to those connected. The tools use various technologies and
protocols such as Wi-Fi or cellular data to communicate with the cloud. The mode of communication is via MQTT
(Message Queuing and Telemetry Transport) process. I have also used various software, including device software,
control services, data derives and core services provided by the AWS IoT, making this model efficient and scalable. The
overall aim of this paper is to make appropriate use of the technology for the needy and coming generations to come
Keywords-Smart Doorbell System, Raspberry pi, MQTT, AWS IoT
I. INTRODUCTION
Today, about 962 million of the global population is aged 60 servers, database, analytics. Raspberry Pi is also connected
and above and 10 % of the world's population is differently- to 3 sensors, which are two motion sensors and a one-touch
abled people as predicted by WHO. Nearly in all families, sensor. It has a bell that rings when an intruder or member
some old aged people need care with time. Their mobility rings the doorbell. I have used AWS IoT Device SDK as a
decreases with age, but they want to live the same way they software kit that connects hardware devices or mobile
used to live. Another section of people is the differently- applications, allowing devices to connect, authenticate and
abled people who have difficulty in speaking, moving, synchronize messages via IoT using the MQTT process.
seeing, or hearing things around. When an intruder rings the Face recognition Machine Learning models can be installed
bell, they often panic or want to open the door, but it takes with the help of AWS IoT Greengrass ML inference on
time. It's a matter of concern for their family members to Raspberry Pi, which can perform face recognition locally.
leave them alone in their homes due to the above reason and
for security issues. Someone needs to be around them. This II. LITERATURE REVIEW
gives rise to the feeling of inferiority
Antunes and Grilo [1] described a web-based intrusion
Advancements in technology such as Artificial intelligence alarm system. It works on developing control and
and the Internet of Things, which has a vital role in home monitoring hardware of the distributed web-based intrusion
automation, are now making life more comfortable. But no alarm system. The alarm system should have at least one
such IoT projects have yet been developed specifically for control panel, rechargeable battery, backup power supply
the above group of people. Thus, in this paper, I am and internal or external keypad, plush interior and a
proposing a theoretical model that can solve this problem surrounding intrusion detector and an external siren.
when implemented practically. In this paper, I am using
In [2] I saw a short message service (SMS) intrusion alarm
Raspberry Pi as an application platform as it is widely used
system for motorcycles. This guy is Owners of a potential
in recent years; it also provides comfortable use support and
intrusion into motorcycles via alarm and SMS (Short
documentation. Raspberry Pi is connected to internet access,
Message Service) PIC microcontroller programming.
such as Wi-Fi. It uses python programming to connect and
Research work included the PIC16F877A microcontroller
communicate with the amazon Web Service Internet of
interface. With a nokia6100 mobile phone connected in
Things (AWS IoT ) as AWS allows Bi-directional
simple dual mode.
communication between the devices connected to Internet,
embedded devices and various AWS IoT such as cloud
From [3], the authors studied the security and privacy issues
of the IoT.Four perspectives. First, they point out the
limitations of applying security to IoT devices (e.g., Battery
life, computer Power) and the proposed solution (e.g. Light
Encryption schemes designed for embedded systems). They
summarize the classification of IoT attacks (e.g., physical,
remote, Area, etc.). Thirdly, they focus on mechanisms and
architecture. Designed and implemented for authentication
and authorization purpose. Finally, analyze security issues at
multiple levels. (Ex. Physical, network, etc.).
V. Model Description
Python
Figure 1: Main Model Raspberry pi 4 has a micro SD card slot for loading the
Raspbian operating system like other Raspberry computers.
Pi 4 models have a Broadcom BCM2711, quad-core Cortex-
Vol. 4 (4), October 2020, www.ijirase.com 731
ISSN(Online) : 2456-8910
International Journal of Innovative Research in Applied Sciences and Engineering (IJIRASE)
Volume 4, Issue 4, DOI:10.29027/IJIRASE.v4.i4.2020.729-734, October 2020
A72 (ARM v8) 64-bit SoC at 1.5GHz .Memory is 4GB and navigate to IoT core. All the devices are registered to the
40pins – GPIO headers. AWS IoT core. Certificates are downloaded and installed
and policy is created. Mosquito MQTT is bridged with
2) Motion Sensor- The motion sensor is PIR Motion Raspberry Pi and AWS IoT. There is a standard android app
Sensor placed under the door lock. It senses human/object developed for the client. All the necessary python scripts are
when approaches it at a specific distance and activates the being created.
required task.
Implementation
3)Motor sensor-Motor sensor is a Servo motor, which acts
as a door lock. It rotates to a specific rotation angle when When an intruder stands in front of the door for more than 2
PWM (pulse width modulation) signals are sent to the minutes or when someone rings the doorbell, the sensors
motor. gets activated. The camera captures the photo/video. The
Raspberry pi gets notified and rings the doorbell and display
4)Touch sensor -There are two touch sensors: the the photo/video to the people inside the house. Raspberry pi
Momentary capacitive touch sensor, which is used as is connected to Wi-Fi, collects the data and sends it to the
Doorbell and Control 2, which will activate as long as broker. The AWS IoT further receives the broker's data and
someone is touching it. Control 2 will unlock the door from sends an alert message to the people who are not in their
inside. home via the android app notifying the presence of an
intruder in their home. Raspberry pi further receives the
5) Camera - The Raspberry Pi Camera Module v2 has Sony
IMX219 8-megapixel sensor that spectator humans via relevant information from the central control via AWS IoT.
video or image. The remote control gets activated and the people in the
house can open the door from 1 press of a button.
6) Control 1 & Remote control- Here, control 1 can be a The key model is shown in Fig1 because the customer wants
remote or an Android application with AWS IoT mobile it. It can be changed and it is possible to delete certain
SDK installed, which controls the door's opening and components and render sub-models.
closing. The remote control can be an Android app that
will notify the family members when an intruder enters the For old aged people who don't live with their
house. family will not require an android app.
People who have a problem in hearing may not
7) Bell - Here, a HiFi Berry DAC HAT + ADC for audio need a microphone and bell or speaker. External
and speaker can be installed, which will act as an alarm that vibrators can be installed with the Raspberry pi to
will notify the people inside the house. DAC+ADC provides feel the presence of an intruder.
perfect audio production by which we can record and play For people who cannot see, LCD would not be
an analog input. required.
Advantages:
in the cloud. One can access it at any time. Thus the above
model is cheap concerning the functionalities it provides to
the client.
This can become a life-changing tool for the needy and with
its demand after testing and manufacture, it can become a
source of employment for many people worldwide. In the
future sub, models can also be developed for ordinary
people for everyday use.
References
[1] Autunes, R.M., and Grilo, F.L. (2009) unwelcome
person Alarm System: The Road Ahead. Advanced
Technologies, Kankesu Jayanthakumaran (Ed.), ISBN: 978-
953-307-009-4, InTech.