I want to use my PN532 as input device like a keyboard on my pc with windows 10. I have a PN210 USB to UART Bridge.
Is there a way to use my PN532 on a x86/64 device?
Internet of Things Stack Exchange is a question and answer site for builders and users of networked sensors and control devices in the contexts of smart homes, industry automation, or environmental sensors. It only takes a minute to sign up.Sign up to join this community
If you want to use it “as a keyboard”, i.e. whenever a card is presented some data from the card is sent to the PC as if it were typed on a keyboard, they I don’t believe you can do that with this combination:
If you really want an NFC reader acting as a keyboard you’ll probably need a device that has been designed for that (there are quite a few). If you want to do it yourself, you can probably use the PN532 but you’ll need something a bit more intelligent to connect it to the PC, some kind of microcontroller with USB peripheral support which allows use of the HID profile and an UART to talk to the PN532.
Some Arduino boards as well as some of the Teensy boards should be able to do that.
In any case, you’ll need to determine exactly what you want to read from the tags and output as keystrokes. A classic case is the card’s UID, but other applications may require reading different information from the card, possibly with encryption and whatnot.
If you don’t care about it actually acting as a keyboard, but just want to communicate with the PN532, then the combination should work out. Note that IIRC the PN532 has multiple interfaces (SPI, I2C, UART I believe), and some ready-made boards are preset to a specific interface. Other will require cutting or soldering some jumpers to select the right mode.
Note that on PCs, the optimal use case is generally to have a reader which is compatible with the PC/SC protocol. This allows you to use all sorts of software which can work with any such reader.