IoT Based Smart and Secure Lock V1.0
by make2explore in Circuits > Electronics
609 Views, 1 Favorites, 0 Comments
IoT Based Smart and Secure Lock V1.0
In this project we've built IoT based smart door lock which have 3 layers of access. RFID + PIN + OTP. Means if user want to unlock this lock he/she has to use valid authorized RFID card, then need to enter correct pin/password and finally has to enter unique one time password sent on his/her Telegram App.
- We’ve also implemented Data logging. Valid Entry through door will be recorded in Google Sheet. For that we have used Particle Cloud webhook integration. Using this data log we can monitor who entered lock and when.
- Particle Cloud webhook integration is also used to generate OTP using Telegram Bot.
- This is IoT based project uses Particle photon Development Board. hence you can update its firmware from anywhere using particle cloud console.
- Nextion Touchscreen HMI Display is used for interacting with this door lock.
Supplies
Hardware Parts Required -
- Particle Photon P0 IoT Development Board
- RC522 RFID Reader Module
- 3.5" Nextion Touchscreen HMI Display
- MB102 Breadboard Power Supply module
- Solenoid Lock -12V
- Two Channel Relay Board 5V
- Batteries - 7.4V LiPo, 11.1V LiPo and Power Bank.
We've covered this project in 5 parts as following, Each part is explained in separate video
Part – I : Introduction
- Overview
- Tools and technologies Used
- Functional Block Diagram
Part – II : Software Setup
- Installing Vscode Editor, Particle Workbench & CLI, Libraries
- How to Program and Flash the code into Particle Photon, locally and Remotely
- Brief Introduction about Nextion HMI Displays, Nextion IDE, Download and install
- How to getting started with Nextion Display
Part – III: Hardware Setups and Interfacings
- Particle Photon and Nextion Display Interfacing
- Particle Photon and RC522 RFID Reader Interfacing
Part – IV : Cloud configurations - Creating Webhooks
- What are Webhooks ?
- How Webhooks Works ?
- Creating Webhook for OTP Generation
- Creating Webhook for Google Sheet Entry
Part – V : Demonstration
- Main Schematics
- Code of the project
- Demo of Project
Introduction
Part – I : Introduction
- Overview
- Tools and technologies Used
- Functional Block Diagram
Software Setup
Part – II : Software Setup
- Installing Vscode Editor, Particle Workbench & CLI, Libraries
- How to Program and Flash the code into Particle Photon, locally and Remotely
- Brief Introduction about Nextion HMI Displays, Nextion IDE, Download and install
- How to getting started with Nextion Display
Hardware Setups and Interfacings
Part – III: Hardware Setups and Interfacings
- Particle Photon and Nextion Display Interfacing
- Particle Photon and RC522 RFID Reader Interfacing
Cloud Configurations - Creating Webhooks
Part – IV : Cloud configurations - Creating Webhooks
- What are Webhooks ?
- How Webhooks Works ?
- Creating Webhook for OTP Generation
- Creating Webhook for Google Sheet Entry
Demonstration
Part – V : Demonstration
- Main Schematics
- Code of the project
- Demo of Project
Documentation
Project Source code, Schematics and all Nextion Display design files are available on following GitHub Repo
https://github.com/make2explore/IoT_Based_Smart_Lock-V1.0
Project's improvement suggestions, Bugs, Queries and solutions are most welcomed.