Difference between revisions of "NFC PN532 Shield"

From LinkSprite Playgound
Jump to: navigation, search
(Schematic)
(Hardware Installation)
Line 75: Line 75:
 
=== Hardware Installation  ===
 
=== Hardware Installation  ===
  
 +
*Connect the NFC shield to Arduino as shown below.
 +
*Compile and upload the example sketch provided.
 +
 +
[[File:connected to Arduino.jpg]]
  
 +
*Hold the Mifare card near the antenna.  The NFC shield will read the passive ID data.
  
 +
[[File:mifare card.jpg]]
  
 +
*Hold the Mifare tag near the antenna.  The NFC shield will read the passive ID data.
 +
 +
[[File:mifare tag.jpg]]
 +
 +
*Use the following setup for establishing peer to peer communication between two Arduinos using two NFC shields.
 +
 +
[[File:peer to peer .jpg]]
  
 
=== Programming  ===
 
=== Programming  ===

Revision as of 03:26, 6 December 2012

Introduction

LinkSprite’s NFC (Near Field Communication) shield is a NFC shield for Arduino built around the popular NXP PN532 integrated circuit.

NFC is a short-distance radio technology that enables communication between devices that are held close to each other.

NFC traces its roots in RFID technology and is an open platform technology standardized in ECMA-340 and ISO/IEC 18092.

NFC is widely used similar to RFID to recognize cards/tags (NXP Mifare cards /tags). NFC can be used as an alternative to Travelcard using the read/write memory provided in cards/tags.

Few mobile phones come with built-in NFC - they are used as readers of cards, tags, smart posters with a web URL (like a mobile QR-code reader). This technology is also being applied in smart cashless purchases.

Like many other standards, NFC technology is regulated by the NFC which standardizes NFC communication - how the devices pair, share data and allow a secure transaction to happen. The NFC Forum develops and certifies devices compliant with the NFC standards.

NFC operates on unlicensed ISM (Industry Scientific Medical) band of 13.56 MHz Frequency. NFC’s communication range is up to 10 cm. But, this is limited by the antenna and power radiation design. Most devices work within a range of 5mm. NFC shield antenna is designed to work within a range of 1cm. The NFC shield provides all necessary circuitry for PN532 like 27.12Mhz crystal and power supply. It also breaks-out the I/O pins of PN532 for easy access.

The communication between Arduino and the NFC shield is via SPI.

NFC shield.jpg

Features

  • Compatible with Arduino shield. No soldering required.
  • SPI interface. Hence, most Arduino pins are available for other applications.
  • Built in PCB Antenna.
  • Supports both 3.3V and 5V operation using TI's TXB0104 level translator.
  • Socket to connect with other shields.
  • The maximum communication range of this NFC shield is about 5 cm.
  • Not being able to read/write Mifare’s Ultralight C chip, only to read it’s ID.

Application Ideas

  • Use as a RFID reader with Mifare One tags (ISO14443 Type-A) and cards (13.56 MHZ).
  • Build visiting card sharing systems.
  • Build attendance systems.
  • Design authentication systems.
  • Read Smart Posters.
  • Securely exchange small data with other NFC devices.
  • Use with Arduino ADK Main Board for creating mobile NFC applications.
  • Many other applications.

Cautions

Schematic

schematics of NFC shield

Specification

Pin definition and Rating

Mechanic Dimensions

Usage

Hardware Installation

  • Connect the NFC shield to Arduino as shown below.
  • Compile and upload the example sketch provided.

Connected to Arduino.jpg

  • Hold the Mifare card near the antenna. The NFC shield will read the passive ID data.

Mifare card.jpg

  • Hold the Mifare tag near the antenna. The NFC shield will read the passive ID data.

Mifare tag.jpg

  • Use the following setup for establishing peer to peer communication between two Arduinos using two NFC shields.

Peer to peer .jpg

Programming

FAQ

Please list your question here:

Support

If you have questions or other better design ideas, you can go to our forum to discuss or creat a ticket for your issue at linksprite support.

Resources

How to buy

See Also

Other related products and resources.

Licensing

This documentation is licensed under the Creative Commons Attribution-ShareAlike License 3.0 Source code and libraries are licensed under GPL/LGPL, see source code files for details.