DualAccess_Lock using Wifi and Offline keypad access modes: ESP32 & Arduino-Based Door Security System
Wi-Key Secure is a smart door security system that allows access control via Wi-Fi-based webpage input and offline keypad control. It utilizes an ESP32 for web-based authentication and an Arduino for offline keypad-based access.
- 📡 Wi-Fi-based key entry via ESP32 webpage
- ⌨️ Offline keypad access via Arduino
- 🔄 ESP32 to Arduino communication via Serial
- 🔒 Security verification with predefined passcodes
- 📜 Serial Monitor debugging for keypress events
- ESP32
- Arduino Uno/Nano
- 4x4 or 4x3 Keypad Module
- Servo Motor (for door lock mechanism) or use a LED for testing
- Connecting Jumper Wires
- Common Power Supply (5V)
- LCD Display (optional for status updates)
| Arduino Pin | Connected To |
|---|---|
| Pin (RX 0) | ESP32 TX (17) |
| Pin (TX 1) | ESP32 RX (16) |
| Keypad Rows & Columns | Digital Pins | | Servo Motor | PWM Pin |
- Install Arduino IDE & add ESP32 Board Support.
- Install necessary libraries:
WiFi.hWebServer.h
- Upload the ESP32 Code to start the web server.
- Open the Serial Monitor (115200 baud) and note the IP address.
- Access the ESP32 webpage via your browser and enter the key.
- Install Arduino IDE.
- Install necessary libraries:
Keypad.hServo.h(optional: else use an LED for testing)SoftwareSerial.h(optional: for Serial communication with ESP32)LiquidCrystal_I2C.hWire.h
- Upload the Arduino Code to handle keypad input and door locking.
- Open the Serial Monitor (115200 baud) to check received key data.
- Connect ESP32 to Wi-Fi.
- Open the webpage hosted by ESP32.
- Enter the passcode on the webpage.
- If correct, ESP32 sends the key to Arduino for door control or use an LED for testing.
- If incorrect, access is denied, and the LCD (if used) displays an error and the buzzer gets triggered.
- User enters a passcode using the 4x4 or 4x3 keypad.
- If correct, the Arduino triggers the servo motor to unlock the door or use an LED for testing.
- If incorrect, access is denied, and the LCD (if used) displays an error and the buzzer gets triggered.
✅ Add an RFID Module for an extra authentication method. ✅ Use MQTT for remote access control. ✅ Implement Blynk/App Integration for mobile-based control. ✅ Integrate Cloud Logging for security access history.
This project is open-source project anyone can provide their contributions for any better changes in the project.
contact: rameshkumarana@gmail.com