The simply compile it then finally upload it to the atmega328 microcontroller.
Arduino servo door lock.
You can simply copy paste the code using arduino ide.
When i saw this i instantly wanted my own for my door.
This is a simple arduino project.
To connect the servo motor with the arduino use digital pin d9 of arduino to output the pwm pin of the servo motor.
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.
Arduino door lock with password.
I decided to leave my servo exposed and to only build a small cardboard case to protect the arduino nano and bluetooth module.
In this project i mede an door lock or box lock that opens when you enter your password and press.
Heres how i made it.
Bluetooth door lock arduino.