0% found this document useful (0 votes)
92 views15 pages

Iot Report

The document describes a project to modify a wireless RF doorbell to connect to WiFi and send mobile notifications when the doorbell is pressed. An ESP8266 board is used to intercept the doorbell signal over WiFi and trigger an IFTTT webhook to send notifications. The circuit uses minimal components and deep sleep mode to reduce power consumption from batteries.
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)
92 views15 pages

Iot Report

The document describes a project to modify a wireless RF doorbell to connect to WiFi and send mobile notifications when the doorbell is pressed. An ESP8266 board is used to intercept the doorbell signal over WiFi and trigger an IFTTT webhook to send notifications. The circuit uses minimal components and deep sleep mode to reduce power consumption from batteries.
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/ 15

IOT BASED SMART DOORBELL WITH MOBILE

ALERT NOTIFICATION
A Project report submitted in the
Partial fulfilment of the requirements for the award of the degree of

BACHELOR OF TECHNOLOGY

in

ELECTRICAL AND ELECTRONICS ENGINEERING

By

L.HEMANTH (21331A0248)

L.MANASA (21331A0249)

L.NAGAMANI (21331A0250)

Under the esteemed guidance of

Mr P. PAVAN KUMAR

Assistant Professor

Department of Electrical and Electronics Engineering

M.V.G.R College of Engineering

DEPARTMENT OF ELECTRICAL AND ELECTRONICS ENGINEERING

MAHARAJ VIJAYARAM GAJAPATHI RAJ COLLEGE OF ENGINEERING

(Approved by AICTE-New Delhi & affiliated to JNTU Kakinada Reaccredited by NBA and ‘A’ grade by NAAC)

VIZIANAGARAM

2021-2025
DEPARTMENT OF ELECTRICAL AND ELECTRONICS ENGINEERING

MAHARAJ VIJAYARAM GAJAPATHI RAJ COLLEGE OF ENGINEERING

(Affiliated to Jawaharlal Nehru Technological University, Kakinada)

VIZIANAGARAM

BONAFIDE CERTIFICATE

Certified that this is a bonafide record of project work entitled “IOT BASED SMART DOORBELL
WITH MOBILE ALERT NOTIFICATION” being submitted by L.HEMANTH(21331A0248),
L.MANASA (21331A0249) AND L.NAGAMANI(21331A0250) in partial fulfilment for theaward
of the degree of “Bachelor of Technology” in Electrical Engineering, M.V.GR College of
Engineering, from Jawaharlal Nehru Technological University during the academic year 2021-
2025

Project Supervisor Head of the Department

Mr P. PAVAN KUMAR Dr R.GOWRISANKARA RAO

Assistant Professor, Professor & H.O.D

Department of EEE, Department of EEE,

MVGRCE (A), MVGRCE (A),

Vizianagaram. Vizianagaram.
ACKNOWLEDGEMENT

It is our privilege to express our sincerest regards to our project guide Mr P. PAVAN KUMAR,
Assistant Professor, Department of Electrical and Electronics Engineering, for theirvaluable guidance,
encouragement, whole-hearted cooperation, and constructive criticism throughout the duration of our project.
We deeply express our sincere thanks to DR. R.GOWRISANKARA ROA, Head of the Department
for encouraging, and allowing us to present the project on the topic “IOT BASED SMART DOORBELL
WITH MOBILE ALERT NOTIFICATION”at our department premises for the partial fulfilment of the
requirements leading to the award of B. Tech degree.
We also thank Dr. K.V.L. RAJU, Principal, for extending his utmost support and cooperation in
providing all the provisions for the successful completion of project.
We sincerely thank all the members of teaching and non-teaching staff in the Department of electrical
and electronics engineering for their sustained help in our pursuits.
We thank all those who contributed directly or indirectly in successfully carrying out this work.
L.HEMANTH(21331A0248)
L.MANASA(21331A0249)
L.NAGAMANI(21331A0250)

ABSTRACT:
This project shows how to convert a normal doorbell into a WIFI-based doorbell which notifies on your
phone when there is a bell press. I came up with this idea when I noticed that my parents being old
couldn't hear the doorbell sound and would miss couriers or any guest. Not just old people but also
some people who work from home and have their headsets on for most of the time busy in their office
calls. One thing which everyone keeps close to them no matter where they are on their cellphone. So
modifying our existing doorbell to make it send notifications/calls to our mobile is the solution. There
are smart doorbells available in the market but they are expensive and have a camera which not
everyone requires. Hence I looked out for cheap doorbells and how to modify them. I have chosen to
hack a wireless RF doorbell since it is more common nowadays and you don't need to do any dedicated
wiring or work with AC voltage to handle them. I have managed to intercept the signal from the RF
doorbell's receiver and wake up my circuit which will connect to the internet, send a notification to
your mobile no matter where you are, and then goes back into power-saving mode in order to save the
battery life.
Program Outcomes:
a) An ability to apply knowledge of mathematics, science andengineering.
b) An ability to design a system, component, or process to meet desired needs within
realistic constraints such as economic, environmental, social, political, ethical,
health and safety, manufacture ability andsustainability.
c) An ability to function on multidisciplinaryteams.
d) An ability to identify, to formulates, and solves engineeringproblems.
e) An understanding of professional and ethicalresponsibility.
f) An ability to communicateeffectively.
g) The broad education necessary to understand the impact of engineering
solutions in a global,economic, environmental, and socialcontext.
h) Recognition of the need for, and an ability to engage in life-longlearning.
i) Knowledge of contemporaryissues.
j) An ability to use the techniques, skills and modern engineering tools necessary
forengineeringpractice.
k) An ability to design and conduct experiments, as well as to analyse and
interpret data.

Program outcomes
Project
outcomes A B C D E F G H I J K

Understanding
the need of
smart irrigation.
using Arduino. H M L M M M M H H

To study about
the smart plant
watering
system.
H L M L M H H M

Knowledge of
MATLAB
Simulink M M H L M L L M
CONTENTS
INTRODUCTION TO PROJECT :
We have chosen RF doorbell since it is more common nowadays
and you don't need to handle AC voltage or wiring for modifying
it. Hence, it's safer to tinker with. Also for a normal AC doorbell,
the wiring is fixed to a particular point usually close to the
entrance of the house whereas an RF doorbell has the freedom
of being placed anywhere we want (Well within its RF range,
which is decent for an average house). The brain of this project
is an ESP8266-01 board. We have chosen this particular board
since
a. Dirt cheap. One of the cheapest microcontroller boards with
WIFI capabilities on-board
b. Small in size. Fits inside most (commonly available) models of
the RF doorbells without hassle so we don't have any ugly wires
coming out.
c. Has a deep-sleep feature that lets it consume very low power
in an idle state.
Since RF doorbells run using batteries, we need to make our
circuit power efficient. The software used is Arduino IDE since it
is open-source (which means free to use) and also has tons of
libraries and support communities to help out. The libraries used
are
WIFIManager by Tzapu: Helps us configure our smart doorbell
(Connect to our home WIFI or change credentials) without
having to admin/upload the code again and again onto the ESP
board
ESP8266 Webhooks by Rupak Poddar: Helps us connect to
the IFTTT webhooks with minimal code.
COMPONENTS REQUIRED :
S. No. Component Name Quantity

1. RF DOORBELL 1

2. ESP8266-01 WIFI MODULE 1

3. GENERAL PURPOSE PCB 1

4. CONNECTING wires 30

5. 10K OHM RESISTOR 1


Circuit diagram

The circuit is very simple, All you have to connect is +ve and -ve supply
directly to the ESP board since the 2xAA batteries voltage range is within
the operational range of our ESP board (2.7V to 3.3V). And since we are
using the deep sleep feature, the board will not consume much power in
an idle state. And then one signal pin from the speaker output pin of the
doorbell to the Reset pin of ESP.

The REST pin is also connected to the positive terminal through a 10K ohm
resistor in order to keep it high by default (Pullup resistor). When a low pulse
is sent to this pin, the board resets and wakes up to execute the code inside.
This low pulse is completed when the speaker finishes playing the tone.

Project Used Software


• Arduino IDE
• Libraries used: WIFIManager by tzapu and ESP8266
Webhooks by Rupak Poddar,
• IFTTT

The workflow goes as follows: -

• When someone pressed the doorbell button, the transmitter sends a signal
to the receiver
• The receiver unit, once the signal gets to it, will power up the music
generating IC and hence starts lighting up the LED and speaker.
• Our ESP board which by default is in deep-sleep mode, wakes up when there
is a power sent to the speaker.
• Once awake, the ESP connects to WiFi, pings the webhooks server, and goes
back into deep-sleep mode immediately.
• The webhooks in turn run an applet created in IFTTT which takes the
predefined action, like sending a notification or call.

ESP8266:

The ESP8266 is a popular and widely used Wi-Fi module in the world of
electronics and Internet of Things (IoT) development. It was developed by
Espressif Systems and has gained popularity due to its low cost, ease of use,
and extensive community support. Here are some key details about the
ESP8266 Wi-Fi module:

1. Microcontroller: The ESP8266 is not just a Wi-Fi module; it also includes a


microcontroller unit (MCU). The MCU is based on the Tensilica Xtensa LX106
architecture and typically operates at 80 MHz. It is capable of running
embedded applications, making it suitable for various IoT projects.
2. Wireless Connectivity: The primary feature of the ESP8266 is its built-in Wi-Fi
connectivity, which allows it to connect to Wi-Fi networks and communicate
with other devices over the Internet or a local network. It supports 802.11
b/g/n Wi-Fi standards.
3. GPIO Pins: The module provides several General Purpose Input/Output (GPIO)
pins that can be used for interfacing with sensors, displays, and other external
components. The exact number of GPIO pins may vary depending on the
specific ESP8266 module variant you are using.
4. Programming: You can program the ESP8266 using various programming
languages and development environments. The most common programming
languages for ESP8266 are C/C++ using the Arduino IDE, MicroPython, and
NodeMCU (a Lua-based firmware).
5. Development Boards: While the ESP8266 module itself is relatively small,
many development boards based on the ESP8266 are available. Some of the
popular ones include the NodeMCU, WeMos D1 Mini, and Adafruit HUZZAH
ESP8266. These boards often include USB connectivity for easy programming
and debugging.
6. Power Requirements: The ESP8266 can be powered by a 3.3V power supply.
It is important to note that the module operates at 3.3V logic levels, so you
may need level-shifting circuitry if you want to interface it with 5V
components.
7. Firmware: The ESP8266 typically comes with AT command firmware pre-
installed. However, most users flash custom firmware onto the module to
program it according to their needs. The ESP8266 can be programmed to act
as a web server, web client, MQTT client, or perform a wide range of IoT-
related tasks.
8. Community and Documentation: One of the strengths of the ESP8266
ecosystem is its active and supportive community. There are numerous
tutorials, libraries, and forums available where you can find help and resources
for your projects.
9. ESP32: The ESP8266's successor, the ESP32, offers even more capabilities with
dual-core processors, Bluetooth connectivity, and more GPIO pins. Depending
on your project requirements, you may want to consider using the ESP32 for
more advanced applications.

The ESP8266 is a versatile and cost-effective solution for adding Wi-Fi


connectivity to IoT projects, home automation systems, and various
embedded applications. Its ease of use and strong community support make
it a popular choice among hobbyists and professionals alike.
CODE:
#include <WiFiManager.h> // https://github.com/tzapu/WiFiManager
#include <ESP8266Webhook.h> // By Rupak Poddar
#include <ESP8266WiFi.h>
#define KEY "YOUR_WEBHOOKS_KEY_HERE" // Webhooks Key
#define EVENT "YOU_WEBHOOKS_EVENT_NAME" // Webhooks Event Name
WiFiManager wm;
Webhook webhook(KEY, EVENT); // Create an object.
int timeout = 180; // seconds to run for
int startTime = 0;
bool ds = false;
void setup() {
WiFi.mode(WIFI_STA); // explicitly set mode, esp defaults to STA+AP
wm.setConfigPortalBlocking(false);
Serial.begin(115200);
startTime = millis();
bool res;
res = wm.autoConnect("EspDoorBell", "password"); // password protecte
d ap

if (!res) {
Serial.println("Failed to connect");
digitalWrite(LED_BUILTIN, LOW);
}
else {
//if you get here you have connected to the WiFi
Serial.println("connected...yeey :)");
int response = webhook.trigger();
if (response == 200)
{
Serial.println("Webhook Trigger OK");
ds = true;
Serial.println("Entering Deep Sleep Mode");
ESP.deepSleep(0);
}
else
{
Serial.println("Webhook Trigger Failed");
}
}

void loop() { //We enter this loop only when the board was unable to
connect to saved WiFi or for the first time
wm.process();
if (millis() - startTime > timeout*1000 && !ds) //Keep configuratio
n portal on for time specified by timeout
{
ds = true;
Serial.println("Entering Deep Sleep Mode");
ESP.deepSleep(0);
}

}
Here IFTTT will send a notification to smart phone ,if anyone ring the bell

then we’ll be getting an immediate notification which helps us to notice about the

people waiting outside.


CONCLUSION:

In conclusion, an IoT-based smart doorbell alert notification system offers significant


advantages for enhancing home security and convenience. By integrating IoT
technology into a traditional doorbell, users can enjoy real-time notifications and
remote access to their doorstep, providing the following benefits:

Enhanced Security: IoT-based smart doorbells enable homeowners to monitor their


doorstep from anywhere, improving security by allowing them to see and communicate
with visitors, even when they are not at home. This can deter potential intruders and
provide valuable information to law enforcement if needed.
Convenience: Users can receive instant notifications on their smartphones or other
connected devices when someone rings the doorbell, eliminating the risk of missing
important visitors or packages. This convenience is especially valuable in today's fast-
paced world.
Customization: Users can often customize notification settings, such as sensitivity to
motion, notification types, and alert schedules, tailoring the system to their specific needs
and preferences.

In summary, IoT-based smart doorbell alert notification systems offer a modern and
intelligent approach to home security and convenience. These systems leverage the
power of connectivity and automation to provide users with a greater sense of control,
peace of mind, and flexibility when it comes to managing their doorstep and
responding to visitors. As the technology continues to evolve, these benefits are
expected to expand, making IoT-based smart doorbells an integral part of the modern
smart home ecosystem.

You might also like