Skip to content

Arduino library to support X-NUCLEO-NFC04A1 based on the dynamic NFC/RFID Tag IC ST25DV04K

License

Notifications You must be signed in to change notification settings

stm32duino/X-NUCLEO-NFC04A1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

X-NUCLEO-NFC04A1

Arduino library to support the X-NUCLEO-NFC04A1 expansion board. The X-NUCLEO-NFC04A1 dynamic NFC/RFID tag IC expansion board is based on the ST25DV04K NFC Type V/RFID tag IC with a dual interface 4 Kbits EEPROM that also features an I²C interface. It can be powered by the pin of Arduino connector or directly by the received carrier electromagnetic field.

Examples

There are 2 examples with the X-NUCLEO-NFC04A1 library:

  • X_NUCLEO_NFC04A1_HelloWorld: This application writes a URI tag on the device. It records an URI.

When the NFC module is started and ready, the message "Sytstem init done!" is displayed on the monitor window. Next, the tag is written, we wait few seconds, we read the same tag and print it on the monitor window.

You can test this application by connecting it with your smartphone. On Android, download a NFC Tools. Then start the app, check if NFC is activated on your smartphone. Put your smartphone near the tag, you can read it. You can write a tag with this app.

  • X_NUCLEO_NFC04A1_SimpleWrite: This application writes a NDEF message, containing a URI record, to the tag.

When the NFC module is started and ready, the message "System init done!" is displayed on the monitor window. Next, the tag is written with a URI.

You can test this application by tapping the tag with your smartphone. On Android, check if NFC is activated on your smartphone. Put your smartphone near the tag to read it. The preferred Internet Browser is automatically opened with the provided URI.

Dependencies

The X-NUCLEO-NFC04A1 library requires the following STM32duino library:

Documentation

You can find the source files at
https://github.com/stm32duino/X-NUCLEO-NFC04A1

The ST25DV04K datasheet is available at
https://www.st.com/resource/en/datasheet/st25dv04k.pdf

About

Arduino library to support X-NUCLEO-NFC04A1 based on the dynamic NFC/RFID Tag IC ST25DV04K

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

 
 
 

Languages