In this video you can learn how to make a simple password based door lock system using arduino servo motor and 3 4 matrix.
Arduino servo door lock.
This is a simple arduino project.
The servo turns back to the position it was in after some seconds.
The simply compile it then finally upload it to the atmega328 microcontroller.
Recently i rewatched the amazing spiderman in one scene peter parker locks and unlocks his door from his desk using a remote.
You can simply copy paste the code using arduino ide.
After a bit of tinkering i got a working model.
I decided to leave my servo exposed and to only build a small cardboard case to protect the arduino nano and bluetooth module.
Heres how i made it.
To connect the servo motor with the arduino use digital pin d9 of arduino to output the pwm pin of the servo motor.
Arduino door lock with password.
The code for password based door lock security system using arduino keypad is given below.
We can build this by tracing the around the arduino nano onto a peice of cardboard and add about 1 cm 0 39 inch of space onto each side now we have to cut out the other 5 sides of the rectangular cube.