Page 1 of 1
MFRC 522_V2 RF ID read working but ID key false
Posted: Thu Oct 13, 2016 10:52 am
by celebriums
Hi All
MFRC522 is not reading tag. Help Me Please
Are there any healty running software?
Notes:
MCU Connections
Channel 1
MISO B9
MOSI B8
SCK B7
SS/SDA A4
RESET B4
Used MCU: DSPIC33EP128MC206 70Mhz External Osc
and
MFRC522 Osc Freq= 27.120Mhz
http://i.hizliresim.com/Xd1dgR.jpg
http://i.hizliresim.com/byXy0d.jpg
http://i.hizliresim.com/dXdXJV.jpg
http://i.hizliresim.com/5YlYvj.jpg
http://i.hizliresim.com/A3M3bp.jpg
Re: MFRC 522_V2 Flowcode V7.1.1.0 is not working.
Posted: Fri Oct 14, 2016 12:00 pm
by Benj
Investigating for you now.
In your program you set A8 to 0 and C7 to 1 with the comments GND and 3V3.
You're not powering the RFID module from I/O pins are you? If you are then the current from the pins is probably not enough to correctly power the module.
Re: MFRC 522_V2 Flowcode V7.1.1.0 is not working.
Posted: Fri Oct 14, 2016 7:03 pm
by celebriums
Hi Benj
3V3 and GND pins directly connected is Step Down Regulator outputs.
A8 and C7 ports not ussualy

Re: MFRC 522_V2 Flowcode V7.1.1.0 is not working.
Posted: Fri Oct 21, 2016 3:46 pm
by celebriums
Hi All
Is there a program that you know is working correctly?
SPI is made using the didin't work. RFID Card even when not plugged in, the read operation.
The Result
Card ID =0,0,0,0
(for MFRC522 reader with Flowcode 7.1.1.0)
Thank you
Re: MFRC 522_V2 Flowcode V7.1.1.0 is not working.
Posted: Fri Oct 21, 2016 6:05 pm
by Benj
Hello,
I see you are using the CAL SPI component, what about instead using the MRFC522 component, there's an example here you can use.
http://www.flowcode.co.uk/wikiv7/index.p ... 0c86d9ebb7
Re: MFRC 522_V2 Flowcode V7.1.1.0 is not working. (Solved)
Posted: Sat Oct 22, 2016 9:20 pm
by celebriums
Hello Benj
MISO,MOSI,CS,SCK and RESET signal is ok.
I think I found general problem.
I think that, MFRC522 board, can not produce antenna signal.
First possibility; MFRC522 board has corrupted.
Second possibity; It is not working, "Antenna ON" macros in Flowcode.
I'm going to buy new MFRC522 boards to electronic market in now.
I'm going to the share with you the results.
Re: MFRC 522_V2 Flowcode V7.1.1.0 false RF ID key
Posted: Sat Oct 22, 2016 9:40 pm
by celebriums
Hello Benj
RF ID card reader board has malfunctioned. I replace it with a new one. RF reading process has become can.
But as new problems.
ID CARD ID=99;103;99;106;62
testaddress[0]=99
testaddress[1]=103
testaddress[2]=99
testaddress[3]=106
testaddress[4]=62 not true
values should be;
ID CARD ID=(testaddress[0]); 80 ; 103 ;99; 106
testaddress[0]=????
testaddress[1]=80
testaddress[2]=103
testaddress[3]=99
testaddress[4]=106
Re: MFRC 522_V2 RF ID read working but ID key false
Posted: Mon Oct 24, 2016 3:08 pm
by Benj
Thanks for letting me know. I had a go at fixing this a while back but only ended up breaking the component completely.
I'll have another swing at it this week and see if I can improve things.
Re: MFRC 522_V2 RF ID read working but ID key false
Posted: Tue Oct 25, 2016 8:14 am
by celebriums
Hello Benj
Thanks for the answer. We look forward to the correct component.
Re: MFRC 522_V2 RF ID read working but ID key false
Posted: Sat Jul 08, 2017 9:37 pm
by mnf
This topic is a bit old but the RFID_MFRC522_v2 component now works well:
Using an Arduino and connecting: D9 to RST, D10 to SDA, D11 to MOSI, D12 to MISO and D13 to SCK.
The following flowcode reads and sends the key_id and the first data block of 16 bytes to the UART. Note that the documentation states that Check returns 255 if a key is present - but seems to return 0 and 255 if no key.
Also the interrupt pin doesn't seem to be able to be set so that an interrupt to occurs if a RFID tag is detected (which would be very convenient)
I use a dash of C to pull the RFID tag id (one line) - there doesn't seem to be another way to get this (first five bytes of block 0 store the key?)
Re: MFRC 522_V2 RF ID read working but ID key false
Posted: Sun Sep 03, 2017 12:39 pm
by tarmar
Hi,
... still wrong card ID. The first and third nummer of the card ID are always the same
14:152:14:26:92
69:4:69:214:31
4:139:4:98:208
or is there something wrong in my flowcode?