28142 Parallax Inc, 28142 Datasheet - Page 10

TAG RFID ROUND 50MM

28142

Manufacturer Part Number
28142
Description
TAG RFID ROUND 50MM
Manufacturer
Parallax Inc
Series
Credit Card Sizer
Datasheet

Specifications of 28142

Rf Type
Read Only
Frequency
125kHz
Features
Passive Tag
Package / Case
Module
Product
Microcontroller Accessories
Flash
512 KB
Operating Supply Voltage
5.5 V
Board Size
74.93 mm x 30.48 mm x 22.61 mm
Lead Free Status / RoHS Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
281423-1
Manufacturer:
TE
Quantity:
20 000
' -----[ Program Code ]----------------------------------------------------
Main:
Check_List:
Bad_Char:
Bad_Tag:
Tag_Found:
' -----[ Subroutines ]-----------------------------------------------------
' Prints name associated with RFID tag
Show_Name:
Parallax, Inc. • RFID Reader Module (#28140) •Updated 02/2006 v1.1
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
END
DEBUG DEC tagNum, ": "
LOOKUP tagNum,
DO
LOOP
RETURN
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 idx, char
IF (char = 0) THEN EXIT
DEBUG char
idx = idx + 1
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
[Name0, Name1, Name2, Name3], idx
' 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
' point to first character
' read character from name
' if 0, we're done
' otherwise print it
' point to next character
Page 10

Related parts for 28142