We have previously built digital lock with password using arduino and using 8051 here we are going to build this digital lock using raspberry pi with user defined password.
Raspberry pi bluetooth door lock.
Connect up relay switch raspberry pi electronic door strike.
We ll be setting up a raspberry pi with a bluetooth adapter to be on the lookout for when your smartphone is out of range and snap a relay into action to lock the door.
If you are going to leave your pc alone for any amount of time where others may have access to it like in a busy office then it is advisable to lock it every time you walk away from it using the win l key combinations.
Due to this a 12v adapter is used to power the solenoid lock.
And have an raspberry pi with web server to control everything and this will be available with your cell phone tablet or pc.
With those in place the raspberry pi can be placed on and slid back holding firmly in place.
You can create an internet connected smart door lock using your raspberry pi 3 single board computer.
It can be unlocked over a wifi connection using a smartphone and a custom app.
V cc and gnd pin of the relay module is connected to 5v and gnd of raspberry pi.
Solenoid lock requires 9 to 12v and raspberry pi can provide only 5v.
Use arduino on each door with relay.
Raspberry pi and solenoid lock are connected through the relay module.
Once the password is set user can only access the door with correct password.
If you are not familiar with raspberry pi we have created a series of tutorials to learn raspberry pi with interfacing with all the basic.
Solenoid lock needs 9v 12v to operate and raspberry pi gpio pins can supply only 3 3v so a 12v external power source is used to trigger the lock with the help of a relay.
Secure the mounting block in place and try not to split the wood like i did oops.
The circuit diagram for raspberry pi solenoid door lock is very simple as you only need to connect the solenoid door lock to raspberry pi.
It raised 2 2m on kickstarter but missed its original shipping deadline by 1 5 years leaving its backers in a deadlock pun.
For communication you have choice.
Pssst want some high tech protection for your home office or a secret lock for your workshop ok you got me it s actually a dungeon gaming room that the kids won t be.
The power cable reaches neatly to the socket and can now be plugged in.
Maybe net is overkill for that but this could be done.
Lockitron was the solution that descended from hardware heaven a device that fits over the lock on your door and that is controlled via an app.
But we are talking about the raspberry pi here.