beautypg.com

MagTek TTL User Manual

Page 3

background image

iii

TABLE OF CONTENTS

SECTION 1. DECODING READER OUTPUT............................................................................................. 1

REFERENCE DOCUMENTS ................................................................................................................... 2

MAGTEK DOCUMENTS INCLUDED IN THIS MANUAL ......................................................................... 2

TRACK 1 DATA FORMAT........................................................................................................................ 3

TRACKS 2 AND 3 DATA FORMAT.......................................................................................................... 4

SECTION 2. ENCODING............................................................................................................................. 7

TIMING ................................................................................................................................................... 10

DATA ...................................................................................................................................................... 10

STROBE ................................................................................................................................................. 10

CARD PRESENT.................................................................................................................................... 10

SECTION 3. LRC CALCULATION............................................................................................................ 13

SECTION 4. ERROR CHECKING............................................................................................................. 15

ERROR CHECKS BY A TYPICAL READER ......................................................................................... 15

ERROR CHECKING, TRACK 2, WITH AN INTEL 8751 ........................................................................ 16

INSERTION READERS.......................................................................................................................... 18

SECTION 5. BIDIRECTIONAL READING AND AMPLITUDE VARIATIONS.......................................... 19

READING IN ONE DIRECTION VERSES BOTH DIRECTIONS ........................................................... 19

CARD READBACK AMPLITUDE VARIATIONS .................................................................................... 20

APPENDIX A. CHARACTER CONVERSION ........................................................................................... 21

TRACK 1 CHARACTER SET ................................................................................................................. 21

TRACK 2 AND 3 CHARACTER SET ..................................................................................................... 21

APPENDIX B. READ IC 21006516 SPEC SHEET ................................................................................... 23

APPENDIX C. STANDARDS .................................................................................................................... 27

APPENDIX D. CARD READER INTERFACE........................................................................................... 29

INTERFACING THE CARD READER TO A MICROPROCESSOR ...................................................... 29

SINGLE - BIT INPUT PROGRAMMING................................................................................................. 29

USART.................................................................................................................................................... 29

DETECTING START SENTINEL............................................................................................................ 30

BIDIRECTIONAL READING................................................................................................................... 30

CONVERTING CARD DATA TO ASCII DATA....................................................................................... 30

TRACK 1................................................................................................................................................. 30

TRACK 2 & 3 .......................................................................................................................................... 30

FIGURES

Figure 2-1. Bit Cell - Flux Transition -----------------------------------------------------------------------------------------8

Figure 2-2. Card Coding --------------------------------------------------------------------------------------------------------9

Figure 2-3. Timing -------------------------------------------------------------------------------------------------------------- 10