Hi!
My code is also used in a networked access system... I DID have to cut out some parts of it since i am not allowed to distribute it. Nevertheless i hope it will help you. Comments are in Estonian but code in pure assembly![]()
I do not use UART for RFID-s but RB4...RB7 port's port change int.
Mail me if anything remains unclear or needs to be translated.
/Felch
PS. I am also working with radioactivity monitoring system. It will be something like a portable datalogger equipped with GPS. Data is stored on an MMS card. Presently busy with FAT code. How does your appartus look like?
EDIT: It crossed my mind that if you have your readers data-pins, say D0, wire-ored together to generate an RB0-int, then read (in the int routine) readers ports and save them for processing, one could service 8 or even more RFID-readers. May-be even simultaneously if PIC is fast enough. In the int routine one only needs to shift some bits, that's all!
This kind of approach seems to be used in commercial security systems.
EDIT: Mistake in circuit - BUZ and LED are actually B-readers datapins D0 and D1 .
Bookmarks