Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RF 522 not working with Arduino Yun #111

Closed
programmin1 opened this issue Jun 25, 2015 · 13 comments
Closed

RF 522 not working with Arduino Yun #111

programmin1 opened this issue Jun 25, 2015 · 13 comments
Labels
enhancement 🚀 a wish or proposal for future features

Comments

@programmin1
Copy link

The Arduino Yun has wiring a bit different than others, and though I followed the instructions here for wiring it to it, it isn't working:
http://arduino.stackexchange.com/questions/6697/arduino-yun-rfid-rc522-module-not-working

It compiles fine, but doesn't even pick up the RFID tag that came with the kit.

I assume there are some constants that I need to change somewhere to tell it that the pins are 5 pins on ICSP connector?

@cryptid11
Copy link

Same problem here, did you solve it @programmin1 ?

@programmin1
Copy link
Author

Nope. I thought of trying it with a Raspberry Pi.

@cryptid11
Copy link

So, really, no solution to use it with yun, but the connections are correct for sure! This image confirms it http://www.14core.com/wp-content/uploads/2015/06/Arduino-Yun-PinOut.png that's really too stupid to be true, please somebody with some expertise solve this issue!

@Rotzbua Rotzbua added the enhancement 🚀 a wish or proposal for future features label Aug 25, 2016
@Rotzbua
Copy link
Collaborator

Rotzbua commented Jan 16, 2017

@programmin1 @cryptid11 Can I close this? Did you found a solution?

@cryptid11
Copy link

1 - You decide
2 - No

@Rotzbua
Copy link
Collaborator

Rotzbua commented Jan 16, 2017

@cryptid11 thanks for feedback. I added it to the readme. Maybe someone will fix this in future...

@cmddegi
Copy link

cmddegi commented Sep 11, 2018

Hi! I just hooked up a Joy-It RFID-RC522 with my Yun and it worked instantly without changes to the code. You just have to get the wiring right. On the Yun (and on the leonardo) the SPI is available only on the ICSP header:

This works for me:

  • MISO on ICSP1
  • VCC on ICSP2
  • SCK on ICSP3
  • MOSI on ICSP4
  • (ICSP5 is free)
  • GND on ICSP6
  • RST on Pin9 (default)
  • NSS on Pin10 (default)

Thanks for the library and the examples! Worked in no time. :-)

@Rotzbua
Copy link
Collaborator

Rotzbua commented Sep 11, 2018

@cmddegi Thanks for your positive feedback 👍

ricardojlrufino added a commit to ricardojlrufino/rfid that referenced this issue Jan 11, 2020
@PaulBeaudet
Copy link

I've got this working on the Yun in the past as well, going to remove this from the readme

@Rotzbua
Copy link
Collaborator

Rotzbua commented Jun 3, 2020

@PaulBeaudet Was your wiring like #111 (comment) or did you use a different wiring?

@PaulBeaudet
Copy link

PaulBeaudet commented Jun 3, 2020

Sorry I saw another pr #500 and left the readme alone. It been a while since I touched it but I was considering using the yun for our access control system at the Manchester Makerspace and had a test unit up that members could play with. Everything was working with the reader and this library. Pretty sure I had to hook it up to the ICSP header like in the comment above. Not sure how well the yun is supported in general now and days but the rfid reader library should work fine

@PaulBeaudet
Copy link

@Rotzbua Thanks for maintaining this library btw. Having set up our system with it I'm grateful it continues to be supported

unfortunately @programmin1 @cryptid11 may have got bad boards. Did either of you test with other hardware?

Rotzbua added a commit that referenced this issue Jun 3, 2020
update README, now works with arduno YUN #111
zyonee pushed a commit to zyonee/rfid that referenced this issue Sep 20, 2020
@dimact22

This comment has been minimized.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement 🚀 a wish or proposal for future features
Projects
None yet
Development

No branches or pull requests

6 participants