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

IoTLock-Inst-thumb-01.gif
Instructable-thumb.png

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 -

  1. Particle Photon P0 IoT Development Board
  2. RC522 RFID Reader Module
  3. 3.5" Nextion Touchscreen HMI Display
  4. MB102 Breadboard Power Supply module
  5. Solenoid Lock -12V
  6. Two Channel Relay Board 5V
  7. 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 - 1] IoT Based Smart Door Lock - Introduction

Part – I : Introduction

  • Overview
  • Tools and technologies Used
  • Functional Block Diagram

Software Setup

[Part - 2] IoT Based Smart Door Lock - 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 - 3] IoT Based Smart Door Lock - Hardware Setup

Part – III: Hardware Setups and Interfacings

  • Particle Photon and Nextion Display Interfacing
  • Particle Photon and RC522 RFID Reader Interfacing

Cloud Configurations - Creating Webhooks

[Part - 4] IoT Based Smart Door Lock - Webhooks Configuration

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 - 5] IoT Based Smart Door Lock - Demo

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.