ok,
I use the OEM 125Khz reader See http://www.picshop.nl/rfid.html
This Reader has a CP signal, Before the 10-byte is serial out, the CP signal will be High. Then I have 210ms time to readout the reader. The PIC in the application is a 16F887.
buf var byte (10) ' RFID bytes from tag
Main:
If PORTA.7 = 0 then Read_Tag ' CP signal of the OEM reader, read within 210 mS
' Here other program lines
Goto Main
' ----- [ GOSUB ] -----------------------------------------------------------
Read_Tag:
' Wait for Hex 02 . . .
serin2 PORTB.0, 84, [WAIT($02), str buf\10] ' Read 10 byte from ECO-125
return
Bookmarks