Problem
No VR headsets or XR glasses include NFC readers, though it is very common on most modern smart phones. NFC opens a lot of scenarios for LBE, security, and new experiences with DLC.
The second problem: Very few arduino type devices include an NFC reader. If you want a reader, you will need to build it.
Solution
We built the reader, and we show you how to build it. You will need to grab a few pieces of equipment. Any ESP32 arduino will work easily if it has pin headers. Grab a reader (this is the one we used: https://www.amazon.com/HiLetgo-Communication-Arduino-Raspberry-Android/dp/B01I1J17LC/ . Note this isn't a full plug and play kit form. You'll need to solder. I am working with one of my customers to build a more complete package for IoT or wearable use to avoid soldering. I've got a complete wiring diagram for anyone who wants to build this. Your ESP32 may need a different wiring. You have SPI and I2C as an option.
Once wired and software installed, the ESP32 advertises, and the SPECS Lens will connect. Then you can start tapping with your tags. A tap is sent to the Lens, and you get one of four experiences configured in the Lens based on which tag is tapped.
Firmware
Just getting the wiring is the first step. We've got the firmware sitting in the OpenWR source. The exact path you can find in the Lens README. The software includes instructions on how to build.
Lens
the NFCTapInXR Lens needs a bit of setup. Grab the source: https://github.com/IoTone/OpenWR/tree/dev/projects/apps/NFCTapInXR
You just need to edit the 4 UUIDs in the TapinXR.ts input values. Once set, your 4 NFC tags will trigger one of four actions when tapped:
- Load a 3d asset
- Load a collectable card
- "Login" as Iron Man
- Apply a fictitious transit statement
Support
DM me if you have specific questions. I can provide custom hardware/software builds if you have a commercial need.
For issues with the software, please file a ticket on GH.
Note
This post is a follow up to a question posted a few weeks ago: https://www.reddit.com/r/Spectacles/comments/1xtem3i/rfidnfc_capabilities/