User Tools

Site Tools


vhs_door_v3

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

vhs_door_v3 [2013/08/21 20:59]
tomkeddie
vhs_door_v3 [2014/06/17 16:13] (current)
tomkeddie
Line 11: Line 11:
 ==== Lock control and monitoring ==== ==== Lock control and monitoring ====
  
-The lock control and monitoring is done by an Arduino ​Diecimila ​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.+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 |}}  {{ ::​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.  ​ 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 ==== ==== RPi based control ====
Line 21: Line 25:
 The access reader is connected the RPi via USB serial converter and is controlled/​monitoring via ascii strings over the serial port.  ​ The access reader is connected the RPi via USB serial converter and is controlled/​monitoring via ascii strings over the serial port.  ​
  
-===== USB Serial Converter ===== 
  
-The serial converter is an FTDI 4232H USB to quad serial converter[[http://​www.ftdichip.com/​Support/​Documents/​DataSheets/​Modules/​DS_FT4232H_Mini_Module.pdf|PDF]]. ​ It is wired for bus power as per the data sheet 
-<​code>​ 
-USB Bus-powered:​ 
-1) Connect VBUS to VCC (CN3, pin 1 to CN3, pin 3). This connection takes the power from the  
-USB bus (VBUS) and connects it to the voltage regulator input on the FT4232H Mini Module. ​ 
-The voltage regulator, in turn, provides V3V3, VPLL and VUSB power inputs to the FT4232H chip. 
-2) Connect V3V3 to VIO (CN2, pins 1, 3 & 5 to CN2, pins 11 & 21 and CN3, pins 12 & 22). 
-This connection provides the correct 3.3VDC operating voltage for VCCIO on the FT4232H chip.  
-</​code>​ 
vhs_door_v3.1377118770.txt.gz ยท Last modified: 2013/08/21 20:59 by tomkeddie