Skip to content

ah01/maker_badge_nfc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Maker Badge NFC Addon

preview

Maker Badge by @dronecz is essentially a wearable device. However, it lacks Bluetooth Low Energy (BLE) support because the ESP32-S2 does not have it, making it difficult to communicate with your mobile phone. Using cables is inconvenient, and setting up WiFi can be bothersome. Fortunately, there is an even easier communication option available - NFC!

Introduction

This project utilizes the NXP NT3H2211, which is essentially an I2C EEPROM memory on one side and an NFC tag on the other. It acts as a normal passive NFC tag, allowing you to use any mobile application (such as NFC Tools or NXP Tag Writer) to write textual NDEF records to it. The written text in form of first line, second line, third line will then be displayed on the device.

HW

There are several options available for NFC tags, including the NXP NT3H2211, ST25DV04K from ST Micro, and others.

Note: The ST25DV04K has a different memory layout than the NT3H2211 and is not supported in the current implementation. However, it should be relatively easy to extend the implementation to support this chip.

Theory of opperation

The software is written in CircuitPython. Upon power-up, it will read the tag memory via I2C and attempt to locate an NDEF text message. If one is found, it will retrieve the text and display it on the device. Subsequently, it will set an alarm on the field detect pin of the NT3H2211 and enter deep sleep mode. When a phone with active NFC comes into proximity, it will wake up the badge.

If the field detect pin is not available (not connected on your PCB), one needs to make changes to periodically check if the memory content has changed. Alternatively, another option is to manually reset the badge via a button every time the memory has changed.

Future improvements

  • Expand support for other tags, not only the NT3H2211.
  • Add support for NDEF format for business cards.
  • Implement the ability to lock the tag (e.g., via a menu on the display). This feature would be particularly useful when supporting the business card format, ensuring that others can scan your badge to obtain contact information but cannot modify it.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages