Hey everyone! I've got a project I'm undertaking for work, and I was running into a problem while trying to figure out if the goal I have in mind is a feasible way to go about doing this, or if its even possible at all. Any help or advice would be greatly appreciated to a beginner like me!
The main task I have to accomplish is the following: I need to control a normally closed maglock with my Raspberry Pi 3, using a relay (I haven't figured out what exact relay model I would need as of yet), and have the door disengage whenever the correct RFID tag is scanned. I know that this sort of thing is possible, I have a few projects I'm reading along with to try and emulate. Where the curveball lies is in the following detail:
I also need a secondary method of opening the Maglock to be worked into the system. So along with the RFID method, there has to be an overide switch which, when flipped, unlocks the door anyway.
From my understanding of relays, you have the inputs from the Pi that control a magnetic switch, which(in the normally closed case) will interrupt the flow of power, turning off the maglock and allowing it to open.
My question then becomes what is the best way to allow for two GPIO pins to control the same powered device? Would I want to have a relay with more than 1 output (or just two separate relays) and wire them in series so if one is broken, the loop is broken?
Follow-up to that question, does anyone have any advice in what sort of relay model would be best suited to this sort of project?
Thanks in advance!