Because of this we will need to use an external power source and relay to operate the lock.
Solenoid door lock raspberry pi.
This project aims to implement door lock system on raspberry pi zero w.
Here a solenoid lock and a pi camera will be used with raspberry pi to build this face recognition based door lock system using raspberry pi 3.
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.
When the user tries to access the system the data is fetched from a mysql database on the raspberry pi zero then unlocks the solenoid lock if it identifies the rfid id or the fingerprint.
The gpio pins of the raspberry pi can give an output of 3 3v but the solenoid lock requires 7 12v to operate.
Prepare dual voltage 5v 12v power supply to power raspberry pi and electronic door strike simultaneously.
Connect the vcc and gnd of the relay module to 5v and gnd of raspberry pi.
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.