PROJect
PROJect
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.
•SCK: D5 (GPIO14)
•MOSI: D7 (GPIO13)
•MISO: D6 (GPIO12)
•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
MFRC522::MIFARE_Key key;
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