Arduino and NFC
-
Also note I some some open pull requests to the elechouse PN532 elechouse library.. https://github.com/elechouse/PN532/pulls -- feel free to comment on them to get them merged in.. The elechouse guys are a pretty slow..
Done and done.
-
ok, so finally got the sketch to compile. Couldn't get it working on my windows 7 installation even after reinstalling arduino software. I fired up an XP VM, installed the arduino software and the sketch compiled first try. There must be some lingering data after uninstall that I need to take care of.
-
Ah cool, so is the board working any better at the moment then? That car entry sketch I put here somewhere does a card identify/UID dump on a read for either mifare or NTAG so that might be worth trying.
-
This post is deleted! -
@itzdarkoutthere I've also been playing with this module. I can't seem to get it to recognize any tags yet. Have you? 7 months ago....hopefully you didn't give up! :P
-
Hi @flashoflight, it's been a while since Mike was online. I gather he's been busy!
So have you got the ITEAD module that he was playing with to start off? -
@Lokki Yup! I have been using this tutorial to try and set it up https://learn.adafruit.com/adafruit-pn532-rfid-nfc/breakout-wiring
I did wire it without the 4050 stepper though. I'm thinking maybe that is causing the issues. What do you think?
-
Couple questions, did you get the shield or the board, and which interface are you using? SPI or I2C?
If SPI, you have the level shifter in circuit and working? If I2c you have the pullup resistors?
Oh also, which arduino are you using?The main issue with the itead units is that they have a max distance of ~3cm. That's really really low power, so the RF Field is going to have a hell of a time reading an NFC Ring.
You'll most likely get a reasonable performance with a standard tag and an infuriating one with a ring.
The Elechouse V3 reader unit has a maximum range of up to 8cm (mine works at that distance with fobs and a card) and so there's a far better experience with the ring which tends to read up to a couple centimeters away.
This is because the Elechouse unit has better power output and a better antenna. -
@Lokki said:
Elechouse V3 reader
I am trying through SPI. Without the level shifter. ( I think that could be causing the issue. but I don't know much about level shifters)I'm using the UNO. Maybe I should go pick up this Elechouse V3 reader. I'm currently based in Hong Kong so it's always a struggle finding parts.
-
@flashoflight elechouse is hong kong based so you might find them easy to deal with. I'd say at the moment the lack of a level shifter is causing your issues at the moment, try setting it up with I2C instead and see how you go with that. The Elechouse V3 PN532 unit will perform better though!
-
@Lokki said:
Elechouse V3 PN532
You're awesome. Let me try that. I didn't really have a tutorial for I2C (I'm totally a noob) so I'll try and figure it out.
-
lol thanks. just remember the pullup resistors on the data lines. it may work without them but if it doesn't then that's what you'll need.
-
NFC module arduino: http://www.elecfreaks.com/store/nfcrfid-breakout-module-p-519.html
-
Reports have been mixed with that one. Do you have one or are you looking at getting one?