Skip to content

RF 522 not working with Arduino Yun #111

Closed

Description

@programmin1

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?

Activity

  1. cryptid11 commented on Dec 4, 2015

    @cryptid11

    Same problem here, did you solve it @programmin1 ?

  2. programmin1 commented on Dec 5, 2015

    @programmin1
    Author

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

  3. cryptid11 commented on Dec 5, 2015

    @cryptid11

    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!

  4. added
    enhancement 🚀
    on Aug 25, 2016
  5. Rotzbua commented on Jan 16, 2017

    @Rotzbua
    Collaborator

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

  6. cryptid11 commented on Jan 16, 2017

    @cryptid11

    1 - You decide
    2 - No

  7. Rotzbua commented on Jan 16, 2017

    @Rotzbua
    Collaborator

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

  8. cmddegi commented on Sep 11, 2018

    @cmddegi

    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. :-)

  9. Rotzbua commented on Sep 11, 2018

    @Rotzbua
    Collaborator

    @cmddegi Thanks for your positive feedback 👍

  10. PaulBeaudet commented on Jun 3, 2020

    @PaulBeaudet

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

  11. Rotzbua commented on Jun 3, 2020

    @Rotzbua
    Collaborator

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

  12. PaulBeaudet commented on Jun 3, 2020

    @PaulBeaudet

    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

  13. PaulBeaudet commented on Jun 3, 2020

    @PaulBeaudet

    @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?

  14. added a commit that references this issue on Jun 3, 2020
  15. added a commit that references this issue on Sep 20, 2020
  16. dimact22 commented on Oct 4, 2021

    @dimact22
  17. added a commit that references this issue on Jun 3, 2024
    0b91afb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement 🚀

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions