Mifare RC522 RFID

Please add any feature requests for Flowcode version 6 here

Moderator: Benj

Forum rules
Only feature requests will be considered here. General questions should not be posted in this forum.
User avatar
STibor
Posts: 263
Joined: Fri Dec 16, 2011 3:20 pm
Has thanked: 116 times
Been thanked: 113 times
Contact:

Mifare RC522 RFID

Post by STibor »

Hi!
Do I have a very urgent RC522 component of the macro.
http://www.ebay.com/sch/sis.html?_nkw=M ... 7675.m4099
If this is not possible, which is compatible with the RFID reader RFID components v6 Flowcode macros?
It would be very important!

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: Mifare RC522 RFID

Post by Benj »

Hello,

The Flowcode RFID component is compatible with these modules.

http://www.rfsolutions.co.uk/acatalog/i ... ICODE.html

Saying this I have done some work with the RC522 module so I'll have trawl through and see if I can find it.

User avatar
STibor
Posts: 263
Joined: Fri Dec 16, 2011 3:20 pm
Has thanked: 116 times
Been thanked: 113 times
Contact:

Re: Mifare RC522 RFID

Post by STibor »

Hello,

Benj Thank you!

Unfortunately, these modules are not available to me.
As you can tell processed by a micro controller chip serial data and builds up in the RFID chip transceiver protocol.

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: Mifare RC522 RFID

Post by Benj »

Hello,

It took me a while but I eventually managed to find it. Could probably be wrapped up into a component without too much effort.
MFRC522.fcfx
(45.69 KiB) Downloaded 923 times

User avatar
STibor
Posts: 263
Joined: Fri Dec 16, 2011 3:20 pm
Has thanked: 116 times
Been thanked: 113 times
Contact:

Re: Mifare RC522 RFID

Post by STibor »

Hello!
Thanks for the quick help!
Tomorrow I look at hardware.

MJU
Posts: 502
Joined: Wed Nov 07, 2007 6:51 pm
Location: Antwerp Belgium
Has thanked: 121 times
Been thanked: 108 times
Contact:

Re: Mifare RC522 RFID

Post by MJU »

Benj wrote:Hello,

Could probably be wrapped up into a component without too much effort.
Would be great!
Thank you BenJ

jgu1
Posts: 1333
Joined: Tue Oct 06, 2009 9:39 am
Has thanked: 1135 times
Been thanked: 299 times
Contact:

Re: Mifare RC522 RFID

Post by jgu1 »

Hi Stibor!

Very interesting. Please let us hear your test result.

Bet regard

Jorgen

jgu1
Posts: 1333
Joined: Tue Oct 06, 2009 9:39 am
Has thanked: 1135 times
Been thanked: 299 times
Contact:

Re: Mifare RC522 RFID

Post by jgu1 »

Hi Stibor!

Very interesting. Please let' s hear hear your test and result. :D

Best regard

Jorgen

User avatar
STibor
Posts: 263
Joined: Fri Dec 16, 2011 3:20 pm
Has thanked: 116 times
Been thanked: 113 times
Contact:

Re: Mifare RC522 RFID

Post by STibor »

Hello!

Can you generate a component file?

I can not.

User avatar
STibor
Posts: 263
Joined: Fri Dec 16, 2011 3:20 pm
Has thanked: 116 times
Been thanked: 113 times
Contact:

Re: Mifare RC522 RFID

Post by STibor »

Hello!

The card recognition okay.
The ID readout is not working.
What is bad?
Attachments
RFID_MFRC522.fcpx
(5.12 KiB) Downloaded 724 times
Flowcode1.fcfx
(9.77 KiB) Downloaded 715 times
rfid_disp.jpg
(79.9 KiB) Downloaded 17272 times

jgu1
Posts: 1333
Joined: Tue Oct 06, 2009 9:39 am
Has thanked: 1135 times
Been thanked: 299 times
Contact:

Re: Mifare RC522 RFID

Post by jgu1 »

Hi.again!

The reconition and the ID is that not the same? And what is the nummer i your display? Is it those Wich not is correct?

BR

Jorgen

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: Mifare RC522 RFID

Post by Benj »

Hello,

Yes I can create a component if all is well, if there are problems then lets try and get them fixed first.

Can you tell me what you think is wrong with the IR readout?

User avatar
STibor
Posts: 263
Joined: Fri Dec 16, 2011 3:20 pm
Has thanked: 116 times
Been thanked: 113 times
Contact:

Re: Mifare RC522 RFID

Post by STibor »

Hello!

The problem was that for the first time generated component, and the component was tested.

I tried the MFRC522.fcf your program, this data has come.
The problem is that the data is the same as two RFID card.
Every time you turn on changes to the data read from the seventh.
This picture shows a value of 15. But was 48, 0, 78.
Attachments
MFRC522_rec.jpg
(46.1 KiB) Downloaded 17078 times

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: Mifare RC522 RFID

Post by Benj »

Hello,

So the data read back from the module changes every time you power up the module is that right?

Also the data read back from different RFID tags are the same?

Have you compared my code to any existing code? I created this code a few years ago and can't remember the status it was left in though I'm pretty sure it should work.

I'll go back through my emails to see if I can find more info.

User avatar
STibor
Posts: 263
Joined: Fri Dec 16, 2011 3:20 pm
Has thanked: 116 times
Been thanked: 113 times
Contact:

Re: Mifare RC522 RFID

Post by STibor »

Hello,

1. Power Card Recognition (yes / no) okay.
2. Data readout: changing the read data and then stops at a value.
3. The same data read all card.
I tried an Arduino library.
The same hardware (mega2560), the same electrical connections.
Arduino works by example.

Arduino lib:
https://github.com/miguelbalboa/rfid

jgu1
Posts: 1333
Joined: Tue Oct 06, 2009 9:39 am
Has thanked: 1135 times
Been thanked: 299 times
Contact:

Re: Mifare RC522 RFID

Post by jgu1 »

Hi Ben and Stibor!

I found this project very interesting and usefull. (I have a look here every day) :D

Should it be possible to write new ID to the Card/tag also, or this is maybe not posiible to change .?

So (kindly) ask, does the tread stop here as I understand on Stibor there are still bugs?

BR

Jorgen.

User avatar
STibor
Posts: 263
Joined: Fri Dec 16, 2011 3:20 pm
Has thanked: 116 times
Been thanked: 113 times
Contact:

Re: Mifare RC522 RFID

Post by STibor »

Hello!
I tested Arduino Mega 2560, it was not good.
Unfortunately, I do not know what can be a problem.
Each RFID card given the same ID.
I read the UID would be enough.

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: Mifare RC522 RFID

Post by Benj »

Hello,

I'll see if I can find some time this week to go back over the code and check it for bugs. We are pretty busy at the minute so may not get onto it this week but I will try. If it falls off my radar then feel free to pester me, I'm juggling a lot of things this week and my brain can only store so much :D

jgu1
Posts: 1333
Joined: Tue Oct 06, 2009 9:39 am
Has thanked: 1135 times
Been thanked: 299 times
Contact:

Re: Mifare RC522 RFID

Post by jgu1 »

Hi Ben!

Ok Ben thanks for answers. We can well imagine you are in a hurry. we must have patience.
But we chasing you if going for a long time :lol:

BR

Jorgen

jgu1
Posts: 1333
Joined: Tue Oct 06, 2009 9:39 am
Has thanked: 1135 times
Been thanked: 299 times
Contact:

Re: Mifare RC522 RFID

Post by jgu1 »

Hi Ben!

I dare to ask :D Have you found some time for this issue please.

I am very curious and find the project very interesting, and I will Invest in some of these module if they can work with Flowcode.

Best regard

Jorgen..

jgu1
Posts: 1333
Joined: Tue Oct 06, 2009 9:39 am
Has thanked: 1135 times
Been thanked: 299 times
Contact:

Re: Mifare RC522 RFID

Post by jgu1 »

Hi Ben!

Something new concerning this module, please. :D

Br

Jorgen

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: Mifare RC522 RFID

Post by Benj »

Hello Jorgen,

I'll have a look but that Arduino library is looking even more unreadable then I last remember it. The code has changed significantly so it looks like we have to do a lot to catch up again.

I'll see how I get on and let you know.

jgu1
Posts: 1333
Joined: Tue Oct 06, 2009 9:39 am
Has thanked: 1135 times
Been thanked: 299 times
Contact:

Re: Mifare RC522 RFID

Post by jgu1 »

Ok Ben. Thank´s for reply..............

Jorgen

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: Mifare RC522 RFID

Post by Benj »

Right I have spent a few hours on this now and it seems the further down the rabbit hole I go the more lost I get. The library is obviously written in a slightly obfuscated way and seems pretty horrible to follow through.

Anyway this is going to take some time to do properly.

Keep pestering me and I will keep trying to move this forward.

MJU
Posts: 502
Joined: Wed Nov 07, 2007 6:51 pm
Location: Antwerp Belgium
Has thanked: 121 times
Been thanked: 108 times
Contact:

Re: Mifare RC522 RFID

Post by MJU »

Benj wrote: Keep pestering me and I will keep trying to move this forward.
You've asked for it... :)

Post Reply