edit

Xadow - NFC Tag

Xadow - NFC Tag is a highly integrated Near Field Communication Tag module, this module is I2C interface, which base on M24LR64E-R,M24LR64E-R have a 64-bit unique identifier and 64 -Kbit EEPROM.Xadow - NFC Tag attach an independent PCB antenna which can easily stretch out of any enclosure you use, leaving more room for you to design the exterior of your project.

Specification


  • Working Voltage:5V or 3V3
  • Working Current<1mA
  • 2CM max effective range
  • Serve for contactless communication at 13.56MHz
  • ISO 15693 and ISO 18000-3 mode 1 compatible
  • 64-bit unique identifier (UID)
  • Read Block & Write (32-bit blocks)
  • I2C Interface

Usage


Read/Write by Mobile

  1. Download NfcV-reader for Androud and install it

  2. We can Read/Write it by Mobile

3.Place your phone close to a tag.

## Control LED
---
1. Download NfcV-reader for Android and install it
  1. Download NFC Tag Librename it to NFC_Tag_M24LR6E and put it into Arduino's library .

  2. Open Arduino IDE. If Arduino IDE is already opened, restart it.

  3. In Arduino IDE, click menus: File -> Example -> NFC_Tag_M24LR6E -> ledControl

  4. Now,you can control LED by you phone.

     1
     2
     3
     4
     5
     6
     7
     8
     9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    #include "NfcTag.h"
    #include <Wire.h>
    
    NfcTag nfcTag;
    int led = 5;
    bool flag = false;
    bool preFlag = false;
    void setup(){
        Serial.begin(9600);
        pinMode(led,OUTPUT);
        nfcTag.init();
    }
    
    void loop(){
        flag = nfcTag.readByte(EEPROM_I2C_LENGTH-1) == 0xff?true:false;
        if(flag != preFlag){
            Serial.println("get remote NFC control signal!");
            if(flag == true){
                Serial.println("led will light up!");
                digitalWrite(led,HIGH);
            }else{
                Serial.println("led will turn dark!");
                digitalWrite(led,LOW);
            }
            preFlag = flag;
        }
        delay(5*1000);
    }
    

Resources


Tech Support

Please submit any technical issue into our forum or drop mail to techsupport@seeed.cc.