I am attempting to wire a magnetic lock into a raspberry pi using a relay switch. I have a attached a diagram of how it is currently being wired. Although it works currently, there is only 3.2 volts being supplied to the lock (read on volt meter), where 12v is wanted for a stronger lock.
We are connecting to the Pi from the Blynk App to turn the GPIO pins on/off. The lock is attached to a mailbox that will be able to lock remotely.
Any opinions? Let me know if more information is needed.