uNFC - NFC library - Netduino Plus 2 (and Netduino Plus 1) - Netduino Forums
   
Netduino home hardware projects downloads community

Jump to content


The Netduino forums have been replaced by new forums at community.wildernesslabs.co. This site has been preserved for archival purposes only and the ability to make new accounts or posts has been turned off.
Photo

uNFC - NFC library

nfc pn532 nxp

  • Please log in to reply
9 replies to this topic

#1 Paolo Patierno

Paolo Patierno

    Advanced Member

  • Members
  • PipPipPip
  • 169 posts
  • LocationItaly

Posted 22 January 2014 - 09:04 AM

Hello,

I developed an NFC library that supports .Net Micro Framework 4.2 and 4.3 (and other frameworks).

 

For now, it supports NXP PN532 chip with all possible communication channels (I2C, SPI and HSU).

 

You can find it at following links on CodePlex and Code Gallery :

 

https://unfc.codeplex.com/

 

http://code.msdn.mic...ibrary-d0744dab

 

I hope it could be useful !!

 

Paolo.


Paolo Patierno

Microsoft MVP on Windows Embedded & IoT

Azure Advisor

Twitter : @ppatierno
Linkedin : paolopatierno
Blog : DevExperience

Blog : Embedded101
?


#2 gomore11

gomore11

    Advanced Member

  • Members
  • PipPipPip
  • 87 posts

Posted 22 January 2014 - 11:46 AM

Hi Paolo!!

 

Great job!!! I´ve been working on this also some time ago. But I came across with a problema when I tried to communicate a Netduino2+ Adafruit NFC shield(PN532 chip) and a Windows phone..........Have you done any kind of test in something similar to this????



#3 Paolo Patierno

Paolo Patierno

    Advanced Member

  • Members
  • PipPipPip
  • 169 posts
  • LocationItaly

Posted 22 January 2014 - 11:51 AM

I testd the library with Netduino Plus (first generation) but I will test it also with Netduino Plus 2 (you can start to test if you want :-))

 

I used following breakout board :

 

http://www.elecfreak...22eq85jj9pa1me1

 

Paolo.


Paolo Patierno

Microsoft MVP on Windows Embedded & IoT

Azure Advisor

Twitter : @ppatierno
Linkedin : paolopatierno
Blog : DevExperience

Blog : Embedded101
?


#4 vz10

vz10

    New Member

  • Members
  • Pip
  • 8 posts

Posted 11 August 2014 - 06:15 AM

Hi, I want to try to conned NFC to my Netduino Plus 1. Will it work with this NFC? And how to connect them together?



#5 vz10

vz10

    New Member

  • Members
  • Pip
  • 8 posts

Posted 30 November 2014 - 09:29 AM

I can't run this library on netduino plus, because netduino uses microframework 4.1 and library needs 4.2. Is there any way to solve this problem?

#6 Nicolas Besson

Nicolas Besson

    New Member

  • Members
  • Pip
  • 9 posts

Posted 02 December 2014 - 09:53 AM

Hi vz10, I'm pretty sure that the library can work on 4.1 too. For this, create a new 4.1 project and import the cs files shared by Paolo.

 

Hope that you will succeed.



#7 vz10

vz10

    New Member

  • Members
  • Pip
  • 8 posts

Posted 02 December 2014 - 10:00 AM

I've already tried it, but I've got a lot of errors like "unknown name in this namespace", which didn't appear when I triedit in 4.2 version.

#8 Paolo Patierno

Paolo Patierno

    Advanced Member

  • Members
  • PipPipPip
  • 169 posts
  • LocationItaly

Posted 02 December 2014 - 10:03 AM

Hi all,

excuse but I'm very busy with my other open source projects...for example M2Mqtt :-)

However ...

 

Hi vz10 can you share more details about "unknown name in this namespace" errors you have ?

 

Thanks,

Paolo.


Paolo Patierno

Microsoft MVP on Windows Embedded & IoT

Azure Advisor

Twitter : @ppatierno
Linkedin : paolopatierno
Blog : DevExperience

Blog : Embedded101
?


#9 366cobra

366cobra

    Member

  • Members
  • PipPip
  • 16 posts

Posted 07 December 2014 - 10:37 AM

Hi Paolo,

 

Thanks for doing the hard yards.

 

I have got the following NFC board http://www.aliexpres...2038722238.html

Have configured it to use I2C, but not having any luck communicating with it.

Using 2.2KOhm pull up resistors and have tried both 3.3V and 5V.

 

The Execute in I2CWrite fails with write = 0

 

Any idea on what it could be?

PN532 is a specific chip from one company only, right?

 

I have an I2c lux meter and that works fine.

NP2

FW 4.3.1


Can't wait for my Agent watch to arrive..........


#10 vz10

vz10

    New Member

  • Members
  • Pip
  • 8 posts

Posted 05 February 2015 - 11:28 AM

I've made it finally. And it works very good, thanks for the great work you've done.

 

But sometimes I got exception "System.ArgumentOutOfRangeException', on some kinds of nfc labels.

 

error.png







Also tagged with one or more of these keywords: nfc, pn532, nxp

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

home    hardware    projects    downloads    community    where to buy    contact Copyright © 2016 Wilderness Labs Inc.  |  Legal   |   CC BY-SA
This webpage is licensed under a Creative Commons Attribution-ShareAlike License.