Connect the vcc and gnd of the relay module to 5v and gnd of raspberry pi.
Smart door lock raspberry pi.
It can be unlocked over a wifi connection using a smartphone and a custom app.
So let s ignore super expensive door systems and build our own.
The gpio pins of the raspberry pi can give an output of 3 3v but the solenoid lock requires 7 12v to operate.
Raspberry pi smart door lock circuit diagram.
Making a digital door lock smart with a raspberry pi by christian cawley news 7th august 2018 while a standard lock can be made smart by adding a servo several systems can be purchased that help you do this digital keypad locks can also be enhanced.
Prepare dual voltage 5v 12v power supply to power raspberry pi and electronic door strike simultaneously.
Because of this we will need to use an external power source and relay to operate the lock.
You can create an internet connected smart door lock using your raspberry pi 3 single board computer.
Next up we need to prepare our power supply to provide power both to the raspberry pi which requires 5v and to the door lock which requires 12v and is triggered using the relay switch.
Prepare dual voltage 5v 12v power supply to power raspberry pi and electronic door strike simultaneously.
Next up we need to prepare our power supply to provide power both to the raspberry pi which requires 5v and to the door lock which requires 12v and is triggered using the relay switch.
You can also add intelligent lighting a controllable door lock and facial recognition all powered with your raspberry pi.
How about a smart door that knows when someone approaches when the post arrives and can even offer remote viewing of the peephole.
In order to implement the smart door model we need a list of materials which is briefly mentioned below.