netrate
Posts: 9
Joined: Sun Jan 13, 2019 9:18 pm

NFC reader with raspberry pi?

Sun Jan 13, 2019 9:20 pm

I am want to create a card reader with NFC sticker using the raspberry pi and the PN532 reader. Would this be possible?
Also if someone has links to cheap NFC stickers and the reader, that would be greatly appreciated!

User avatar
topguy
Posts: 5257
Joined: Tue Oct 09, 2012 11:46 am
Location: Trondheim, Norway

Re: NFC reader with raspberry pi?

Mon Jan 14, 2019 2:28 am

I think you will find many examples of people getting readers with the PN532 chipset working with the pi. ( PN532 is not the name of a reader but is the name of a chip that many NFC readers use. )

Your biggest choice is what kind of interface you will use. Will you buy a USB reader or an RS232 reader or one that uses SPI or I2C.

USB readers are very simple to connect and usually comes with 1m cable.
RS-232 readers must have power and must be correctly connected to the UART on the GPIO ports.
SPI/I2C readers can be found that can connect directly on the GPIO pinheader, but also similar to RS232 versions.

netrate
Posts: 9
Joined: Sun Jan 13, 2019 9:18 pm

Re: NFC reader with raspberry pi?

Mon Jan 14, 2019 3:23 pm

Do you think regular NFC stickers will work with it? I saw some on Alibaba :
https://www.alibaba.com/product-detail/ ... FGmk14&s=p

I am going to be creating a NFC card reader that allows employees to clock in and out. I am going to have to make up each card with its own individual sticker.

User avatar
topguy
Posts: 5257
Joined: Tue Oct 09, 2012 11:46 am
Location: Trondheim, Norway

Re: NFC reader with raspberry pi?

Mon Jan 14, 2019 3:34 pm

How many employees do you have ?
Do you plan to put the stickers on existing ID badges ?

I have no experience with NFC tags of that specific chip, I use slightly more expensive cards, so its not completely clear for me if they are guaranteed to work.

netrate
Posts: 9
Joined: Sun Jan 13, 2019 9:18 pm

Re: NFC reader with raspberry pi?

Sun Feb 03, 2019 8:57 pm

Sorry I am just getting back to this:
I will have about 15 people on this system.
I plan on buying new stickers, and using them on blank cards.
So which chip should I buy to do this? I am not sure what sp1 or sp2 means...

User avatar
topguy
Posts: 5257
Joined: Tue Oct 09, 2012 11:46 am
Location: Trondheim, Norway

Re: NFC reader with raspberry pi?

Sun Feb 03, 2019 10:37 pm

Like I said I dont know this tag type.. If I would recommend some chip type then maybe I would suggest Mifare Ultralight. You probably can buy those in a minimum order of 100 and not 500 like the ones you linked to. You can probably find the Ultralights both as sticker or as finished plastic card if you want.

netrate
Posts: 9
Joined: Sun Jan 13, 2019 9:18 pm

Re: NFC reader with raspberry pi?

Mon Feb 04, 2019 12:46 am

So am I ok to purchase the 522 reader first? I was thinking about getting this one :

https://www.amazon.ca/gp/product/B07FFN ... R33P&psc=1

Andyroo
Posts: 1569
Joined: Sat Jun 16, 2018 12:49 am
Location: Lincs U.K.

Re: NFC reader with raspberry pi?

Mon Feb 04, 2019 1:58 am

If you are that unsure I would look to either a professional time and attendance package or try to find a local maker space to help with hands on testing as you could be impacting folks take home pay and nothing gets people more upset with computers than no money :lol:
Need Pi spray - these things are breeding in my house...

netrate
Posts: 9
Joined: Sun Jan 13, 2019 9:18 pm

Re: NFC reader with raspberry pi?

Mon Feb 04, 2019 2:23 am

It is just a pilot program, nothing set in stone, proof of concept right now

morticiaskeeper
Posts: 101
Joined: Mon Aug 27, 2012 6:05 pm

Re: NFC reader with raspberry pi?

Mon Feb 04, 2019 7:34 am

Having played about with readers, I found better reliability with a USB reader.

netrate
Posts: 9
Joined: Sun Jan 13, 2019 9:18 pm

Re: NFC reader with raspberry pi?

Mon Feb 04, 2019 5:06 pm

So something like this, that would attach to the RASPBERRY PI via USB?
https://www.amazon.ca/Ultralight-Ntag20 ... nfc+reader

or

https://www.amazon.ca/Reader-Writer-Cop ... nfc+reader

User avatar
topguy
Posts: 5257
Joined: Tue Oct 09, 2012 11:46 am
Location: Trondheim, Norway

Re: NFC reader with raspberry pi?

Mon Feb 04, 2019 6:18 pm

Both of them could work but there are significant differences.

- The first one is very simple and its only job is to read the unique identifier (UID) of each card, its only purpose is RFID
- The other one ( the ACR122U ) is a NFC compatible reader which also an read and write the memory contents of the NFC tags.

netrate
Posts: 9
Joined: Sun Jan 13, 2019 9:18 pm

Re: NFC reader with raspberry pi?

Mon Feb 04, 2019 7:41 pm

I just want the person to use the card to login in and out. So I think I would need the first one, because each person would be assigned a NFC card and swipe in and out and that is all. So I am good for the first you, in your opinion? And thank you for all of your help and expertise...

morticiaskeeper
Posts: 101
Joined: Mon Aug 27, 2012 6:05 pm

Re: NFC reader with raspberry pi?

Mon Feb 04, 2019 8:47 pm

The second is the one I use

netrate
Posts: 9
Joined: Sun Jan 13, 2019 9:18 pm

Re: NFC reader with raspberry pi?

Tue Feb 05, 2019 3:31 pm

In my situation, does it warrant the second one?

morticiaskeeper
Posts: 101
Joined: Mon Aug 27, 2012 6:05 pm

Re: NFC reader with raspberry pi?

Tue Feb 05, 2019 8:21 pm

Using the board with the gpio pins, reading was hit and miss.

The USB reader just works.

Return to “General discussion”