Spring Summer 2002 - PowerPoint PPT Presentation

1 / 42
About This Presentation
Title:

Spring Summer 2002

Description:

Every action represents a class in JAVA. Making a reservation, checking out a key, etc... 1.5 Gig.Western Digital Hard Drive. 32 Megabyte AGP TV-Out Video ... – PowerPoint PPT presentation

Number of Views:40
Avg rating:3.0/5.0
Slides: 43
Provided by: lorens5
Category:
Tags: class | spring | summer

less

Transcript and Presenter's Notes

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
2
Overview
  • Introduction
  • Software Components
  • Hardware Components
  • Mechanical Components
  • Administration Content
  • Summary Conclusion

3
Description 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)

4
Block Diagram
5
Software Components
  • Interfacing

6
Software Block Diagram
7
Software 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

8
Smart 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

9
SCard 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)

10
Control Board Interfacing
  • Parallel Port
  • Program
  • Send signal to 38 Decoder authorizing key
    checkout
  • Receives signal from Multiplexer to verify if
    keys are in locks

11
Port Pins
12
Problems 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

13
Software Components
  • Main Program

14
Main 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

15
JAVA 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

16
Pseudo 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)
18
UML Activity Diagrams
19
Reservation GUI Layout
20
Modify Account GUI Layout
21
Problems 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

22
Hardware Components
  • Computer System Controller Circuit

23
Computer 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
24
Computer 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
25
LCD Screen
  • Legacy 5.6 Color LCD
  • Built in Speakers
  • RCA connection  
  • Power 12 V DC

Reprinted with permission of Legacy
26
Smart Card Reader
  • Towitoko Micro 120 Smart Card Reader
  • Interfaces through serial port
  • Power Supply Runs off of NiMH battery

Reprinted with permission from Towitoko
27
Controller 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
28
Controller 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

29
Controller Circuit
30
Problems 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

31
Hardware Components
  • Casing Locking Mechanism

32
KeyGuard 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

33
Cam 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
34
Solenoids
  • 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
35
Optical 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
36
Problems Challenges
  • Mounting brackets
  • Looking for one that will hold both solenoid and
    camlock
  • Choice of Solenoids
  • Trying to keep it as cheap as possible

37
Administrative Content
  • Work Flow Diagram, Milestone Chart, Expenditures
    (Budget),
  • Status Chart Conclusion

38
Work Flow Diagram
39
Milestone Chart
40
Expenditures
41
Status Chart
42
Questions???
Write a Comment
User Comments (0)
About PowerShow.com