View Full Version : RFID
08-16-2008, 01:27 AM
I am interested in using the RFID system to detect the removal of a tag away from the sensor.
It seems from the examples, the RFID reader "waits" until a tag is detected.
Is there a way to detect the absense of a tag in the field?
08-16-2008, 01:30 AM
maybe I should use a propeller?
08-16-2008, 03:52 AM
A Propeller won't help you here. The RFID reader responds with a string when it sees an RFID tag. You can use a timeout to regain control in your routine if nothing is received within a specified period of time. PBasic has a timeout and there are provisions for a timeout in the Propeller serial I/O routines. Look in the PBasic manual under the SEROUT statement or at the description of the rxtime method in the FullDuplexSerial driver that comes with the Propeller Tool.
08-17-2008, 09:49 AM