Using PN532 as an NFC Reader direct to Windows

Hello everyone, I hope this will make sense as I explain my project.

I am making a project that will hopefully both work as a standard input device with buttons (using the keyboard library, that much I have down) and also work as an NFC reader, with the intent to functionally supplant my Sony RC-S380 reader as it recently failed on me, and they are soon to be discontinued. Just about every tutorial or guide of any sort I could find in using any Arduino product as an NFC reader seems to be doing about the same thing, where it effectively just reads the card and then types a specific string afterwards, which while neat is not what I am going for.

Is there a specific library I'm looking for or a keyword that I'm not properly using that would help point me in the right direction?

If I understand it correctly, part of your Arduino sketch will have to read a tag and send it to your PC; the PC will see your Arduino as a HID.

If so, I doubt you will find a tailor made solution. You can read the tag and instead of printing to Serial you can print it using keyboard.print(). Be aware that you need an Arduino that can act as a HID; most modern ones can (exception that I'm aware of is the Nano Every) as well as Arduino Leonardo or Micro and SparkFun Pro Micro.

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.