28140 Parallax Inc, 28140 Datasheet - Page 7
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
' -----[ I/O Definitions ]-------------------------------------------------
SYMBOL
SYMBOL
SYMBOL
SYMBOL
' -----[ Constants ]-------------------------------------------------------
SYMBOL
' -----[ Variables ]-------------------------------------------------------
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
Enable
RX
Spkr
Latch
LastTag
tag0
tag1
tag2
tag3
tag4
tag5
tag6
tag7
tag8
tag9
tagNum
pntr
char
= 0
= 1
= 2
= 3
= 2
= B0
= B1
= B2
= B3
= B4
= B5
= B6
= B7
= B8
= B9
= B10
= B11
= B12
RFID Card Reader Serial & USB (#28140 / 28340)
' low = reader on
' serial from reader
' speaker output
' lock/latch control
' 3 tags; 0 to 2
' 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.1 8/28/2008 Page 7 of 11