====== VHS Door v3 ====== v3 of VHS door control is the first to be used at 270 E 1st Ave There are several components the access reader, the lock control and the RPi based control. ==== Access Reader ==== [[https://www.hidglobal.com/products/readers/hid-proximity/5365|MiniProx 5365]] ==== Lock control and monitoring ==== The lock control and monitoring is done by an Arduino with opto-isolated relays attached. The schematic is shown below. The lock handle is engaged by the existing bidirectional motor. When not energized the relays pass control through to the motor from the keypad operated controller built in to the lock. Each relay drives the motor in a different direction, there is no limit switch, the control is time based. To allow someone to open or close the door, the lock is engaged for a period of time and then disengaged. The relay optoisolators are connected to P2 and P3, not P1 and P2 as shown in the schematic. {{ ::2013-07-31_12.06.10.jpg?200 |}} An additional optoisolator connected to P4 is used to provide feedback on the position of the door bolt, this is used for logging purposes only. ==== Access Reader ==== An Arduino is used to decode the wiegard protocol from the rfid reader and report it as a string to the RPi over a serial port. ==== RPi based control ==== The access reader is connected the RPi via USB serial converter and is controlled/monitoring via ascii strings over the serial port.