Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Magnetic Stripe and Barcode

Status
Not open for further replies.

skyglin

Junior Member level 2
Joined
Mar 28, 2004
Messages
23
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
303
How are they different? How difficult is to design a system around them, namely, the reader, the decoder(barcode), the writer (magnetic stripe)..etc? I'm working on a project in school that requires the application of access control, the core of the system will be a microprocessor taking care of the outputs from either a barcode subsystem or a magnetic stripe subsystem and determine whether to grant access or not. Which way would be easier and cheaper to implement? What do you guys suggest? And any reference will be greatly appreciated. :)
 

The easiest way would probably to get some readers/writers pre-made (i.e. buy one).

Many of those have simple interface to PC. Of course, the easiest ones to use would be one that use RS232 comm, but those would probably be the oldest (do they still sell those?). Now, you probably will more find USB, which is of no use in a micro-controler project.

If you wish to learn around the PC keyboard protocol, there are many barcode readers that plug into the keyboard port. When you scan a code, it simply send the scan codes as if you were typing them on the keyboard.

So, from a micro-controler, it would be the same as testing with a keyboard. Note though that when you type something on a keyboard, the code sent by the keyboard is not ASCII, but a specific scan-code for each key. Though, those are well-documented.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top