32395 Parallax Inc, 32395 Datasheet - Page 10

no-image

32395

Manufacturer Part Number
32395
Description
RFID READER USB/TAG SAMPLER
Manufacturer
Parallax Inc
Series
-r
Datasheet

Specifications of 32395

Rf Type
Read Only
Frequency
125kHz
Features
-
Package / Case
*
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Other names
32395PAR
idx
char
' -----[ EEPROM Data ]-----------------------------------------------------
Tag1
Tag2
Tag3
Name0
Name1
Name2
Name3
' -----[ Initialization ]--------------------------------------------------
Reset:
' -----[ Program Code ]----------------------------------------------------
Main:
Check_List:
Bad_Char:
Bad_Tag:
Tag_Found:
Copyright © Parallax Inc.
HIGH Enable
LOW Latch
LOW Enable
#IF __No_SPRAM #THEN
#ELSE
#ENDIF
HIGH Enable
FOR tagNum = 1 TO LastTag
NEXT
tagNum = 0
GOSUB Show_Name
FREQOUT Spkr, 1000 */ TmAdj, 115 */ FrAdj
PAUSE 1000
GOTO Main
GOSUB Show_Name
HIGH Latch
FREQOUT Spkr, 2000 */ TmAdj, 880 */ FrAdj
LOW Latch
GOTO Main
SERIN RX, T2400, [WAIT($0A), STR buf\10]
SERIN RX, T2400, [WAIT($0A), SPSTR 10]
FOR idx = 0 TO 9
NEXT
GOTO Tag_Found
READ (tagNum - 1 * 10 + idx), char
#IF __No_SPRAM #THEN
#ELSE
#ENDIF
IF (char <> buf(idx)) THEN Bad_Char
GET idx, chkChar
IF (char <> chkChar) THEN Bad_Char
VAR
VAR
DATA
DATA
DATA
DATA
DATA
DATA
DATA
Byte
Byte
"0F0184F20B"
"0F01D9D263"
"04129C1B43"
"Unauthorized", CR, 0
"George Johnston", CR, 0
"Dick Miller", CR, 0
"Mary Evans", CR, 0
RFID Card Reader Serial & USB (#28140 / 28340)
' tag byte index
' character from table
' valid tags
' turn of RFID reader
' lock the door!
' activate the reader
' wait for hdr + ID
' deactivate reader
' scan through known tags
' scan bytes in tag
' get tag data from table
' compare tag to table
' read char from SPRAM
' compare to table
' all bytes match!
' try next tag
' print message
' groan
' print name
' remove latch
' beep
' restore latch
v2.2 3/22/2010 Page 10 of 11

Related parts for 32395