

You can also use them to catch some public transportation. He also decided against RFID but didn’t really say why. He did mention that he wanted a short-range solution so barcodes and QR codes were out. If you want to understand all the logic that went into the design, the author also included a slide show that discusses the three versions and their pros and cons. If you back up a level in the GitHub repository, you can see the earlier non-Arduino versions of the code, as well. Once you fix those things, the rest is pretty easy.
Nfc reader usb windows#
It turns out that’s not hard, but there’s a caveat: Once you make this change you will need the WebUSB library in all your programs or Windows will refuse to recognize the Arduino and you won’t be able to easily reprogram it.

There’s a library, but you have to change over your Arduino to use USB 2.1.

But the biggest problem was enabling WebUSB support. He had to hack the board to get the NFC reader’s interrupt connected correctly because he was using a Leonardo board. This sounds easy, but there were quite a few tricks required to make it work. But his final iteration was to make a standalone reader with an Arduino and use WebUSB to connect to the application on the PC. First, he tried an Electron application, and then a client-server architecture. When wanted to read some NFC tags, he went through several iterations.
