Keypad Smart Door Lock With OLED

by Aced Inventor in Circuits > Arduino

2007 Views, 14 Favorites, 0 Comments

Keypad Smart Door Lock With OLED

Keypad Smart Door Lock with OLED | Arduino

In this project, we will be making a "Keypad Smart Door Lock with OLED." There is a standard default password, "12345," and a default master password, "09876," in this smart door lock. Both the standard and the master password can be changed in the settings displayed on the OLED display. To change the standard or master password, you will have to enter the master password, go in the settings, and then change the password from there. Once you enter the standard password, the servo rotates. You can connect the servo to a lock, and then the servo will rotate, locking or unlocking the lock.

This project can still be improved.

Supplies

commponents.png

Keypad Wiring

image_2021-02-19_082701.png

Connect the Keypad as following:

Arduino >> Keypad

D5 >> 1

D6 >> 2

D7 >> 3

D8 >> 4

D9 >> 5

D10 >> 6

D11 >> 7

D12 >> 8

OLED Wiring

image_2021-02-19_083209.png

Connect the OLED as following:

Arduino >> OLED

GND >> GND

5V >> VCC

A4 >> SDA

A5 >> SCL

Servo Wiring

image_2021-02-19_083532.png

Connect the Servo as following:

Arduino >> Servo

GND >> GND

5V >> VCC

D2 >> Signal

Buttons Wiring

Wiring Diagram2.png

Connect the Buttons as following:

Arduino >> Buttons
Button For Door Open: A0

Button For Door Closing: A1

Button For Scrolling: D3

Button For Selecting: D4

Uploading the Program

image_2021-02-19_084233.png

Open the program on Arduino IDE. Once it is open, compile the sketch to see if it is clear of error then you can upload it. Make sure you have all the libraries download before you upload the program. After you have uploaded the program you should see the screen turn on and display "Keypad Smart Door Lock."

For more information about this, please visit my Patreon:

https://www.patreon.com/acedinventor

Test the Project

into.png

To test if the project is working properly go ahead and first enter the standard password, which is "12345," the servo should rotate. Then, move the servo back to the lock position, press the button or the keypad's asterisk. Once tested that both are working, you can enter the master setting by entering the master password, which is "09876." Change the standard password and see if the new standard password works.

If there is still something you don't understand, you can comment down below.