RFID MRFC522 not working on Arduino 2560 (Solved )

A forums to allow bugs and problems with Flowcode v7 to be reported and resolved.

Moderator: Benj

Post Reply
User avatar
Alan_37
Posts: 179
Joined: Sun May 01, 2016 8:36 pm
Has thanked: 51 times
Been thanked: 54 times
Contact:

RFID MRFC522 not working on Arduino 2560 (Solved )

Post by Alan_37 »

HI

I am trying to use the RFID component RC522 Via SPI

I have connected as Follows

SDA --> SS PK6
SCK --> SCK PB1
Miso --> MISO PB3
Mosi --> MOSI PB2
RST --> PK7
3.3v --> 3.3V
GND --> GND

I am duing: init MFRC522 --> MRFC522 Antenna ON --> MRFC522 Check for card

it always returns a value of 255 from Check Card
Last edited by Alan_37 on Wed Jan 25, 2017 7:33 am, edited 1 time in total.

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: RFID MRFC522 not working on Arduino 2560

Post by Benj »

Hi Alan,

Investigating this now.

User avatar
Alan_37
Posts: 179
Joined: Sun May 01, 2016 8:36 pm
Has thanked: 51 times
Been thanked: 54 times
Contact:

Re: RFID MRFC522 not working on Arduino 2560

Post by Alan_37 »

Hi

Any News on this bug ?

User avatar
Alan_37
Posts: 179
Joined: Sun May 01, 2016 8:36 pm
Has thanked: 51 times
Been thanked: 54 times
Contact:

Re: RFID MRFC522 not working on Arduino 2560

Post by Alan_37 »

Hi

Any News on this bug ?

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: RFID MRFC522 not working on Arduino 2560

Post by Benj »

Hi Alan,

I started investigating the component, the source project I was using as an example for the code has changed a lot since I last looked and it wasn't the best to read back then. It's pretty horrendous now.

The component as is is known to work so I wonder what might be going wrong. What type of RFID tags are you using and can you attach your program so we can try and replicate your setup.

User avatar
Alan_37
Posts: 179
Joined: Sun May 01, 2016 8:36 pm
Has thanked: 51 times
Been thanked: 54 times
Contact:

Re: RFID MRFC522 not working on Arduino 2560 ( Solved )

Post by Alan_37 »

Hi Benj

Another 2 modules just arrived today and they work perfectly
so it was the first module faulty ,

my apologies for your time & thanks for tying to help anyway .

Post Reply