element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Personal Blogs
  • Community Hub
  • More
Personal Blogs
Legacy Personal Blogs GuardPost - Azure Sphere NFC RFID Reader/Writer
  • Blog
  • Documents
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: mfetting
  • Date Created: 31 Jul 2019 4:20 PM Date Created
  • Views 1135 views
  • Likes 7 likes
  • Comments 7 comments
  • azure sphere kit
  • azurespherech
  • azure sphere
  • azure sphere mt3620 starter kit
  • azuresphkt
Related
Recommended

GuardPost - Azure Sphere NFC RFID Reader/Writer

mfetting
mfetting
31 Jul 2019

Utilizing the SunFounder PN532 NFC RFID Module Kit to control physical access to a building. The Azure Sphere supports universal asynchronous receiver-transmitter (UART) for serial communication. The UART provides the ability to send and receive data over a serial port to a peripheral device. The SunFounder peripheral was selected to show utilization of low cost RFC/RFID sensor (less than $12.00 US).

 

The NFC tag is a passive data stores which can be read by the PN532 device.  The PN532 may also write to a writable NFC/RFID tag.

 

This will be an opportunity to explore the library requirements for interfacing this peripheral to the Avnet Azure Sphere MT3620 Starter Kit.

image

 

image

The SunFounder PN532 features:

  • Supports I2C, SPI and HSU (High-Speed UART), mode is selected by switch position (SEL1, SEL2).
  • Integratation of 3.3V voltage regulator providing a choice of 3.3V or 5V
  • Published distance for reading RFID is 3 cm / 1 in

 

According to the vendors documentation the UART and I2C modes share the same port.

 

PN532MT3620
5V5V
GNDGND
SDASDA
SCLSCL

 

My original thoughts were to use the UART Pmod, but after reading the documentation for the PN532, I want to explore the possibility of utilizing the grove connection.  The diagram of the connection of the UNO board shows SDA connecting to TxD and SCL connecting RxD.

 

Action Plan:

 

1. Verify the PN532 works using I2C with Raspberry PI / UNO using vendor provided documentation.

2. Explore the existing libraries for I2C/UART for use with the PN532.

3. Code application to output to Visual Studio

4. Setup up IoT Hub on Azure

5. Code application to post activity to IoT Hub

 

 

For more information, please refer to the vendor's WIKI: http://wiki.sunfounder.cc/index.php?title=PN532_NFC_RFID_Module

  • Sign in to reply

Top Comments

  • mfetting
    mfetting over 6 years ago +1
    Worked on OLED connection last night using the Avnet Azure Sphere Starter-Kit: Advanced Tutorial. Ran into some issues, likely missed a step somewhere, but I am close. The OLED did come up and I could…
  • mfetting
    mfetting over 6 years ago +1
    I will be testing the PN532 NFC/RFID using the address: 0x48
  • mfetting
    mfetting over 6 years ago +1
    I believe the comments by peterfenn on the Problem Adding Additional I2C Slaves to Azure Sphere post by Sean_Miller will be helpful as I work through the connectivity issues with the PN532.
  • Fred27
    Fred27 over 6 years ago in reply to yokonav

    The library itself wasn't too bad. I mostly had issues around the I2C implementation on both sides.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • yokonav
    yokonav over 6 years ago in reply to Fred27

    How difficult was to port Mikroe library for PN7120?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • Fred27
    Fred27 over 6 years ago in reply to yokonav

    I've had success with the PN7120-based NFC click board. I've not tried the PN532.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • yokonav
    yokonav over 6 years ago in reply to mfetting

    Have you got success with PN532?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • mfetting
    mfetting over 6 years ago

    I believe the comments by peterfenn on the Problem Adding Additional I2C Slaves to Azure Sphere  post by Sean_Miller will be helpful as I work through the connectivity issues with the PN532.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
>
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube