Here is the scenario: (We also have camera)
Here is the link for solenoid lock: click here
- When we run the our python code, camera will take an picture of QR code and it can get the QR code content
- Now according to the QR code content. If content is "YES" we want to unlock the solenoid lock. Otherwise we want to unlock the solenoid lock.
Question is how to wire the solenoid lock to the raspberry pi 3 B+. I didn't find any image of video for wiring and also code.
And note that we have only solenoid and camera, do we need extra materials for unlocking or locking?