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: 262
Joined: Fri Dec 16, 2011 3:20 pm
Has thanked: 115 times
Been thanked: 112 times
Contact:

Mifare RC522 RFID

Postby STibor » Wed Oct 21, 2015 9:32 am

Hi!
Do I have a very urgent RC522 component of the macro.
http://www.ebay.com/sch/sis.html?_nkw=Mifare+RC522+Card+Read+Antenna+RF+Module+RFID+Reader+IC+Card+Proximity+Module&_itemId=221393382348&_trksid=p2047675.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: 14671
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4655 times
Been thanked: 4277 times
Contact:

Re: Mifare RC522 RFID

Postby Benj » Wed Oct 21, 2015 2:54 pm

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: 262
Joined: Fri Dec 16, 2011 3:20 pm
Has thanked: 115 times
Been thanked: 112 times
Contact:

Re: Mifare RC522 RFID

Postby STibor » Thu Oct 22, 2015 8:00 pm

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: 14671
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4655 times
Been thanked: 4277 times
Contact:

Re: Mifare RC522 RFID

Postby Benj » Tue Oct 27, 2015 1:37 pm

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.71 KiB) Downloaded 650 times
These users thanked the author Benj for the post (total 3):
STibor (Tue Oct 27, 2015 6:03 pm) • MJU (Tue Oct 27, 2015 6:26 pm) • jgu1 (Wed Oct 28, 2015 6:58 am)
Rating: 15%
 

User avatar
STibor
Posts: 262
Joined: Fri Dec 16, 2011 3:20 pm
Has thanked: 115 times
Been thanked: 112 times
Contact:

Re: Mifare RC522 RFID

Postby STibor » Tue Oct 27, 2015 6:03 pm

Hello!
Thanks for the quick help!
Tomorrow I look at hardware.
These users thanked the author STibor for the post:
Benj (Tue Oct 27, 2015 6:09 pm)
Rating: 5%
 

MJU
Posts: 443
Joined: Wed Nov 07, 2007 6:51 pm
Location: Antwerp Belgium
Has thanked: 111 times
Been thanked: 99 times
Contact:

Re: Mifare RC522 RFID

Postby MJU » Tue Oct 27, 2015 6:26 pm

Benj wrote:Hello,

Could probably be wrapped up into a component without too much effort.



Would be great!
Thank you BenJ

jgu1
Posts: 1139
Joined: Tue Oct 06, 2009 9:39 am
Has thanked: 1052 times
Been thanked: 280 times
Contact:

Re: Mifare RC522 RFID

Postby jgu1 » Wed Oct 28, 2015 7:04 am

Hi Stibor!

Very interesting. Please let us hear your test result.

Bet regard

Jorgen

jgu1
Posts: 1139
Joined: Tue Oct 06, 2009 9:39 am
Has thanked: 1052 times
Been thanked: 280 times
Contact:

Re: Mifare RC522 RFID

Postby jgu1 » Wed Oct 28, 2015 7:07 am

Hi Stibor!

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

Best regard

Jorgen

User avatar
STibor
Posts: 262
Joined: Fri Dec 16, 2011 3:20 pm
Has thanked: 115 times
Been thanked: 112 times
Contact:

Re: Mifare RC522 RFID

Postby STibor » Wed Oct 28, 2015 7:30 pm

Hello!

Can you generate a component file?

I can not.

User avatar
STibor
Posts: 262
Joined: Fri Dec 16, 2011 3:20 pm
Has thanked: 115 times
Been thanked: 112 times
Contact:

Re: Mifare RC522 RFID

Postby STibor » Thu Oct 29, 2015 6:29 am

Hello!

The card recognition okay.
The ID readout is not working.
What is bad?
Attachments
RFID_MFRC522.fcpx
(5.12 KiB) Downloaded 464 times
Flowcode1.fcfx
(9.77 KiB) Downloaded 465 times
rfid_disp.jpg
rfid_disp.jpg (79.9 KiB) Viewed 16742 times
These users thanked the author STibor for the post:
jgu1 (Thu Oct 29, 2015 6:50 am)
Rating: 5%
 

jgu1
Posts: 1139
Joined: Tue Oct 06, 2009 9:39 am
Has thanked: 1052 times
Been thanked: 280 times
Contact:

Re: Mifare RC522 RFID

Postby jgu1 » Thu Oct 29, 2015 6:54 am

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: 14671
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4655 times
Been thanked: 4277 times
Contact:

Re: Mifare RC522 RFID

Postby Benj » Thu Oct 29, 2015 10:46 am

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?
These users thanked the author Benj for the post:
jgu1 (Thu Oct 29, 2015 1:05 pm)
Rating: 5%
 

User avatar
STibor
Posts: 262
Joined: Fri Dec 16, 2011 3:20 pm
Has thanked: 115 times
Been thanked: 112 times
Contact:

Re: Mifare RC522 RFID

Postby STibor » Mon Nov 02, 2015 5:48 am

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
MFRC522_rec.jpg (46.11 KiB) Viewed 16548 times

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

Re: Mifare RC522 RFID

Postby Benj » Tue Nov 03, 2015 11:19 am

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: 262
Joined: Fri Dec 16, 2011 3:20 pm
Has thanked: 115 times
Been thanked: 112 times
Contact:

Re: Mifare RC522 RFID

Postby STibor » Wed Nov 04, 2015 6:26 am

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: 1139
Joined: Tue Oct 06, 2009 9:39 am
Has thanked: 1052 times
Been thanked: 280 times
Contact:

Re: Mifare RC522 RFID

Postby jgu1 » Wed Nov 18, 2015 12:39 pm

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: 262
Joined: Fri Dec 16, 2011 3:20 pm
Has thanked: 115 times
Been thanked: 112 times
Contact:

Re: Mifare RC522 RFID

Postby STibor » Wed Nov 18, 2015 6:06 pm

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: 14671
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4655 times
Been thanked: 4277 times
Contact:

Re: Mifare RC522 RFID

Postby Benj » Wed Nov 18, 2015 6:51 pm

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
These users thanked the author Benj for the post (total 2):
jgu1 (Wed Nov 18, 2015 7:20 pm) • STibor (Wed Nov 18, 2015 7:49 pm)
Rating: 10%
 

jgu1
Posts: 1139
Joined: Tue Oct 06, 2009 9:39 am
Has thanked: 1052 times
Been thanked: 280 times
Contact:

Re: Mifare RC522 RFID

Postby jgu1 » Wed Nov 18, 2015 7:22 pm

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
These users thanked the author jgu1 for the post:
Benj (Thu Nov 19, 2015 6:15 pm)
Rating: 5%
 

jgu1
Posts: 1139
Joined: Tue Oct 06, 2009 9:39 am
Has thanked: 1052 times
Been thanked: 280 times
Contact:

Re: Mifare RC522 RFID

Postby jgu1 » Wed Dec 09, 2015 7:25 am

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: 1139
Joined: Tue Oct 06, 2009 9:39 am
Has thanked: 1052 times
Been thanked: 280 times
Contact:

Re: Mifare RC522 RFID

Postby jgu1 » Mon Feb 01, 2016 6:02 pm

Hi Ben!

Something new concerning this module, please. :D

Br

Jorgen

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

Re: Mifare RC522 RFID

Postby Benj » Mon Feb 01, 2016 6:43 pm

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.
These users thanked the author Benj for the post:
jgu1 (Mon Feb 01, 2016 7:29 pm)
Rating: 5%
 

jgu1
Posts: 1139
Joined: Tue Oct 06, 2009 9:39 am
Has thanked: 1052 times
Been thanked: 280 times
Contact:

Re: Mifare RC522 RFID

Postby jgu1 » Mon Feb 01, 2016 7:29 pm

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

Jorgen

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

Re: Mifare RC522 RFID

Postby Benj » Tue Feb 02, 2016 4:54 pm

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: 443
Joined: Wed Nov 07, 2007 6:51 pm
Location: Antwerp Belgium
Has thanked: 111 times
Been thanked: 99 times
Contact:

Re: Mifare RC522 RFID

Postby MJU » Mon Feb 08, 2016 6:34 pm

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


You've asked for it... :)