View Full Version : RFID
08-16-2008, 12: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, 12:30 AM
maybe I should use a propeller?
08-16-2008, 02: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, 08:49 AM