0% found this document useful (0 votes)
7 views16 pages

PROJect

The IoT Door Alarm project is developed by a team of four members, each specializing in different aspects such as firmware development, hardware design, cybersecurity, and user experience. The project aims to create a smart door alarm system using various components like NodeMCU, RFID reader, and sensors to enhance security and user experience. The system integrates these components to monitor door status, authenticate access, and trigger alarms for unauthorized access.

Uploaded by

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

PROJect

The IoT Door Alarm project is developed by a team of four members, each specializing in different aspects such as firmware development, hardware design, cybersecurity, and user experience. The project aims to create a smart door alarm system using various components like NodeMCU, RFID reader, and sensors to enhance security and user experience. The system integrates these components to monitor door status, authenticate access, and trigger alarms for unauthorized access.

Uploaded by

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

P R O J E C T:

DOOR ALARM
2
GROUP INTRODUCTION
The IoT Door Alarm project is being developed by a dynamic team of
four dedicated members: Vishal, Sujal, Sahil Desale, and Sahil Pagare.
Vishal, a seasoned software engineer, is responsible for developing the
system's firmware and ensuring seamless integration with IoT
platforms. Sujal, a hardware specialist, designs and assembles the
necessary circuits and sensors, focusing on reliability and efficiency.
Sahil Desale, an expert in cybersecurity, handles the encryption and
security protocols to safeguard the system against potential threats.
Lastly, Sahil Pagare, a user experience designer, works on creating an
intuitive and user-friendly mobile application for managing and
monitoring the door alarm system. Together, they aim to deliver a
cutting-edge, secure, and easy-to-use IoT door alarm solution.
PROJECT
INTRODUCTION
Our project aims to create an innovative IoT smart door alarm using
versatile components such as a breadboard, NodeMCU (ESP8266), RFID
reader-writer, reed sensor, servo motor, buzzer, and input code
mechanism. This smart door alarm integrates cutting-edge technology to
enhance user experience and functionality.

Key Components
1. NodeMCU (ESP8266)
2. RFID Reader-Writer
3. Reed Sensor
4. Servo Motor
5. Buzzer
6. Input Code Mechanism
What is IoT?
The Internet of Things (IoT) refers to a network where everyday
objects, from household appliances to industrial machines, are
connected to the internet and can communicate with each other.
These objects have sensors and software that collect and exchange
data, making them smart and capable of automated tasks. IoT
enables devices to be remotely monitored, controlled, and optimized,
improving efficiency and convenience in areas like home automation,
healthcare, agriculture, and transportation. It promises to enhance
our daily lives by making systems more responsive and
interconnected, ultimately leading to smarter and more efficient
environments.
5
Components used
NodeMCU Reed Sensor
6
Components used
Buzzer BreadBoard
7
Components used
Jumper wires RFID Reader
Writer
8
Software used
Arduino IDE
HARDWARE CONNECTIONS AND THEIR
9
WORKING
• NodeMCU: The main microcontroller for the system. It connects to the Wi-Fi
network and interfaces with all other components.

• RFID Reader/Writer (MFRC522): Used to read RFID tags for authorized access.

• Reed Sensor: Detects the state of the door (open or closed).

• Buzzer: Sounds an alarm if unauthorized access is detected or the door is left


open.

• Servo Motor: Controls the locking mechanism of the door.

• Integration: All components are integrated through the NodeMCU, which


processes input from the RFID module, reed sensor, and input code, and controls
output to the servo motor and buzzer.
HARDWARE CONNECTIONS AND THEIR
10
WORKING
NodeMCU to RFID Reader/Writer (MFRC522)
•SDA (SS): D4 (GPIO2)

•SCK: D5 (GPIO14)

•MOSI: D7 (GPIO13)

•MISO: D6 (GPIO12)

•IRQ: Not connected

•GND: GND

•RST: D3 (GPIO0)

•3.3V: 3V3
HARDWARE CONNECTIONS AND THEIR
11
WORKING
NodeMCU to Reed Sensor
1. Vcc: Vin
2. Ground; GND
3. Ditigal Pin: D0

NodeMCU to Buzzer
1. Black wire: GND
2. Red wire: D1

NodeMCU to Servo Motor


1. One end: GND
2. Middle pin: GND
3. Other end: D6
HARDWARE CONNECTIONS AND THEIR
12
WORKING
1. Initialization: NodeMCU initializes, connects to Wi-Fi, sets up the RFID reader,
reed sensor, buzzer, and servo motor.
2. RFID Authentication:
•When a user swipes an RFID tag, the RFID reader sends the tag's ID to NodeMCU.
•NodeMCU checks the ID against a list of authorized IDs.
•Authorized Access: If ID is authorized, NodeMCU signals the servo motor to unlock the door.
•Unauthorized Access: If ID is unauthorized, the buzzer sounds an alarm.

3. Door State Monitoring:


•The reed sensor continuously monitors the
•If the door
door is left open for too long, the buzzer sounds an alarm.
state.
•If the door is closed, the system resets and waits for the next RFID scan.
B LO C K D I A G R A M
13

Crypto: investing & trading


14 Overview of the
#include <SPI.h>
#include <MFRC522.h>
code
// Tag ID - 115 242 90 221
constexpr uint8_t RST_PIN = D3; // Configurable, see typical pin layout above
constexpr uint8_t SS_PIN = D4; // Configurable, see typical pin layout above

MFRC522 rfid(SS_PIN, RST_PIN); // Instance of the class

MFRC522::MIFARE_Key key;

// Init array that will store new NUID


byte nuidPICC[4];

void setup() {
Serial.begin(115200);
SPI.begin(); // Init SPI bus
rfid.PCD_Init(); // Init MFRC522
for (byte i = 0; i < 6; i++) {
key.keyByte[i] = 0xFF;
}
}
15
void loop() {
// Look for new cards
if ( ! rfid.PICC_IsNewCardPresent())
return;
// Verify if the NUID has been readed
if ( ! rfid.PICC_ReadCardSerial())
return;
// Store NUID into nuidPICC array
for (byte i = 0; i < 4; i++) {
nuidPICC[i] = rfid.uid.uidByte[i];
}
Serial.println(F("In dec: "));
for (byte i = 0; i < rfid.uid.size; i++) {
Serial.print(rfid.uid.uidByte[i] < 0x10 ? " 0" : " ");
Serial.print(rfid.uid.uidByte[i], DEC);
}
// Halt PICC
rfid.PICC_HaltA();
// Stop encryption on PCD
rfid.PCD_StopCrypto1();
}
THANK
YO U

You might also like