background image

 

 

3.

 

Get Started 

1.

 

Download 

PN532 library

 and put 4 folders(PN532, PN532_SPI, PN532_I2C and PN532_HSU) into 

Arduino's libraries. 

2.

 

Download 

Don's NDEF library

, put it into Arduino's library and rename it to NDEF. 

3.

 

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

4.

 

In Arduino IDE, click menus: File -> Example -> NDEF -> ReadTag 

5.

 

We used I2C interface in the libraries of NDEF, so please cut off the connection between P1 and 

UART via a little knife, and solder P1 and I2C together. 

 

 

Debug for Grove - NFC v1.0 : There's a bug while using I2C communication, please use jumper wires to 
follow those connection

 

Arduino/Arduino Mega 

Grove - NFC 

SCL 

RX 

SDA 

TX 

GND 

GND 

5V 

VCC 

 

Also you can use UART interface without cutting any connection, Seeeduino  Mega (Arduino Mega) or 

Seeeduino lite(Arduino Leonardo) are preferred. Following are the modified program. 

#include "PN532_HSU.h" 

#include "PN532.h" 

#include "NfcAdapter.h" 

 

PN532_HSU interface

(

Serial1

);

 

NfcAdapter nfc 

=

 NfcAdapter

(

interface

);

 

Содержание 113020006

Страница 1: ...1 Grove NFC Version 1 0 Release date 9 20 2015 Wiki http www seeedstudio com wiki Grove_ EF BC 8D_NFC Bazaar http www seeedstudio com depot Grove NFC p 1804 html ...

Страница 2: ...2 Document Revision History Revision Date Author Description 1 0 Sep 21 2015 Victor He Create file ...

Страница 3: ...3 Contents Document Revision History 2 1 Introduction 2 2 Specification 3 3 Get Started 4 4 Related Reading 6 5 Resource 7 ...

Страница 4: ...ision of Seeed Technology Inc this manual has been compiled and published which covered the latest product description and specification The content of this manual is subject to change without notice Copyright The design of this product including software and its accessories is under tutelage of laws Any action to violate relevant right of our product will be penalized through law Please conscious...

Страница 5: ... features a highly integrated transceiver module PN532 which handles contactless communication at 13 56MHz You can read and write a 13 56MHz tag with this module or implement point to point data exchange with two NFCs Grove NFC is designed to use I2C or UART communication protocols and UART is the default mode In addition we assign an independent PCB antenna which can easily stretch out ...

Страница 6: ...ode 83mA Support host interface I2C UART default Serve for contactless communication rate 13 56MHz Support ISO14443 Type A and Type B protocols Max operating distance for detecting NFC tags is 28mm depending on current antenna size Support P2P communication Dimensions 25 43mm x 20 35mm ...

Страница 7: ... please cut off the connection between P1 and UART via a little knife and solder P1 and I2C together Debug for Grove NFC v1 0 There s a bug while using I2C communication please use jumper wires to follow those connection Arduino Arduino Mega Grove NFC SCL RX SDA TX GND GND 5V VCC Also you can use UART interface without cutting any connection Seeeduino Mega Arduino Mega or Seeeduino lite Arduino Le...

Страница 8: ...nfc begin void loop void Serial println nScan a NFC tag n if nfc tagPresent NfcTag tag nfc read tag print delay 5000 Of course you can communicate Grove NFC with Seeeduino Arduino UNO via UART interface but you can t get any information on the monitor of Arduino IDE ...

Страница 9: ...6 4 Related Reading FAQ of Grove NFC Also you can enter the FAQ page by clicking the FAQ button which in the right side of product s wiki page ...

Страница 10: ...7 5 Resource Grove NFC v1 0 EAGLE schematic and board files Grove NFC v1 1 EAGLE schematic and board files PN532 Datasheet PDF ...

Отзывы: