Smart Lock

In this project, we will learn to create a basic Smart Lock system where it takes input from a keypad and then compares whether it is correct or not. If the code is correct then a particular LED is switched on expressing that the password is correct otherwise it simply prints that it is wrong.

Later on, a stepper motor can also be connected and turned to a specific angle if the password is correct, thereby unlocking the compartment it was securing. For Keypad we will be using adafruit virtual keypad present in the dashboard to send the password using the MQTT protocol.

To learn more about MQTT and how it works, follow our guide on the topic:

pageMessage Queue Telemetry Transport (MQTT)

Let's start with setting up some prerequisites for the project.

Last updated