Home Projects IoT Cosmos Modules Smart Lock

Smart Lock

Functional Block Diagram

The figure below gives a basic overview of the functional block diagram of the Cosmos: Smart Lock (CLS). The device contains three major components – the ESP8266 based WEMOS chip, the 12V relay and the solenoid lock. When the user enters a correct password, the Wemos chip triggers the relay by sending a digital high signal. The internal coil of the relay magnetizes and current starts flowing through it, which activates the solenoid in the lock. The solenoid lock has a metal pin (locking mechanism) which is pulled inside, and the door can be opened. When de-magnetized the metal pin (locking mechanism) is pushed outside by a spring, locking the door again.

Cosmos: Fire Sensor Functional Block Diagram

Technical Overview

Flowchart

The figure below shows the flowchart diagram for COSMOS: Smart lock with RFID and fingerprint scanner. Once the connection is established with the MQTT broker, both the RFID and fingerprint scanner are enabled. Both can be used for authentication of the users. In case of RFID scanner, there is a predefined Master Card, which can be used for entering into programming mode for adding and deleting tags to and from the database respectively. If the module is not in programming mode, known tags would authorize access, and unknown tags would deny access. In case of the fingerprint scanner, the fingerprints have to be registered beforehand, and on-spot addition of users is not permitted for security reasons. If a known fingerprint is scanned, it would allow access, and unknown fingerprints would deny access.

Cosmos: Fire Sensor Flow Chart

Final Product

Cosmos: Fire Sensor Flow Chart