28140 Parallax Inc, 28140 Datasheet - Page 7
![READER MODULE RFID](/photos/14/26/142663/mfg_28140_sml.jpg)
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
SYMBOL
SYMBOL
SYMBOL
SYMBOL
SYMBOL
SYMBOL
SYMBOL
SYMBOL
SYMBOL
SYMBOL
SYMBOL
SYMBOL
SYMBOL
' -----[ EEPROM Data ]-----------------------------------------------------
Tags:
' -----[ Initialization ]--------------------------------------------------
Reset:
' -----[ Program Code ]----------------------------------------------------
Main:
Check_List:
Copyright © Parallax Inc.
EEPROM ("0F0184F20B")
EEPROM ("0F01D9D263")
EEPROM ("04129C1B43")
EEPROM ("0000000000")
EEPROM ("0000000000")
HIGH Enable
LOW Latch
LOW Enable
SERIN RX, T2400, ($0A)
SERIN RX, T2400, tag0, tag1, tag2, tag3, tag4 ' get tag bytes
SERIN RX, T2400, tag5, tag6, tag7, tag8, tag9
HIGH Enable
FOR tagNum = 0 TO LastTag
pntr = tagNum * 10 + 0 : READ pntr, char
IF char <> tag0 THEN Bad_Char
pntr = tagNum * 10 + 1 : READ pntr, char
IF char <> tag1 THEN Bad_Char
pntr = tagNum * 10 + 2 : READ pntr, char
IF char <> tag2 THEN Bad_Char
pntr = tagNum * 10 + 3 : READ pntr, char
IF char <> tag3 THEN Bad_Char
pntr = tagNum * 10 + 4 : READ pntr, char
IF char <> tag4 THEN Bad_Char
pntr = tagNum * 10 + 5 : READ pntr, char
IF char <> tag5 THEN Bad_Char
pntr = tagNum * 10 + 6 : READ pntr, char
IF char <> tag6 THEN Bad_Char
pntr = tagNum * 10 + 7 : READ pntr, char
IF char <> tag7 THEN Bad_Char
pntr = tagNum * 10 + 8 : READ pntr, char
IF char <> tag8 THEN Bad_Char
pntr = tagNum * 10 + 9 : READ pntr, char
tag0
tag1
tag2
tag3
tag4
tag5
tag6
tag7
tag8
tag9
tagNum
pntr
char
= B0
= B1
= B2
= B3
= B4
= B5
= B6
= B7
= B8
= B9
= B10
= B11
= B12
RFID Card Reader Serial & USB (#28140 / 28340)
' RFID bytes buffer
' from EEPROM table
' pointer to char in table
' character from table
' valid tags
' space for other tags
' turn of RFID reader
' lock the door!
' activate the reader
' wait for header
' deactivate reader
' scan through known tags
' read char from DB
' compare with tag data
v2.2 3/22/2010 Page 7 of 11