Skip to content

Smart lock IoT project. Supports both ESP8266 & ESP32

License

Notifications You must be signed in to change notification settings

yalishanda42/smart-locc

Repository files navigation


Logo

smart-locc

Smart lock project implementation as part of the IoT course at FMI.
Report Bug · Request Feature

Build Issues GitHub pull requests Supports ESP8266 and ESP32

Table of Contents

  1. About The Project
  2. Getting Started
  3. Usage
  4. Roadmap
  5. Contributing
  6. License

About The Project

This project is an implementation of a power-off lock/unlock with RFID chips. There are two admin keys/chips which are used for adding new user chips. To register a new chip you need to press a button and authorize as an administrator with one of the two admin chips.

There is also a display showing messages and the room temperature to the user. The scheme is connected to WiFi using WiFiManager. All of the information for the events is sent to Ubidots dashboard which tracks the successful/unsuccessful unlock attempts.

Getting Started

To get it up and running follow these simple steps.

Prerequisites

  • Arduino IDE
  • ESP8266/ESP32
  • Bounce2
  • LiquidCrystal I2C
  • MFRC522
  • WiFiManager
  • PubSubClient
  • Sodaq_SHT2x

Installation

  1. Clone the repo
    git clone https://github.com/allexks/smart-locc.git
  2. Install the necessary libraries listed in the Libfile (one way is to use arduino-cli and run ./install-libs.sh)
  3. Connect the sensors as shown below and upload it to the ESP8266/ESP32

Usage

Lock

Lock

State Machine

Roadmap

See the open issues for a list of proposed features (and known issues).

Contributing

Feel free to dive in! Open an issue or submit PRs.

The project follows the Contributor Covenant Code of Conduct.

Contributors

License

MIT