Re: [Geekspace-Gwinnett] RFID Entry Schematic

From: Nathan Lindeman
Sent on: Monday, July 30, 2012 4:38 PM

Im thinking integrate a cam to snap pics if the card is denied.

On Jul 30, 2012 4:31 PM, "Brad Newton" <[address removed]> wrote:
I finally acquired the six Raspberry Pi units last week and have been putting on through its paces.
I got the RFID card reader Saturday and expect the usb relay module later this week.

The RFID reader was stupid-simple to get working on the R-Pi's Archlinux install. Once i set the virtual serial port to a whopping 2400bps it Just Worked(tm)

I wrote a BASH script that takes care of reading from the card and checking against an ACL. Once I get the relay it'll trigger that if it gets a "this is an authorized card" back from the ACL.
I've attached  pair of schematics of how the system will likely look.

It assumes the use of an electromagnetic door lock (whose power is interrupted to open the door) and a 12V power source from ...somewhere.

The first drawing is for a basic "badge-in" system.
The second is for a more advanced "badge-in, badge-out" system.

Both include an emergency mechanical Big Red Switch for cutting power to the maglock. The "entry only" system has a button to open the door in normal situations.

The badge-in/badge-out system will be useful for streamlining automation tasks, as it'll (in theory, there's that pesky human element to worry about) keep track of who's in the space.

In ether case, the sequence of events on BADGE-IN is:
- RFID reader reads keycard, sends ID (9 digit HEX) to  ACL Processor
- ACL Processor reads local ACL for badge ID.
- ACL periodically updated from server.

-- If Access granted:
--- ACLP opens relay #1, disengaging MAGLOCK (user pulls door open)
--- Door sensor is tripped, timing how long door is open
--- After door close event received by ACLP, maglock reengages
--- ACLP sends log event to Server
--- ACLP sends alert to web site saying "space open!"
--- ACLP sends commands to Space Automation system to activate lighting, HVAC, etc.

-- If Access Denied:
--- ACLP Sends log event to server of card id and time.
--- ACLP Disables RFID reader for 10 seconds

For Exit Procedures:
-If "Button to exit":
-- ACLP Disengages MAGLOCK for ten seconds
-- ACLP logs exit button event to server
-- Door sensor is tripped, timing how long door is open
-- After door close event received by ACLP, maglock reengages

-If "BADGE OUT":
-- ACLP Disengages MAGLOCK for ten seconds
-- ACLP logs user exit event to server
-- Door sensor is tripped, timing how long door is open
-- After door close event received by ACLP, maglock reengages
If "last man out" (no other badges still present):
-- ACLP sends commands to Space Automation system to deactivate lighting, HVAC, etc.
--  ACLP sends alert to web site saying "space closed!"

If Panic switch is tripped:
-- Power to MAGLOCK is physically cut off.
-- ACLP Logs EMERGENCY event with ids of everyone still at the space.
-- Alarm sounds

There's also the possibility of adding a video screen (either a cheap NTSC LCD or HDMI LCD that can show bits of information (who's at the space, etc) and sound 

Whatcha all think?




--
Please Note: If you hit "REPLY", your message will be sent to everyone on this mailing list ([address removed])
This message was sent by Brad Newton ([address removed]) from Geekspace Gwinnett.
To learn more about Brad Newton, visit his/her member profile
Set my mailing list to email me As they are sent | In one daily email | Don't send me mailing list messages

Meetup, PO Box 4668 #37895 New York, New York 10163-4668 | [address removed]

People in this
Meetup are also in:

Log in

Not registered with us yet?

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy