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
RFID MRFC522 not working on Arduino 2560 (Solved )
Moderator: Benj
- 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
Hi Alan,
Investigating this now.
Investigating this now.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
- 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
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.
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.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
- 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 )
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 .
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 .