{"id":27717,"date":"2019-12-09T11:34:34","date_gmt":"2019-12-09T03:34:34","guid":{"rendered":"\/blog\/?p=27717"},"modified":"2019-12-11T11:47:53","modified_gmt":"2019-12-11T03:47:53","slug":"introducing-pn532-nfc-rfid-with-arduino-guide","status":"publish","type":"post","link":"https:\/\/www.seeedstudio.com\/blog\/2019\/12\/09\/introducing-pn532-nfc-rfid-with-arduino-guide\/","title":{"rendered":"Introducing PN532 NFC RFID with Arduino Guide"},"content":{"rendered":"\n<div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><img fetchpriority=\"high\" decoding=\"async\" src=\"https:\/\/media-cdn.seeedstudio.com\/media\/catalog\/product\/cache\/ab187aaa5f626ad16c8031644cd2de5b\/g\/r\/grove---nfc-all.jpg\" alt=\"\" width=\"350\" height=\"263\"\/><figcaption>Grove PN532 NFC Module<\/figcaption><\/figure><\/div>\n\n\n\n<p>PN532 is an NFC RFID module, popular in enabling your mobile payment, Arduino NFC capabilities, and serves as a tool for other communications in your smartphone! It can be found embedded in modules, that allow for easy pairing with your Arduino projects!<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Introduction to NFC<\/strong><\/h2>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><img decoding=\"async\" src=\"https:\/\/blog.seeedstudio.com\/wp-content\/uploads\/2019\/12\/image-37.png\" alt=\"\" class=\"wp-image-27718\" width=\"275\" height=\"227\" srcset=\"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2019\/12\/image-37.png 549w, https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2019\/12\/image-37-300x248.png 300w\" sizes=\"(max-width: 275px) 100vw, 275px\" \/><\/figure><\/div>\n\n\n\n<p style=\"color:#000000\" class=\"has-text-color\">Before understanding PN532 as a whole, let&#8217;s dive deeper into what NFC is truly about and how does it work?<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>What is NFC<\/strong><\/h3>\n\n\n\n<p style=\"color:#000000\" class=\"has-text-color\">NFC, in short for Near Field Communications is a technology standard based on Radio Frequency Identification (RFID), transmitting information wirelessly over short distances. Think of it as an authentication-free Bluetooth!<\/p>\n\n\n\n<figure class=\"wp-block-image is-resized\"><img decoding=\"async\" src=\"https:\/\/assets.website-files.com\/5aa16619a722600001c19c3b\/5b4650ffd7410a16a02b0e1f_img-formfactor.jpg\" alt=\"\" width=\"405\" height=\"208\"\/><figcaption>NFC Tags<\/figcaption><\/figure>\n\n\n\n<p style=\"color:#000000\" class=\"has-text-color\">Packed like a sticker, NFC tags may seem unimpressive but what goes into it made applications possible in places where other technologies couldn&#8217;t. <\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Types of NFC Devices<\/strong><\/h3>\n\n\n\n<p>There are two types of NFC devices; Active NFC, Passive NFC: <\/p>\n\n\n\n<style type=\"text\/css\">\n.tg  {border-collapse:collapse;border-spacing:0;}\n.tg td{font-family:Arial, sans-serif;font-size:14px;padding:10px 5px;border-style:solid;border-width:1px;overflow:hidden;word-break:normal;border-color:black;}\n.tg th{font-family:Arial, sans-serif;font-size:14px;font-weight:normal;padding:10px 5px;border-style:solid;border-width:1px;overflow:hidden;word-break:normal;border-color:black;}\n.tg .tg-cly1{text-align:left;vertical-align:middle}\n.tg .tg-wa1i{font-weight:bold;text-align:center;vertical-align:middle}\n.tg .tg-0lax{text-align:left;vertical-align:top}\n<\/style>\n<table class=\"tg\">\n  <tr>\n    <th class=\"tg-wa1i\">Active NFC<\/th>\n    <th class=\"tg-wa1i\">Passive NFC<\/th>\n  <\/tr>\n  <tr>\n    <td class=\"tg-cly1\">Has a power source<br>Collect and read information from NFC tags<\/td>\n    <td class=\"tg-cly1\">Has no power source, connects to active devices<br>Can only send data, do not read information itself<\/td>\n  <\/tr>\n  <tr>\n    <td class=\"tg-0lax\">Present in Smartphones; Apple, Andriod, etc.<\/td>\n    <td class=\"tg-0lax\">NFC tags, other small transmitters<\/td>\n  <\/tr>\n<\/table>\n\n\n\n<p><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Passive NFC Device Example: <a href=\"https:\/\/www.seeedstudio.com\/4-2inch-Passive-NFC-Powered-e-Paper-No-Battery-p-4384.html?utm_source=blog&amp;utm_medium=blog\">NFC Display <\/a><\/strong><\/h3>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/media-cdn.seeedstudio.com\/media\/catalog\/product\/cache\/ab187aaa5f626ad16c8031644cd2de5b\/d\/s\/dsc_1047.jpg\" alt=\"\" width=\"350\" height=\"263\"\/><\/figure><\/div>\n\n\n\n<p>To further understand passive NFC devices, let&#8217;s take a look at this 4.2inch NFC screen that&#8217;s powered without battery or cables! <\/p>\n\n\n\n<p class=\"has-text-color has-vivid-red-color\"><strong>How is it powered then?<\/strong><\/p>\n\n\n\n<p>As mention in the earlier comparison, passive NFC devices connect to active ones, and this screen is no exception. As long as you have a smartphone with NFC function, you can use it to control this screen and transmit images to it!<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/github.com\/SeeedDocument\/4.2inch-Passive-NFC-Powered-e-Paper-No-Battery\/raw\/master\/%E5%BA%8F%E5%88%97%20all%E5%88%A0%E9%99%A4%E9%83%A8%E5%88%86%E5%B8%A7.gif\" alt=\"\"\/><\/figure>\n\n\n\n<p><strong>No battery, no cables, no trouble, just passive NFC technology&nbsp;by&nbsp;swiping&nbsp;like&nbsp;a&nbsp;credit&nbsp;card!<\/strong><\/p>\n\n\n\n<p><strong>Interested to find out more about it? You can head to our<a href=\"https:\/\/www.seeedstudio.com\/4-2inch-Passive-NFC-Powered-e-Paper-No-Battery-p-4384.html?utm_source=blog&amp;utm_medium=blog\"> product page!<\/a><\/strong><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Main applications of NFC<\/strong><\/h3>\n\n\n\n<ul class=\"wp-block-list\"><li>Mobile payments; Apple Pay NFC, Google Wallet<\/li><li>Tap-to-Pair; Pairing Bluetooth devices just by tapping, instead of manual entering <\/li><li>Embedding digital experience in physical products; NFC&#8217;s small form factor allows for it to be embedded into physical products, enabling a unique experience when interacted <\/li><li>Security<\/li><li>Password replacement<\/li><li>Product Authentication<\/li><\/ul>\n\n\n\n<p>Want to find out more about the differences between NFC and RFID? Check out this <a href=\"https:\/\/www.bluebite.com\/nfc\/rfid-vs-nfc\">article<\/a>!<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>What is PN532<\/strong><\/h2>\n\n\n\n<p>Now that we&#8217;ve understood more about NFC and its applications, I&#8217;ll quickly introduce PN532 before moving on to an integrated module.<\/p>\n\n\n\n<p>PN532 is an NFC controller by NXP that&#8217;s based on the 80C51 microcontroller, allowing for contactless communication at 13.56 MHz. Furthermore, the support for MIFARE Classic 1K\/MIFARE Classic 4K card allows for higher transfer speeds up to 424 kbit\/s in both directions. <\/p>\n\n\n\n<p>Features:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>80C51 microcontroller core with 40 KB ROM and 1 KB RAM<\/li><li>Highly integrated demodulator and decoder<\/li><li>Integrated RF level detector<\/li><li>Supports ISO\/IEC 14443A\/MIFARE<\/li><li>Supports ISO\/IEC 14443B (Reader\/Writer mode only)<\/li><li>Up to 50mm of operating distance in Reader\/Writer mode for communication to ISO\/IEC 14443A\/MIFARE, ISO\/IEC 14443B or FeliCa cards <\/li><li>Up to 50mm of operating distance in NFCIP-1 depending on antenna size, tuning, and power supply <\/li><li>Approximately 100mm of operating distance in ISO\/IEC 14443A\/MIFARE or FeliCa card emulation mode<\/li><li>Possibility to communicate on the RF interface above 424 kbit\/s using external analog components<\/li><li>Dedicated host interrupts<\/li><li>Low power modes<ul><li>Hard-Power-Down mode   <\/li><li>Soft-Power-Down mode<\/li><\/ul><\/li><li>Programmable timers<\/li><li>Crystal oscillator<\/li><li>2.7 to 5.5 V power supply operating range<\/li><\/ul>\n\n\n\n<p>As the full list of PN532&#8217;s features may be exhaustive, I&#8217;ll only be highlighting the key ones. For the full list of features and benefits, you can check out <a href=\"https:\/\/www.nxp.com\/docs\/en\/nxp\/data-sheets\/PN532_C1.pdf\">PN532 datasheet<\/a>!<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>PN532 NFC Module: <a href=\"https:\/\/www.seeedstudio.com\/Grove-NFC.html?utm_source=blog&amp;utm_medium=blog\">Grove &#8211; NFC<\/a><\/strong><\/h2>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/media-cdn.seeedstudio.com\/media\/catalog\/product\/cache\/ab187aaa5f626ad16c8031644cd2de5b\/g\/r\/grove---nfc-back.jpg\" alt=\"\" width=\"350\" height=\"263\"\/><\/figure><\/div>\n\n\n\n<p>Now that we&#8217;ve talked about NFC and PN532, let&#8217;s put them together and take a look at a pn532 NFC module, unlike other breakout boards!<\/p>\n\n\n\n<p><strong>What&#8217;s good about the Grove &#8211; NFC PN532 Module?<\/strong><\/p>\n\n\n\n<p><strong>Flexibility<\/strong><\/p>\n\n\n\n<p>The PN532 allows for microcontroller pairing flexibility, with support for I2C, and UART interfaces. <\/p>\n\n\n\n<p><strong>Independent PCB antenna <\/strong><\/p>\n\n\n\n<p>What comes with this PN532 module is an independent PCB antenna that can easily stretch out of any enclosure you use, leaving more room for you to design the exterior of your project!<\/p>\n\n\n\n<p><strong>Specifications<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Working Voltage: 3.3V<\/li><li>Working Current: Static Mode: 73mA, Write\/Read Mode: 83mA<\/li><li>Support host interface: I2C, UART(default).<\/li><li>Serve for contactless communication at 13.56MHz.<\/li><li>Support ISO14443 Type A and Type B protocols.<\/li><li>Max operating distance for detecting NFC tags is 28mm depending on current antenna size.<\/li><li>Support P2P communication.<\/li><li>Dimensions: 25.43mm x 20.35mm<\/li><\/ul>\n\n\n\n<p><\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Looking for a <a href=\"https:\/\/www.seeedstudio.com\/NFC-Shield-V2-0.html?utm_source=blog&amp;utm_medium=blog\">PN532 NFC shield<\/a> instead? Not to worry, we provide just that!<\/strong><\/h4>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/raw.githubusercontent.com\/SeeedDocument\/NFC_Shield_V2.0\/master\/img\/NFC_front.png\" alt=\"\" width=\"358\" height=\"266\"\/><figcaption><a href=\"https:\/\/www.seeedstudio.com\/NFC-Shield-V2-0.html?utm_source=blog&amp;utm_medium=blog\">PN532 NFC Shield V2.0<\/a><\/figcaption><\/figure><\/div>\n\n\n\n<p>Built around the PN532 module, this NFC shield allows for a 5cm max effective range, with support for SPI interface, allowing you to stack it on your Arduino boards!<\/p>\n\n\n\n<p>Key Features include:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Use of the ICSP header for SPI. This means that the shield works with the following Arduino development boards: Uno, Mega, Leonardo<\/li><li>Wireless NFC communication at 13.56MHz<\/li><li>SPI protocol &#8211; pin saving interface that requires only 4 pins<\/li><li>Input Voltage: 5V from the Arduino&#8217;s 5V pin<\/li><li>Typical Current: 100mA<\/li><li>5cm max effective range<\/li><li>Supports P2P communication<\/li><li>Support ISO14443 Type A and Type B protocols<\/li><\/ul>\n\n\n\n<p>Note: This NFC shield can be used for Raspberry Pi as well, but you&#8217;ll need to modify the library<\/p>\n\n\n\n<p>Interested in finding out more on the NFC Shield? You can head to its <a href=\"http:\/\/wiki.seeedstudio.com\/NFC_Shield_V2.0\/\">product page<\/a> to find out more!<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">What about a <a href=\"https:\/\/www.seeedstudio.com\/PN532-NFC-HAT-for-Raspberry-Pi-Arduino-and-STM32-I2C-SPI-UART-p-4374.html?utm_source=blog&amp;utm_medium=blog\">PN532 NFC Hat for your Raspberry Pi,\u00a0Arduino\u00a0or\u00a0STM32<\/a> boards? We got you covered too!<\/h4>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/media-cdn.seeedstudio.com\/media\/catalog\/product\/cache\/ab187aaa5f626ad16c8031644cd2de5b\/d\/s\/dsc_0695-02.jpg\" alt=\"\" width=\"350\" height=\"263\"\/><figcaption>PN232 NFC Hat for Raspberry Pi, Arduino, STM32<\/figcaption><\/figure><\/div>\n\n\n\n<p>This is an NFC HAT based on PN532 operating in the 13.56MHz frequency range that not only supports Raspberry Pi with its GPIO pins, it easily works on host boards like STM32 and Arduino as well!<\/p>\n\n\n\n<p>Its features include:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Standard Raspberry Pi 40PIN GPIO extension header, supports Raspberry Pi series boards<\/li><li>Onboard PN532 chip, supports various NFC\/RFID cards like MIFARE\/NTAG2xx, etc.<\/li><li>Three interface options: I2C, SPI, and UART, configured via jumpers and switches<\/li><li>Breakout control pins, for easily connecting with host boards like STM32\/Arduino<\/li><li>Comes with development resources and manual (examples for Raspberry Python\/C, STM32, Arduino)<\/li><\/ul>\n\n\n\n<p> Interested in finding out more on the NFC Shield? You can head to its <a href=\"https:\/\/www.seeedstudio.com\/PN532-NFC-HAT-for-Raspberry-Pi-Arduino-and-STM32-I2C-SPI-UART-p-4374.html?utm_source=blog&amp;utm_medium=blog\">product page<\/a> to find out more! <\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Getting Started with PN532: Arduino Guide<\/strong><\/h2>\n\n\n\n<p>Before we begin with the Arduino Guide, do consider if you need interface changes into I2C. If needed, you should  cut the UART connection and solder the I2C pins as below:<\/p>\n\n\n\n<figure class=\"wp-block-image is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/github.com\/SeeedDocument\/Grove-NFC\/raw\/master\/img\/v1.1%20hardware%20connection.png\" alt=\"\" width=\"350\" height=\"164\"\/><\/figure>\n\n\n\n<p>Considered the above? Let&#8217;s get started now!<\/p>\n\n\n\n<p>This guide will utilize the Seeed Arduino NFC library, which supports:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Arduino Uno\/Seeeduino v4.2<\/li><li>Arduino Mega\/Seeeduino Mega<\/li><li>Arduino Zero\/Seeeduino Lorawan<\/li><li>Arduino Leonardo\/Seeeduino Lite<\/li><\/ul>\n\n\n\n<p><em>*Seeeduino is Seeed&#8217;s very own Arduino, built with benefits over the regular Arduino boards<\/em><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>First tutorial: Play with Seeeduino Lite (UART) <\/strong><\/h3>\n\n\n\n<h4 class=\"wp-block-heading\">What do you need?<\/h4>\n\n\n\n<ul class=\"wp-block-gallery columns-4 is-cropped wp-block-gallery-1 is-layout-flex wp-block-gallery-is-layout-flex\"><li class=\"blocks-gallery-item\"><figure><img loading=\"lazy\" decoding=\"async\" width=\"700\" height=\"525\" src=\"https:\/\/blog.seeedstudio.com\/wp-content\/uploads\/2019\/12\/seeeduino-lite.jpg\" alt=\"\" data-id=\"27723\" class=\"wp-image-27723\" srcset=\"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2019\/12\/seeeduino-lite.jpg 700w, https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2019\/12\/seeeduino-lite-300x225.jpg 300w\" sizes=\"(max-width: 700px) 100vw, 700px\" \/><figcaption><a href=\"https:\/\/www.seeedstudio.com\/Seeeduino-Lite.html?utm_source=blog&amp;utm_medium=blog\">Seeduino Lite<\/a><\/figcaption><\/figure><\/li><li class=\"blocks-gallery-item\"><figure><img loading=\"lazy\" decoding=\"async\" width=\"210\" height=\"157\" src=\"https:\/\/blog.seeedstudio.com\/wp-content\/uploads\/2019\/12\/base-shield-1.jpg\" alt=\"\" data-id=\"27724\" data-link=\"\/blog\/?attachment_id=27724\" class=\"wp-image-27724\"\/><figcaption><a href=\"https:\/\/www.seeedstudio.com\/Base-Shield-V2-p-1378.html?utm_source=blog&amp;utm_medium=blog\">Base Shield<\/a><\/figcaption><\/figure><\/li><li class=\"blocks-gallery-item\"><figure><img loading=\"lazy\" decoding=\"async\" width=\"700\" height=\"525\" src=\"https:\/\/blog.seeedstudio.com\/wp-content\/uploads\/2019\/12\/PN532-nfc.jpg\" alt=\"\" data-id=\"27725\" data-link=\"\/blog\/?attachment_id=27725\" class=\"wp-image-27725\" srcset=\"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2019\/12\/PN532-nfc.jpg 700w, https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2019\/12\/PN532-nfc-300x225.jpg 300w\" sizes=\"(max-width: 700px) 100vw, 700px\" \/><figcaption><a href=\"https:\/\/www.seeedstudio.com\/Grove-NFC-p-1804.html?utm_source=blog&amp;utm_medium=blog\">Grove &#8211; NFC<\/a><\/figcaption><\/figure><\/li><li class=\"blocks-gallery-item\"><figure><img loading=\"lazy\" decoding=\"async\" width=\"210\" height=\"151\" src=\"https:\/\/blog.seeedstudio.com\/wp-content\/uploads\/2019\/12\/NFC-tags.jpg\" alt=\"\" data-id=\"27726\" data-link=\"\/blog\/?attachment_id=27726\" class=\"wp-image-27726\"\/><figcaption>NFC Tags<\/figcaption><\/figure><\/li><\/ul>\n\n\n\n<p>Note: Do prepare NFC Tags yourself<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Hardware configurations<\/strong><\/h4>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>Step 1:<\/strong> Connect Grove &#8211; NFC to port UART of Grove-Base Shield<\/li><li><strong>Step 2:<\/strong> Plug Grove &#8211; Base Shield into Seeeduino Lite<\/li><li><strong>Step 3:<\/strong> Connect Seeeduino Lite to PC via a USB cable<\/li><\/ul>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Software configurations<\/strong><\/h4>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>Step 1:<\/strong> Download Seeed Arduino NFC Library<\/li><li><strong>Step 2:<\/strong> Refer to How to install library to install Seeed Arduino NFC library for Arduino<\/li><li><strong>Step 3:<\/strong> Download PN532 Library and put it under <strong>C:\\Program Files (x86)\\Arduino\\libraries\\Seeed_Arduino_NFC-master\\src<\/strong>. <\/li><li><strong>Step 4:<\/strong> Open &#8220;ReadTag&#8221; code via the path:  <\/li><li><strong>File \u2192 Examples \u2192 ReadTag<\/strong>. <\/li><li><strong>Step 5:<\/strong> Modify the code as below to enable UART communication<\/li><\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>#if 0 \/\/ use SPI\n#include &lt;SPI.h>\n#include &lt;PN532\/PN532_SPI\/PN532_SPI.h>\nPN532_SPI pn532spi(SPI, 9);\nNfcAdapter nfc = NfcAdapter(pn532spi);\n#elif 1 \/\/ use hardware serial\n\n#include &lt;PN532\/PN532_HSU\/PN532_HSU.h>\nPN532_HSU pn532hsu(Serial1);\nNfcAdapter nfc(pn532hsu);\n#elif 0  \/\/ use software serial\n\n#include &lt;PN532\/PN532_SWHSU\/PN532_SWHSU.h>\n#include \"SoftwareSerial.h\"\nSoftwareSerial SWSerial(2, 3);\nPN532_SWHSU pn532swhsu(SWSerial);\nNfcAdapter nfc(pn532swhsu);\n#else \/\/use I2C\n\n#include &lt;Wire.h>\n#include &lt;PN532\/PN532_I2C\/PN532_I2C.h>\n\nPN532_I2C pn532_i2c(Wire);\nNfcAdapter nfc = NfcAdapter(pn532_i2c);\n#endif<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>Step 7:<\/strong> Upload the code. If you&#8217;re unsure on how to do so, please check How to upload the code<\/li><\/ul>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>Step 8:<\/strong> Open the Serial Monitor of Arduino IDE by clicking <strong>Tool-&gt; Serial Monitor.&nbsp;Or&nbsp;tap&nbsp;the&nbsp;Ctrl+Shift+M&nbsp;key&nbsp;at&nbsp;the&nbsp;same&nbsp;time.&nbsp;Set&nbsp;the&nbsp;Baud&nbsp;Rate&nbsp;at&nbsp;9600<\/strong><\/li><\/ul>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>Step 9:<\/strong> Use the Grove &#8211; NFC to get close to an NFC Tag. If everything goes well, you will get the NFC Tage Information in the Serial Monitor.<\/li><\/ul>\n\n\n\n<p><strong>Note: <\/strong><\/p>\n\n\n\n<p class=\"has-background has-very-light-gray-background-color\">For connection to Arduino Mega UART ports, you can change the PN532_HSU pn532hsu (Serial 1) to PN532_HSU pn532hsu (Serial X)<\/p>\n\n\n\n<p class=\"has-background has-very-light-gray-background-color\">For the connection of Grove-NFC sensors to Arduino Uno, you can use the software serial. Do follow below to configure <a href=\"https:\/\/www.arduino.cc\/en\/Reference\/softwareSerial\">software serial.<\/a> <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>#if 0 \/\/ use SPI\n#include &lt;SPI.h>\n#include &lt;PN532\/PN532_SPI\/PN532_SPI.h>\nPN532_SPI pn532spi(SPI, 9);\nNfcAdapter nfc = NfcAdapter(pn532spi);\n#elif 0 \/\/ use hardware serial\n\n#include &lt;PN532\/PN532_HSU\/PN532_HSU.h>\nPN532_HSU pn532hsu(Serial1);\nNfcAdapter nfc(pn532hsu);\n#elif 1  \/\/ use software serial\n\n#include &lt;PN532\/PN532_SWHSU\/PN532_SWHSU.h>\n#include \"SoftwareSerial.h\"\nSoftwareSerial SWSerial(2, 3);\nPN532_SWHSU pn532swhsu(SWSerial);\nNfcAdapter nfc(pn532swhsu);\n#else \/\/use I2C\n\n#include &lt;Wire.h>\n#include &lt;PN532\/PN532_I2C\/PN532_I2C.h>\n\nPN532_I2C pn532_i2c(Wire);\nNfcAdapter nfc = NfcAdapter(pn532_i2c);\n#endif<\/code><\/pre>\n\n\n\n<p><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Second tutorial: Play with Seeeduino V4.2 (I2C)<\/strong><\/h3>\n\n\n\n<p>You can connect the PN532 with Seeduino V4.2, an Arduino Uno alternative <\/p>\n\n\n\n<ul class=\"wp-block-gallery columns-4 is-cropped wp-block-gallery-2 is-layout-flex wp-block-gallery-is-layout-flex\"><li class=\"blocks-gallery-item\"><figure><img loading=\"lazy\" decoding=\"async\" width=\"210\" height=\"157\" src=\"https:\/\/blog.seeedstudio.com\/wp-content\/uploads\/2019\/12\/seeeduino-v4.2.jpg\" alt=\"\" data-id=\"27727\" data-link=\"\/blog\/?attachment_id=27727\" class=\"wp-image-27727\"\/><figcaption><a href=\"http:\/\/www.seeedstudio.com\/Seeeduino-V4.2-p-2517.html?utm_source=blog&amp;utm_medium=blog\">Seeeduino V4.2<\/a><\/figcaption><\/figure><\/li><li class=\"blocks-gallery-item\"><figure><img loading=\"lazy\" decoding=\"async\" width=\"210\" height=\"157\" src=\"https:\/\/blog.seeedstudio.com\/wp-content\/uploads\/2019\/12\/base-shield-2.jpg\" alt=\"\" data-id=\"27728\" data-link=\"\/blog\/?attachment_id=27728\" class=\"wp-image-27728\"\/><figcaption><a href=\"https:\/\/www.seeedstudio.com\/Base-Shield-V2-p-1378.html?utm_source=blog&amp;utm_medium=blog\">Base Shield <\/a><\/figcaption><\/figure><\/li><li class=\"blocks-gallery-item\"><figure><img loading=\"lazy\" decoding=\"async\" width=\"700\" height=\"525\" src=\"https:\/\/blog.seeedstudio.com\/wp-content\/uploads\/2019\/12\/PN532-nfc-1.jpg\" alt=\"\" data-id=\"27729\" data-link=\"\/blog\/?attachment_id=27729\" class=\"wp-image-27729\" srcset=\"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2019\/12\/PN532-nfc-1.jpg 700w, https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2019\/12\/PN532-nfc-1-300x225.jpg 300w\" sizes=\"(max-width: 700px) 100vw, 700px\" \/><figcaption><a href=\"https:\/\/www.seeedstudio.com\/Grove-NFC-p-1804.html?utm_source=blog&amp;utm_medium=blog\">Grove &#8211; NFC<\/a><\/figcaption><\/figure><\/li><li class=\"blocks-gallery-item\"><figure><img loading=\"lazy\" decoding=\"async\" width=\"210\" height=\"151\" src=\"https:\/\/blog.seeedstudio.com\/wp-content\/uploads\/2019\/12\/NFC-tags-1.jpg\" alt=\"\" data-id=\"27730\" data-link=\"\/blog\/?attachment_id=27730\" class=\"wp-image-27730\"\/><figcaption>NFC Tags<\/figcaption><\/figure><\/li><\/ul>\n\n\n\n<p class=\"has-background has-very-light-gray-background-color\">Note: Do choose 13.5MHz, ISO14443 NFC Tags, if not the Grove-NFC module may not read the tag<\/p>\n\n\n\n<p class=\"has-background has-very-light-gray-background-color\">For this demo, it works without the base shield since the Seeeduino V4.2 has an onboard Grove I2C connector<\/p>\n\n\n\n<p style=\"font-size:18px\" class=\"has-text-color has-vivid-red-color\"><strong>Let&#8217;s get started!<\/strong><\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Hardware configurations:<\/strong><\/h4>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>Step 1.<\/strong>&nbsp;Connect Grove &#8211; NFC to port&nbsp;<strong>I2C<\/strong>&nbsp;of Grove-Base Shield. Please make sure you follow hardware overview to change the default UART setting to I2C.<\/li><li><strong>Step 2.<\/strong>&nbsp;Plug Grove &#8211; Base Shield into Seeeduino V4.2.<\/li><li><strong>Step 3.<\/strong>&nbsp;Connect Seeeduino V4.2 to PC via a USB cable<\/li><\/ul>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Software configurations:<\/strong><\/h4>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>Step 1.<\/strong>&nbsp;Download&nbsp;<a href=\"https:\/\/github.com\/Seeed-Studio\/Seeed_Arduino_NFC\">Seeed Arduino NFC Library<\/a>.<\/li><li><strong>Step 2.<\/strong>&nbsp;Refer to&nbsp;<a href=\"http:\/\/wiki.seeedstudio.com\/How_to_install_Arduino_Library\">How to install library<\/a>&nbsp;to install&nbsp;<strong>Seeed Arduino NFC<\/strong>&nbsp;library for Arduino.<\/li><li><strong>Step 3.<\/strong>&nbsp;Download&nbsp;<a href=\"https:\/\/github.com\/Seeed-Studio\/PN532\">PN532 Library<\/a>&nbsp;and put it under&nbsp;<strong>C:\\Program Files (x86)\\Arduino\\libraries\\Seeed_Arduino_NFC-master\\src<\/strong>.<\/li><li><strong>Step 4.<\/strong>&nbsp;Open \u201cReadTag\u201d code via the path:&nbsp;<strong>File \u2192 Examples \u2192 ReadTag<\/strong>.<\/li><li><strong>Step 5.<\/strong>&nbsp;Modify the code as below to enable I2C communication.<\/li><\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>#if 0 \/\/ use SPI\n#include &lt;SPI.h>\n#include &lt;PN532\/PN532_SPI\/PN532_SPI.h>\nPN532_SPI pn532spi(SPI, 9);\nNfcAdapter nfc = NfcAdapter(pn532spi);\n#elif 0 \/\/ use hardware serial\n\n#include &lt;PN532\/PN532_HSU\/PN532_HSU.h>\nPN532_HSU pn532hsu(Serial1);\nNfcAdapter nfc(pn532hsu);\n#elif 0  \/\/ use software serial\n\n#include &lt;PN532\/PN532_SWHSU\/PN532_SWHSU.h>\n#include \"SoftwareSerial.h\"\nSoftwareSerial SWSerial(2, 3);\nPN532_SWHSU pn532swhsu(SWSerial);\nNfcAdapter nfc(pn532swhsu);\n#else \/\/use I2C\n\n#include &lt;Wire.h>\n#include &lt;PN532\/PN532_I2C\/PN532_I2C.h>\n\nPN532_I2C pn532_i2c(Wire);\nNfcAdapter nfc = NfcAdapter(pn532_i2c);\n#endif<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>Step 6:<\/strong> Upload the code. If you&#8217;re unsure on how, please check How to upload code<\/li><li><strong>Step 7:<\/strong> Open the Serial Monitor of Arduino IDE by click <strong>Tool-&gt; Serial Monitor.&nbsp;Or&nbsp;tap&nbsp;the&nbsp;Ctrl&nbsp;+ Shift+ M&nbsp;key&nbsp;at&nbsp;the&nbsp;same&nbsp;time.&nbsp;Set&nbsp;the&nbsp;baud&nbsp;rate&nbsp;9600<\/strong><\/li><li><strong>Step 8:<\/strong> Use the Grove &#8211; NFC to get close to an NFC Tag. If everything goes well, you will get the NFC Tag information in the Serial Monitor<\/li><\/ul>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Getting Started with Grove NFC (PN532): Projects<\/strong><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Particle Photon + Grove NFC + Grove LCD via I2C<\/strong><\/h3>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/hackster.imgix.net\/uploads\/attachments\/392063\/img_0578_AXStAZD0tH.jpg?auto=compress%2Cformat&amp;w=900&amp;h=675&amp;fit=min\" alt=\"\" width=\"225\" height=\"169\"\/><\/figure><\/div>\n\n\n\n<p>With most of the tutorials on Photon and NFC using SPI and RC522 Modules, this tutorial helps you read out the UID of an NFC card!<\/p>\n\n\n\n<p><strong>What do you need?<\/strong><\/p>\n\n\n\n<p><strong>Hardware components<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><a href=\"https:\/\/www.seeedstudio.com\/Particle-Photon-SMALL-AND-POWERFUL-WI-FI-CONNECTED-MICROCONTROLLER-p-2527.html?utm_source=blog&amp;utm_medium=blog\">Particle Photon<\/a><\/li><li><a href=\"https:\/\/www.seeedstudio.com\/Grove-NFC-p-1804.html?utm_source=blog&amp;utm_medium=blog\">Seeed Grove NFC<\/a><\/li><li><a href=\"https:\/\/www.seeedstudio.com\/Grove-LCD-RGB-Backlight.html?utm_source=blog&amp;utm_medium=blog\">Seeed Grove LCD<\/a><\/li><\/ul>\n\n\n\n<p>Interested? Check out the <a href=\"https:\/\/www.hackster.io\/peacemoon\/particle-photon-grove-nfc-grove-lcd-via-i2c-7e7d36\">full tutorial by An Tran<\/a> on hackster.io! <\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Resources and Going Further<\/strong><\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>[Zip]<\/strong>&nbsp;<a href=\"https:\/\/raw.githubusercontent.com\/SeeedDocument\/Grove-NFC\/master\/res\/Grove-NFC.zip\">Grove &#8211; NFC v1.0 EAGLE (schematic and board) files<\/a><\/li><li><strong>[Zip]<\/strong>&nbsp;<a href=\"https:\/\/raw.githubusercontent.com\/SeeedDocument\/Grove-NFC\/master\/res\/Grove-NFC_v1.1.zip\">Grove &#8211; NFC v1.1 EAGLE (schematic and board) files<\/a><\/li><li><strong>[PDF]<\/strong>&nbsp;<a href=\"https:\/\/raw.githubusercontent.com\/SeeedDocument\/Grove-NFC\/master\/res\/PN532.pdf\">PN532 Datasheet PDF<\/a><\/li><li><strong>[Library]<\/strong>&nbsp;<a href=\"https:\/\/github.com\/Seeed-Studio\/Seeed_Arduino_NFC\">Seeed Arduino NFC Library<\/a><\/li><li><strong>[Library]<\/strong>&nbsp;<a href=\"https:\/\/github.com\/Seeed-Studio\/PN532\">PN532 Library<\/a><\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Summary <\/strong><\/h2>\n\n\n\n<p>That&#8217;s all for today&#8217;s blog. I hope you learnt more about NFC and PN532.<\/p>\n\n\n\n<p>Overall, with the rise of NFC technology in recent years and the countless possibilities for using NFC and RFID, start building your own project ideas today!<\/p>\n\n\n\n<p>Do consider the products covered in today&#8217;s blog to help you get started:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><a href=\"https:\/\/www.seeedstudio.com\/Grove-NFC.html\">Grove &#8211; NFC<\/a> built around PN532 module<\/li><li><a href=\"https:\/\/www.seeedstudio.com\/NFC-Shield-V2-0.html\">NFC Shield V2.0<\/a> <\/li><li><a href=\"https:\/\/www.seeedstudio.com\/4-2inch-Passive-NFC-Powered-e-Paper-No-Battery-p-4384.html\">4.2 inch Passive NFC E-paper screen<\/a><\/li><\/ul>\n","protected":false},"excerpt":{"rendered":"<p>PN532 is an NFC RFID module, popular in enabling your mobile payment, Arduino NFC capabilities,<\/p>\n","protected":false},"author":2850,"featured_media":27745,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_lmt_disableupdate":"","_lmt_disable":"","_price":"","_stock":"","_tribe_ticket_header":"","_tribe_default_ticket_provider":"","_tribe_ticket_capacity":"0","_ticket_start_date":"","_ticket_end_date":"","_tribe_ticket_show_description":"","_tribe_ticket_show_not_going":false,"_tribe_ticket_use_global_stock":"","_tribe_ticket_global_stock_level":"","_global_stock_mode":"","_global_stock_cap":"","_tribe_rsvp_for_event":"","_tribe_ticket_going_count":"","_tribe_ticket_not_going_count":"","_tribe_tickets_list":"[]","_tribe_ticket_has_attendee_info_fields":false,"iawp_total_views":0,"footnotes":""},"categories":[1],"tags":[215,2321,2266,2267,28],"class_list":["post-27717","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-news","tag-nfc","tag-nfc-hat","tag-pn532","tag-pn532-arduino","tag-rfid"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.0 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Introducing PN532 NFC RFID with Arduino Guide - Latest News from Seeed Studio<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.seeedstudio.com\/blog\/2019\/12\/09\/introducing-pn532-nfc-rfid-with-arduino-guide\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Introducing PN532 NFC RFID with Arduino Guide - Latest News from Seeed Studio\" \/>\n<meta property=\"og:description\" content=\"PN532 is an NFC RFID module, popular in enabling your mobile payment, Arduino NFC capabilities,\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.seeedstudio.com\/blog\/2019\/12\/09\/introducing-pn532-nfc-rfid-with-arduino-guide\/\" \/>\n<meta property=\"og:site_name\" content=\"Latest News from Seeed Studio\" \/>\n<meta property=\"article:published_time\" content=\"2019-12-09T03:34:34+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2019-12-11T03:47:53+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2019\/12\/PN532-NFC-Arduino.png\" \/>\n\t<meta property=\"og:image:width\" content=\"607\" \/>\n\t<meta property=\"og:image:height\" content=\"360\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Shawn\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Shawn\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"11 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.seeedstudio.com\/blog\/2019\/12\/09\/introducing-pn532-nfc-rfid-with-arduino-guide\/\",\"url\":\"https:\/\/www.seeedstudio.com\/blog\/2019\/12\/09\/introducing-pn532-nfc-rfid-with-arduino-guide\/\",\"name\":\"Introducing PN532 NFC RFID with Arduino Guide - Latest News from Seeed Studio\",\"isPartOf\":{\"@id\":\"https:\/\/www.seeedstudio.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.seeedstudio.com\/blog\/2019\/12\/09\/introducing-pn532-nfc-rfid-with-arduino-guide\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.seeedstudio.com\/blog\/2019\/12\/09\/introducing-pn532-nfc-rfid-with-arduino-guide\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2019\/12\/PN532-NFC-Arduino.png\",\"datePublished\":\"2019-12-09T03:34:34+00:00\",\"dateModified\":\"2019-12-11T03:47:53+00:00\",\"author\":{\"@id\":\"https:\/\/www.seeedstudio.com\/blog\/#\/schema\/person\/c9b61b761840d544e2d830b0e3bc9fe2\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.seeedstudio.com\/blog\/2019\/12\/09\/introducing-pn532-nfc-rfid-with-arduino-guide\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.seeedstudio.com\/blog\/2019\/12\/09\/introducing-pn532-nfc-rfid-with-arduino-guide\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.seeedstudio.com\/blog\/2019\/12\/09\/introducing-pn532-nfc-rfid-with-arduino-guide\/#primaryimage\",\"url\":\"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2019\/12\/PN532-NFC-Arduino.png\",\"contentUrl\":\"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2019\/12\/PN532-NFC-Arduino.png\",\"width\":607,\"height\":360,\"caption\":\"Introducing PN532 NFC RFID with Arduino Guide\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.seeedstudio.com\/blog\/2019\/12\/09\/introducing-pn532-nfc-rfid-with-arduino-guide\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.seeedstudio.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Introducing PN532 NFC RFID with Arduino Guide\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.seeedstudio.com\/blog\/#website\",\"url\":\"https:\/\/www.seeedstudio.com\/blog\/\",\"name\":\"Latest News from Seeed Studio\",\"description\":\"Emerging IoT, AI and Autonomous Applications on the Edge\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.seeedstudio.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.seeedstudio.com\/blog\/#\/schema\/person\/c9b61b761840d544e2d830b0e3bc9fe2\",\"name\":\"Shawn\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.seeedstudio.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/5afdc71205d9d485de69bc4b192294e3?s=96&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/5afdc71205d9d485de69bc4b192294e3?s=96&r=g\",\"caption\":\"Shawn\"},\"url\":\"https:\/\/www.seeedstudio.com\/blog\/author\/shawn\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Introducing PN532 NFC RFID with Arduino Guide - Latest News from Seeed Studio","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.seeedstudio.com\/blog\/2019\/12\/09\/introducing-pn532-nfc-rfid-with-arduino-guide\/","og_locale":"en_US","og_type":"article","og_title":"Introducing PN532 NFC RFID with Arduino Guide - Latest News from Seeed Studio","og_description":"PN532 is an NFC RFID module, popular in enabling your mobile payment, Arduino NFC capabilities,","og_url":"https:\/\/www.seeedstudio.com\/blog\/2019\/12\/09\/introducing-pn532-nfc-rfid-with-arduino-guide\/","og_site_name":"Latest News from Seeed Studio","article_published_time":"2019-12-09T03:34:34+00:00","article_modified_time":"2019-12-11T03:47:53+00:00","og_image":[{"width":607,"height":360,"url":"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2019\/12\/PN532-NFC-Arduino.png","type":"image\/png"}],"author":"Shawn","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Shawn","Est. reading time":"11 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.seeedstudio.com\/blog\/2019\/12\/09\/introducing-pn532-nfc-rfid-with-arduino-guide\/","url":"https:\/\/www.seeedstudio.com\/blog\/2019\/12\/09\/introducing-pn532-nfc-rfid-with-arduino-guide\/","name":"Introducing PN532 NFC RFID with Arduino Guide - Latest News from Seeed Studio","isPartOf":{"@id":"https:\/\/www.seeedstudio.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.seeedstudio.com\/blog\/2019\/12\/09\/introducing-pn532-nfc-rfid-with-arduino-guide\/#primaryimage"},"image":{"@id":"https:\/\/www.seeedstudio.com\/blog\/2019\/12\/09\/introducing-pn532-nfc-rfid-with-arduino-guide\/#primaryimage"},"thumbnailUrl":"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2019\/12\/PN532-NFC-Arduino.png","datePublished":"2019-12-09T03:34:34+00:00","dateModified":"2019-12-11T03:47:53+00:00","author":{"@id":"https:\/\/www.seeedstudio.com\/blog\/#\/schema\/person\/c9b61b761840d544e2d830b0e3bc9fe2"},"breadcrumb":{"@id":"https:\/\/www.seeedstudio.com\/blog\/2019\/12\/09\/introducing-pn532-nfc-rfid-with-arduino-guide\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.seeedstudio.com\/blog\/2019\/12\/09\/introducing-pn532-nfc-rfid-with-arduino-guide\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.seeedstudio.com\/blog\/2019\/12\/09\/introducing-pn532-nfc-rfid-with-arduino-guide\/#primaryimage","url":"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2019\/12\/PN532-NFC-Arduino.png","contentUrl":"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2019\/12\/PN532-NFC-Arduino.png","width":607,"height":360,"caption":"Introducing PN532 NFC RFID with Arduino Guide"},{"@type":"BreadcrumbList","@id":"https:\/\/www.seeedstudio.com\/blog\/2019\/12\/09\/introducing-pn532-nfc-rfid-with-arduino-guide\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.seeedstudio.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Introducing PN532 NFC RFID with Arduino Guide"}]},{"@type":"WebSite","@id":"https:\/\/www.seeedstudio.com\/blog\/#website","url":"https:\/\/www.seeedstudio.com\/blog\/","name":"Latest News from Seeed Studio","description":"Emerging IoT, AI and Autonomous Applications on the Edge","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.seeedstudio.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.seeedstudio.com\/blog\/#\/schema\/person\/c9b61b761840d544e2d830b0e3bc9fe2","name":"Shawn","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.seeedstudio.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/5afdc71205d9d485de69bc4b192294e3?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/5afdc71205d9d485de69bc4b192294e3?s=96&r=g","caption":"Shawn"},"url":"https:\/\/www.seeedstudio.com\/blog\/author\/shawn\/"}]}},"modified_by":"Shawn","views":52391,"featured_image_urls":{"full":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2019\/12\/PN532-NFC-Arduino.png",607,360,false],"thumbnail":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2019\/12\/PN532-NFC-Arduino-80x80.png",80,80,true],"medium":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2019\/12\/PN532-NFC-Arduino-300x178.png",300,178,true],"medium_large":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2019\/12\/PN532-NFC-Arduino.png",607,360,false],"large":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2019\/12\/PN532-NFC-Arduino.png",607,360,false],"1536x1536":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2019\/12\/PN532-NFC-Arduino.png",607,360,false],"2048x2048":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2019\/12\/PN532-NFC-Arduino.png",607,360,false],"visody_icon":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2019\/12\/PN532-NFC-Arduino.png",32,19,false],"magazine-7-slider-full":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2019\/12\/PN532-NFC-Arduino.png",607,360,false],"magazine-7-slider-center":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2019\/12\/PN532-NFC-Arduino.png",607,360,false],"magazine-7-featured":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2019\/12\/PN532-NFC-Arduino.png",607,360,false],"magazine-7-medium":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2019\/12\/PN532-NFC-Arduino.png",607,360,false],"magazine-7-medium-square":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2019\/12\/PN532-NFC-Arduino.png",607,360,false]},"author_info":{"display_name":"Shawn","author_link":"https:\/\/www.seeedstudio.com\/blog\/author\/shawn\/"},"category_info":"<a href=\"https:\/\/www.seeedstudio.com\/blog\/category\/news\/\" rel=\"category tag\">News<\/a>","tag_info":"News","comment_count":"0","_links":{"self":[{"href":"https:\/\/www.seeedstudio.com\/blog\/wp-json\/wp\/v2\/posts\/27717","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.seeedstudio.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.seeedstudio.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.seeedstudio.com\/blog\/wp-json\/wp\/v2\/users\/2850"}],"replies":[{"embeddable":true,"href":"https:\/\/www.seeedstudio.com\/blog\/wp-json\/wp\/v2\/comments?post=27717"}],"version-history":[{"count":3,"href":"https:\/\/www.seeedstudio.com\/blog\/wp-json\/wp\/v2\/posts\/27717\/revisions"}],"predecessor-version":[{"id":27853,"href":"https:\/\/www.seeedstudio.com\/blog\/wp-json\/wp\/v2\/posts\/27717\/revisions\/27853"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.seeedstudio.com\/blog\/wp-json\/wp\/v2\/media\/27745"}],"wp:attachment":[{"href":"https:\/\/www.seeedstudio.com\/blog\/wp-json\/wp\/v2\/media?parent=27717"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.seeedstudio.com\/blog\/wp-json\/wp\/v2\/categories?post=27717"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.seeedstudio.com\/blog\/wp-json\/wp\/v2\/tags?post=27717"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}