An integrated security system built on Arduino that combines RFID authentication, keypad-based password entry, and SMS communication via the SIM800 module. This project demonstrates a secure, remotely operable door locking mechanism with real-time alerts and dual-factor authentication.
- RFID Authentication: Validates access using a unique RFID tag via the MFRC522 module.
- Password Protection: Requires a secondary 4-digit password for added security.
- SMS-Based Control: Enables remote operation (
open/close) through SMS using the SIM800 GSM module. - Real-Time Alerts: Sends SMS notifications on unauthorized access attempts or successful entries.
- Visual & Audible Feedback: Uses LEDs and buzzer to indicate access status.
- Servo-Controlled Locking: Controls a servo motor to physically lock/unlock the door.
| Component | Description |
|---|---|
| Arduino (Uno/Nano) | Microcontroller unit |
| MFRC522 | RFID module |
| 4x4 Keypad | For password input |
| SIM800 GSM Module | SMS communication |
| 16x2 LCD (I2C) | User interface display |
| Servo Motor | Door lock actuator |
| Buzzer + LEDs | Status indicators |
| Component | Arduino Pins |
|---|---|
| MFRC522 | SS (10), RST (9), SPI bus |
| Keypad | Rows: D0βD2, Cols: A0βA3 |
| Servo Motor | D8 |
| Green LED | D7 |
| Red LED | D6 |
| Buzzer | D5 |
| SIM800 | TX (D3), RX (D4) |
| LCD (I2C) | SDA (A4), SCL (A5) |
- Idle Mode: LCD displays prompt to scan RFID tag.
- RFID Scan:
- If valid tag detected: User is prompted to enter a 4-digit password.
- If invalid: System denies access and sends an alert via SMS.
- Password Entry:
- If correct: Unlocks door (servo rotates), sends confirmation SMS.
- If incorrect: Access denied, sends alert SMS.
- Remote Control via SMS:
- Send
opento unlock the door remotely. - Send
closeto temporarily disable user interaction mode.
- Send
The SIM800 module handles SMS functionality.
To set your recipient number, modify the following line:
SIM800.println("AT+CMGS=\"+91xxxxxxxxxx\"");Replace
+91xxxxxxxxxxwith your mobile number in international format.
Ensure these libraries are installed in your Arduino IDE:
MFRC522KeypadLiquidCrystal_I2CSoftwareSerialServoSPI
- Two-factor authentication: RFID + password.
- SMS alerts notify the user of any unauthorized attempts.
- Remote shutdown capability enhances control in critical situations.
- Store multiple RFID tags and passwords in EEPROM or external storage.
- Add real-time clock (RTC) for timestamped logs.
- Integrate with a web dashboard or IoT platform (e.g., Blynk, ThingSpeak).
- Use fingerprint module for biometric authentication.
(Add setup photos, wiring diagram, or demo video link here)
This project is open-source and available under the MIT License.