I decided to leave my servo exposed and to only build a small cardboard case to protect the arduino nano and bluetooth module.
Arduino servo door lock.
After a bit of tinkering i got a working model.
Recently i rewatched the amazing spiderman in one scene peter parker locks and unlocks his door from his desk using a remote.
The servo turns back to the position it was in after some seconds.
This is a simple arduino project.
In this video you can learn how to make a simple password based door lock system using arduino servo motor and 3 4 matrix.
The code for password based door lock security system using arduino keypad is given below.
Bluetooth door lock arduino.
To connect the servo motor with the arduino use digital pin d9 of arduino to output the pwm pin of the servo motor.
You can simply copy paste the code using arduino ide.
Heres how i made it.
When i saw this i instantly wanted my own for my door.
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.