Shop OBEX P1 Docs P2 Docs Learn Events
RFID — Parallax Forums

RFID

quick questionquick question Posts: 50
edited 2008-08-17 01:49 in BASIC Stamp
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?

thanks

Chris

Comments

  • quick questionquick question Posts: 50
    edited 2008-08-15 17:30
    maybe I should use a propeller?
  • Mike GreenMike Green Posts: 23,101
    edited 2008-08-15 19:52
    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.
  • quick questionquick question Posts: 50
    edited 2008-08-17 01:49
    thanks!
Sign In or Register to comment.