Skip to main content

Grove - NFC (ST25DV64)

pir


Grove - NFC (ST25DV64) is an innovative and versatile NFC/RFID tag board based on the advanced ST25DV64K chip from STMicroelectronics. This dynamic chip supports ISO/IEC 15693 and NFC Forum Type 5 tag standards, making it compatible with a wide array of NFC-enabled devices.

Designed for makers, DIY enthusiasts, and anyone interested in experimenting with NFC technology, the Grove - NFC (ST25DV64) offers a simple, cost-effective solution for adding NFC functionality to your projects. With its open-source nature, you can not only use this board as is but also tweak it to better fit your specific needs, whether you're building a smart home system, a secure access control device, a contactless payment solution, or an inventory tracking system.

The Grove - NFC (ST25DV64) is more than just an NFC tag. It's also a powerful tool that you can use to learn about NFC technology and its applications. With its rich features, you can explore various aspects of NFC, from data transfer and energy harvesting to data protection and general-purpose output.

This board is designed with convenience in mind. It features the standard Grove connector (HY2.0 - 4Pin), making it easily compatible with other Grove modules. Additionally, it works with both 3.3V and 5V systems, making it a flexible solution for your NFC needs.

Despite its small size, the Grove - NFC (ST25DV64) packs a punch when it comes to storage. It offers 64 Kbits of EEPROM, organized in 2048 blocks of 32 bits each, providing ample space for your data.

Note: Please remember that the Grove - NFC (ST25DV64) does not come with an NFC antenna. You will need to purchase a separate 13.56MHz NFC antenna to use with this product. You can also purchase this antenna from Seeedstudio.

Whether you're new to NFC or an experienced developer looking for an easy-to-use NFC solution, the Grove - NFC (ST25DV64) is an excellent choice. Its open-source software and hardware, combined with its ease of use and versatility, make it an invaluable tool for any NFC project.

tip

We've released the Seeed Gas Sensor Selection Guide, it will help you choose the gas sensor that best suits your needs.

Features

  • Based on the ST25DV64K chip, supporting ISO/IEC 15693 and NFC Forum Type 5 tag standards
  • 64 Kbits of EEPROM, organized in 2048 blocks of 32 bits each
  • Energy harvesting and GPO (General Purpose Output)
  • Fast transfer mode and multiple levels of data protection
  • Compatible with both 3.3V and 5V systems
  • Uses the standard Grove connector (HY2.0 - 4Pin) for easy integration with other Grove modules
  • Open-source software and hardware

Specification

  • Chip: ST25DV64K
  • Operating frequency: 13.56 MHz
  • Protocol: ISO/IEC 15693
  • Communication interface: I2C
  • Grove connector: 4-pin HY2.0
  • Operating voltage: 3.3/5V

In the Box

pir

  • 1xGrove - NFC(ST25DV64) Board
  • 2xGrove Cable(20cm)

Applications

  • Access Control: Use the Grove - NFC (ST25DV64) as a key card for access control systems.
  • Smart Home Automation: Store configuration data on the tag to control smart home devices or trigger specific actions.
  • Contactless Payments: Integrate the tag into a payment system for contactless transactions.
  • Device Pairing: Simplify the pairing process between devices by storing connection information on the NFC tag.
  • Inventory Tracking: Attach the NFC tag to products to store product information and simplify inventory management.

Hardware Overview

Pin Map

pir

Getting Started

note

If this is the first time you work with Arduino, we strongly recommend you to see Getting Started with Arduino before the start.

Play With Arduino

Materials required

Seeeduino V4.3NFC AntennaGrove - NFC(ST25DV64)

pir

pir

pir

note

1. Please plug the USB cable gently, otherwise you may damage the port. Please use the USB cable with 4 wires inside, the 2 wires cable can't transfer data. If you are not sure about the wire you have, you can click here to buy.

2. Each Grove module comes with a Grove cable when you buy. In case you lose the Grove cable, you can click here to buy.

  • Step 1. Connect Grove - NFC (ST25DV64) to I2C port of Grove-Base Shield.

  • Step 2. Plug Grove - Base Shield into Seeeduino.

  • Step 3. Connect Seeeduino to PC via a USB cable.

note

The Grove - NFC (ST25DV64) does not come with an NFC antenna. Therefore, you will need to purchase a separate 13.56MHz NFC antenna to use with this product. You can also purchase this antenna from Seeedstudio.

SeeeduinoGrove - NFC (ST25DV64)
3.3/5VRed
GNDBlack
SDAWhite
SCLYellow

Software

  • Step 1. Download the ST25DV Arduino Library from Github.

  • Step 2. Refer to How to install library to install library for Arduino.

  • Step 3. After downloading and installing the library correctly, you can find an example program named ST25DV_HelloWorld.ino in the examples folder. This program is designed for the ST25DV module.

#include "ST25DVSensor.h"

#define DEV_I2C Wire
ST25DV st25dv(12, -1, &DEV_I2C);

void setup() {
const char uri_write_message[] = "seeedstudio.com"; // Uri message to write in the tag
const char uri_write_protocol[] = URI_ID_0x01_STRING; // Uri protocol to write in the tag
String uri_write = String(uri_write_protocol) + String(uri_write_message);
String uri_read;

// Initialize serial for output.
Serial.begin(115200);

// The wire instance used can be omitted in case you use default Wire instance
if(st25dv.begin() == 0) {
Serial.println("System Init done!");
} else {
Serial.println("System Init failed!");
while(1);
}

if(st25dv.writeURI(uri_write_protocol, uri_write_message, "")) {
Serial.println("Write failed!");
while(1);
}

delay(100);

if(st25dv.readURI(&uri_read)) {
Serial.println("Read failed!");
while(1);
}

Serial.println(uri_read.c_str());

if(strcmp(uri_read.c_str(), uri_write.c_str()) == 0) {
Serial.println("Successfully written and read!");
} else {
Serial.println("Read bad string!");
}
}

void loop() {
//empty loop
}
  • Step 4. Upload the demo.

  • Step 5. Open the Serial Monitor of Arduino IDE by click Tool-> Serial Monitor. You will get below result:

pir

After uploading the provided program to your Arduino, your Grove - NFC (ST25DV64) becomes a fully functioning NFC Tag, which can operate independently. You can remove it from your Arduino board; it doesn't require any additional setup to work.

To test its functionality, you'll need an NFC-enabled smartphone, either Android or Apple. The NFC antenna for this device is located adjacent to the camera. However, if you are unsure about the location of the NFC antenna on your smartphone, it would be beneficial to look it up online.

Place the phone's NFC antenna close to the NFC antenna of the Grove - NFC (ST25DV64). Your smartphone should display a prompt requesting to open a webpage at st.com. This response indicates that your Grove - NFC (ST25DV64) is functioning correctly as an NFC Tag and demonstrates the demo's functionality.

pir

Schematic Online Viewer

Resources

Tech Support & Product Discussion

.

Thank you for choosing our products! We are here to provide you with different support to ensure that your experience with our products is as smooth as possible. We offer several communication channels to cater to different preferences and needs.

Loading Comments...