28140 Parallax Inc, 28140 Datasheet - Page 11
28140
Manufacturer Part Number
28140
Description
READER MODULE RFID
Manufacturer
Parallax Inc
Specifications of 28140
Rf Type
Read Only
Frequency
125kHz
Features
Single 5V Power Supply
Package / Case
Module
Product
Microcontroller Accessories
Data Bus Width
8 bit
Clock Speed
125 KHz
Interface Type
USB
Operating Supply Voltage
5.5 V
Board Size
46.99 mm x 69.22 mm x 21.84 mm
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Lead free / RoHS Compliant
Bad_Char:
Bad_Tag:
Tag_Found:
' -----[ Subroutines ]-----------------------------------------------------
' Prints name associated with RFID tag
Show_Name:
Copyright © Parallax Inc.
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
READ idx, char
IF (char = 0) THEN EXIT
DEBUG char
idx = idx + 1
[Name0, Name1, Name2, Name3], idx
RFID Card Reader Serial & USB (#28140 / 28340)
' 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
v2.1 8/28/2008 Page 11 of 11