Title: Spring Summer 2002
1 - Spring Summer 2002
- Senior Design
- Group 12
Anissa Lomax Loren Stroup Josh Broline Bryan
Herde
Project partly sponsored by the University of
Central Florida College of Engineering and
Computer Science
2Overview
- Introduction
- Software Components
- Hardware Components
- Mechanical Components
- Administration Content
- Summary Conclusion
3Description Objective
- KeyGuard Series
- Automated system for key authorization
- System uses smart card technology
- Smart Card holds user key authorization info
- Lessens hassle of keeping handwritten key logs
- KeyGuard III Motivation
- Improve the system from KeyGuard II
- Cheaper
- Manufacturable
- Lighter
- Improve Design (Generic)
4Block Diagram
5Software Components
6Software Block Diagram
7Software Specs
- Operating System MS Windows 98
- Main (Host) Program Java Application
- Personal Preference
- APIs (Application Programming Interface) C
- Better interface with external ports (Readily
available commands) - JNI Java Native Interface
- DLL Dynamic Link Libraries
8Smart Card Interfacing
- Unidirectional serial channel
- PC/SC API (Personal Computer/Smart Card)
- MSDN (Microsoft Developers Network)
- Standard Commands for Smart Card Interfacing
- Program will have to
- Communicate with Reader
- Verify Card Authenticity
- Read/Write to Card
9SCard Code Snippet
- lReturn SCardEstablishContext(SCARD_SCOPE_USER,
 NULL, NULL, hSC) - Â
- lReturn SCardListReaders(hSC,  NULL,Â
(LPTSTR)pmszReaders, cch ) - Â
- lReturn SCardConnect(hSC,"TOWITOKO CHIPDRIVE
- 0",SCARD_SHARE_SHARED,SCARD_PROTOCOL_T0
SCARD_PROTOCOL_T1,hCardHandle,dwAP - )
- Â
- lReturn SCardReleaseContext(hSC)
10Control Board Interfacing
- Parallel Port
- Program
- Send signal to 38 Decoder authorizing key
checkout - Receives signal from Multiplexer to verify if
keys are in locks
11Port Pins
12Problems Challenges
- Board has not yet been built
- Still some designing to do with address lines to
keys - Smart Card Commands
- Specify Smart Card to be used and get commands
13Software Components
14Main Program Specs
- Why JAVA?
- More user-friendly components
- More security options
- Easier to program than C
- Overall presentation looks better
- Stand Alone Application
- Will open whenever system is on
- Only administrator will have option to close
program - There will be a General User Part and System
Administrator Part
15JAVA Software Design
- Every action represents a class in JAVA
- Making a reservation, checking out a key, etc
- Selection of GUI button invokes the desired
action - Every class defines a new GUI
- Performs the duties that the user desires
- Controls the users interactions with KeyGuardIII
16Pseudo Code Snippet Class Secure Smart
Card() //Reads smart card data actionPerformed(
ActionEvent e) //Listens for buttons in GUI and
records users PIN
code WHEN button ENTER is selected
//System uses smart card data to
retrieve PIN code from users file kept
locally with JAVAs FileInputStream method
IF username is not found //Alert user that
username doesnt exist //System compares
users PIN code kept on file with the PIN code
entered by user IF
PIN codes match up AND the username is NOT the
administrator create an
instance of a general user main menu
IF PIN codes dont match //Clear
PIN code entry and start over
IF PIN codes match AND the user IS the
administrator create an
instance of an administrator main menu
17(No Transcript)
18UML Activity Diagrams
19Reservation GUI Layout
20Modify Account GUI Layout
21Problems Challenges
- Time keeping problems in reservation class
- String vs. Integer representation of dates
- Limitations on checkout time
- Scope of username
- Other classes couldnt see username from secure
class - Fixed by giving each class constructor a String
input parameter
22Hardware Components
- Computer System Controller Circuit
23Computer System
- Intel ATX Socket 370 Motherboard
- Intel 466 MHz Celeron Processor
- 64 Megabytes of SDRAM
- 1.5 Gig.Western Digital Hard Drive
- 32 Megabyte AGP TV-Out Video Card
- PCI fast Ethernet card
Reprinted with permission by Pine
24Computer System (cont.)
- Cirque Easy Cat Touch Pad
- Cheaper solution than touch screen
- 3.5 Floppy Drive
- For exporting data
- 250 Watt ATX Power Supply
- All parts were selected with minimal
functionality and price in mind
Reprinted with permission by Cirque
25LCD Screen
- Legacy 5.6 Color LCD
- Built in Speakers
- RCA connection Â
- Power 12 V DC
Reprinted with permission of Legacy
26Smart Card Reader
- Towitoko Micro 120 Smart Card Reader
- Interfaces through serial port
- Power Supply Runs off of NiMH battery
Reprinted with permission from Towitoko
27Controller Circuit
- 3 to 8 Decoder (2)
- Used to address key lock
- Used to address expansion port
- 8 to 1 Multiplexer
- Used to indicate a checked
- in/out key
- 24 V Relays (8)
- Used to activate solenoids
-
Addressing Table for Central Key Locks
28Controller Circuit (Cont.)
- 12VDC to 24 VDC Converter
- Used to step up power supply for relays
- Power Supply
- 5 V for logic parts
- 12 V for DC converter
- 15 pin expansion port connection
29Controller Circuit
30Problems Challenges
- Trouble finding a cheap solution to interface LCD
to Computer - Solution Using TV LCD and TV-Out Video Card
- Building an expansion port that does not access
two keys with the same 6 bit address on multiple
controller
31Hardware Components
32KeyGuard Casing
- Dragon DX-01BD middle tower case with door
- Lockable swing-out side panel with handle
- Fits different size motherboards
- - mainly ATX boards
- Lockable front door
- (2) 2x8 cm snap-in fan mounts
-
- 7 expansion slots
33Cam Locks
- MAG Security
- Drawer and Cabinet Locks
- 7/8
- 22mm
- 90 degree or 180 degree cams
- Different locking options
- Position 1 2
Reprinted with permission of Home Depot
34Solenoids
- Pull-type solenoid w/ spring return
- Designed for 22-26 Vdc
- works fairly well on 12 Vdc
- Pull force, 3.7 lbs _at_ 24 Vdc
- 0.77" diameter X 1.82" long
- 3" long plunger
- 3.4" mounting bracket attached to body
- Activated Retrieves Key
- Deactivated Locks Key
Reprinted with permission of allelectronics.com
35Optical Sensor
- Slotted optical switch
- 0.125" gap between emitter and sensor
- Four 6" long wire leads terminate to 4 pin
molex-type connector - High signals multiplexer cam in
- Low cam out
Reprinted with permission of allelectronics.com
36Problems Challenges
- Mounting brackets
- Looking for one that will hold both solenoid and
camlock - Choice of Solenoids
- Trying to keep it as cheap as possible
37Administrative Content
- Work Flow Diagram, Milestone Chart, Expenditures
(Budget), - Status Chart Conclusion
38Work Flow Diagram
39Milestone Chart
40Expenditures
41Status Chart
42Questions???