Arduino and NFC
-
I think the board survived. Not much in the area, no apparent signs of too much heat, and I'm pretty sure that header is just a pass-through. Re-installing the SDK is probably a good idea. I just need to find some time to take a closer look at things. I have my family visiting this weekend and friends the following weekend, so busy getting my place in shape. The shield is plugged directly into my uno, so hopefully no issue there, but i will pull up the schematics when I get time and make sure everything is kosher with the lib.
-
Ah cool, thought it might have been breadboarded in like mine are, directly plugged in is a lot easier at this point eh.
I definitely think uninstalling and reinstalling the SDK and libraries is the go. Make sure you've got copies, cos it'll ditch them all in the uninstall. Fingers crossed that'll do the trick! -
Ah cool, thought it might have been breadboarded in like mine are, directly plugged in is a lot easier at this point eh.
Yeah, I have a lib backup folder. I have had to re-install before to solve a lib issue, not sure why I didn't think of that myself!
-
Same reason I installed the PN532 libraries wrong several times eh ;-)
-
PN532 from Elechouse works great. I have a bunch here and I use them all the time. I use them with a nano too.. $10 for nano, $20 for pn532 afaik.. Major win!
-
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..
-
PN532 from Elechouse works great. I have a bunch here and I use them all the time. I use them with a nano too.. $10 for nano, $20 for pn532 afaik.. Major win!
Nice one, I think I'll take that as a 'go' to get more of them (I'd already pretty much decided they would be the weapon of choice!)
-
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