Here is the scenario: (We also have camera)

Here is the link for solenoid lock: click here

  1. When we run the our python code, camera will take an picture of QR code and it can get the QR code content
  2. 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?

  • For a start maybe raspberrypi.stackexchange.com/questions/89516/… ? I actually get quite a few hits when searching for 'raspberry pi 12v solenoid', both on SE and elsewhere. – Dirk Jan 2 '19 at 19:18
  • you really need to read what you wrote ..... i am pretty sure that is not what you meant to say – jsotola Jan 3 '19 at 1:48

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.