This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

NFC - PN532 : Reads tag multiple times

I'm using adafruit_tag_reader example to read ISO14443 tag.

When I put a tag near scanning area of PN532. It reads tag multiple times till I remove that tag from there. 

There is any flag or function available in the library to check whether the tag is removed or not?


So I can get tag info only one time. It should read only again when it is removed from there and again put there.

Details:
Hardware: NRF52832 DK and PN532 Breakout board from Adafruit
SDK: 15.3.0
Example: adafruit tag reader
NFC tag: ISO14443 (MFR Part no - LXMSAPHA17-176)

  • Hi

    I think you will have to implement this functionality on top of your NFC library. 

    You can start a timer every time you get a report from the tag, and reset it each time you receive a duplicate report. 

    Then you can set the timer to time out after a certain period with no NFC activity, and use that as a signal that the NFC tag has been removed. 

    Best regards
    Torbjørn

Related