PNGinc Documents

FREE* Security Key Lite Design!

(for Personal/non-commercial use only)


Scalable Security System
Using the PIC 16F84

Author: Ken Rieli 1/29/98

Table of Contents

bulletSecurity Key Project Documentation - Abstract
bulletBlock Diagram
bulletForward
bulletBackground
bulletSystem Design -- Theory of Operation
bulletHost System Flowchart
bulletSystem Development
bulletPhoto 1 -- breadboard
bulletPhoto 2 -- project prototype
bulletHardware Description
bulletSchematic 1a
bulletSchematic 1b
bulletSoftware
bulletSKPIC5.BAS -- Embedded code for the 16F84
bulletSKIV5.BAS -- Interrogate Key Routine, for x86 host system
bulletSKUTILS5.BAS --Utilities for the x86 host system
bulletConclusions
bulletAppendix
bulletSchematic 1a
bulletSchematic 1b
bulletSoftware Flowchart 1a
bulletSoftware Flowchart 1b (Command 1)
bulletSoftware Flowchart 1c (Command 2)
bullet Software Flowchart 1d (Command 3)
bullet Software Flowchart 1e (Command 4)
bullet Software Flowchart 1f (Command 5)
bullet Software Flowchart 2
bulletSoftware Flowchart 3
bulletSoftware Listing 1 - not available to public
bulletSoftware Listing 1E
bulletSoftware Listing 2
bulletSoftware Listing 3

Security Key Project Documentation - Abstract

In this last decade of the 20th century, we've seen steadily decreasing R&D budgets, in both government and private organizations. At the same time, hacking, industrial espionage and theft of intellectual property are on the rise. To counter these threats, security measures must be implemented right down to the personal level.

The least effective electronic security keys use magnetic strips or non-volatile memory chips to store key codes and user data. While this approach may be sufficient for low-level security, only key systems utilizing on-board CPUs can provide more advanced functions such as rolling key codes. This project will address the basics of key code storage and interrogation.

The PIC 16F84 is an ideal processor for highly-effective security systems due to the right mix of RAM, Flash memory, and EEPROM. This low-cost design uses the 16F84, a minimum of passive components and simple software routines to implement security key functions. By powering the key from the host system's serial port, parts count and cost are kept to a minimum.

During programming, a standard 60-byte (480 bit) key code is stored in the 84's EEPROM. Software utilities allow rewriting this memory area with other random codes. By setting the code polling length in the host system's interrogation routine, key code length is scalable from 8 bits to 480 bits -- a bit better than Federal limits of 56 bits for exportable technology. User access level codes can be stored in each hardware key, and later requested for processing.

In the second phase of this project, we add an external serial EEPROM, increasing the key code length to 250 bytes (2,000 bits). These astronomical or long codes provide a solid foundation for building absolute security systems.

This project is easy to build and provides maximum security benefits. Applications include: personal computer access, network access, electronic door locks, etc.

Block Diagram

Security System Block Diagram

Figure 1

 

< Previous Page Table of Contents Next Page >

Copyright © 1999 Phoenix Navigation & Guidance Inc. All rights reserved.