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
Project14
  • Challenges & Projects
  • More
Project14
Blog What Can You Do w/ NFC?
  • Blog
  • Forum
  • Documents
  • Theme Suggestions
  • Polls
  • Members
  • More
  • Cancel
  • New
Join Project14 to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: samreen.islam
  • Date Created: 25 Sep 2019 10:25 PM Date Created
  • Views 809 views
  • Likes 3 likes
  • Comments 0 comments
  • hardware development
  • hardware
  • nfc ndef
  • nfc
  • development board
  • matrix creator
Related
Recommended

What Can You Do w/ NFC?

samreen.islam
samreen.islam
25 Sep 2019

The past few weeks at the MATRIX Labs office have been anticipatory indeed.

 

Our team member, Boris, made a beautiful C++ abstraction of the NXP NFC library for the PN512 chip on the MATRIX Creator and every time we saw the MATRIX Creator's LEDs light up because of a tap from a plastic NFC tag, our hearts jumped a little. You might think it's not that exciting, but the sight of LEDs still mesmerize me, especially when I'm unaware of the magic driving them.

 

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

 

Learning the magic is super easy though, you would just have to follow the directions on our documentation and it will lead you right to it. Learning about all those different types of tags and how they interact with the NFC chip, I felt like a niche hardware enthusiast.

 

The excitement continued on through our team member, Carlos (hermitter), who then took the reigns and began to work on his JavaScript abstraction. Very soon, it became possible to create NFC mojo with fewer spells. See for yourself here.

 

The video below shows how simple the code can look for reading an NFC tag. Here's a more updated version of that code so you can see how easy the syntax really is.

 

const nfc = require("@matrix-io/matrix-lite-nfc");

nfc.read.start({rate:100, info:true}, (code, tag)=>{
  if (code === 256){
  console.log("Tag Was Scanned");
  console.log(tag);
  }

  else if (code === 1024)
  console.log("Nothing Was Scanned");
});

 

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

 

With JavaScript in the game, we all began to dream up how we would incorporate NFC into our own projects. We thought of having NFC business cards, NFC automated processes, NFC triggered curtain blinds.

 

We first got to put our NFC imagination to test when we attended a local Miami hackathon, ShellHacks 2019. Carlos got NFC stickers and we adorned our badges with them linking to our website, projects, and documentation. It was so much fun to just tap my badge and show relevant information on my phone when someone asked if we had documentation or guides.

 

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

 

We also saw some really cool hacks that weekend using NFC on the MATRIX Creator. The winning team created a nicely packaged device called Care++ designed to be on a senior citizen's person with fall detection, environmental sensing, and NFC activation for pulling up medical history at the Doctor's office. One of the other team's created a smart checkout system for retail stores with NFC customer authentication & CV to tally up all the items purchased.
image
NFC has opened up a new avenue of innovation with the MATRIX Creator and we are excited to see where the community's creativity leads.
Below are all of our NFC Resources:
  • Get started w/ MATRIX HAL NFC
  • MATRIX HAL NFC Reference
  • MATRIX Lite NFC JS Reference
  • Get started with our C++ NFC library layer
  • MATRIX Lite NFC Python coming soon
Let us know your crazy NFC ideas in the comments below image.
  • Sign in to reply
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