Shield reads the card for doesn't recognise it

Control electric door locks and strike plates using your Arduino and an RFID module. Serial interface for an external RFID reader, and a switched output for door strike control. [Product page]
Post Reply
patinnes
Posts: 4
Joined: Sat Mar 05, 2016 4:30 am

Shield reads the card for doesn't recognise it

Post by patinnes » Sat Mar 05, 2016 4:56 am

Hello,

I have loved making the Practical Arduino RFID Access Control System, and using the unaltered code from the website, itappears to read the card without problem (see below) but when I enter the 00FFFFFFFF into the programme at Tag 1(see below) it still comes back with 'Tag not authorised'. Should I be changing some other parameters such as tagBytes[6] or tagValue[10] or perhaps change "while (bytesRead < 12)" etc. Note the writable cards/tags I am using have not been programmed and are just straight from the manufacturer. Do they perhaps need to be programmed to a certain format first?

RFID reader starting up
Tag read: 00FFFFFFFF
Checksum: FF -- passed.
Tag not authorized

Tag read: 00FFFFFFFF
Checksum: FF -- passed.
Tag not authorized


"00FFFFFFFF", // Tag 1
"04146E8BDD", // Tag 2
"0413BBBF23", // Tag 3

Best regards

Patrick

patinnes
Posts: 4
Joined: Sat Mar 05, 2016 4:30 am

Re: Shield reads the card for doesn't recognise it

Post by patinnes » Thu Mar 10, 2016 8:23 pm

Ok folks,

I know this post might not be as sexy as trying to get a NFD to work with the RFID shield, but can someone at least tell this RFID novice if you actually need to programme a 'blank' card/fob straight out of the factory, or should the ID-20LA combined with the Practical Arduino sketch be able to read and recognise any 125kHz EM4001 type card regardless of the code on it?

Eyebrow
Posts: 5
Joined: Mon Feb 29, 2016 1:32 pm

Re: Shield reads the card for doesn't recognise it

Post by Eyebrow » Fri Mar 11, 2016 5:43 am

Patinnes,

Assuming its a standard 125Khz card, it should be able to read the UID fine straight from factory. However if it is a HID card or something like they, they can do some funky stuff to it.


I'm assuming you have already past this though:

You will need to "Read" the card first to find out the UID of the card. Each RFID Card has a unique UID. Once you have this unique UID you can then put it into the sketch as an "Approved" or "Allowed" card to unlock the door.

I'm not familiar with how the practical arduino sketch works, but I assume is has a section in it for "approved" or "allowed" cards.

Also, with regards to reading the UID of the card, I think they supply a small snipped of code you can run to see if your device is working. This may allow you to read the UID from the serial interface.

I hope this helps.

patinnes
Posts: 4
Joined: Sat Mar 05, 2016 4:30 am

Re: Shield reads the card for doesn't recognise it

Post by patinnes » Sun Mar 13, 2016 11:36 am

Hi Eyebrow,

Thanks for the feedback. The sketch does show the UID it has read, but I'm wondering it it shows everything it has read or whether it is truncating things. I think I'm going to have to buy a proper card reader/burner/writer that can display exactly what it has read.

Regards
P

Eyebrow
Posts: 5
Joined: Mon Feb 29, 2016 1:32 pm

Re: Shield reads the card for doesn't recognise it

Post by Eyebrow » Wed Mar 30, 2016 1:49 pm

Can you paste the serial monitor output when you scan the card?

patinnes
Posts: 4
Joined: Sat Mar 05, 2016 4:30 am

Re: Shield reads the card for doesn't recognise it

Post by patinnes » Sat Apr 09, 2016 6:18 am

Finally got a burner, and discovered that the Test Card that was sent with it also reads as 00FFFFFFFFF via the serial monitor, even though it is clearly labelled as 0002917212 044,33628. I've even directly entered 0002917212 into the sketch to see if it might read it correctly such that it might be just the serial monitor showing the wrong casrd read, but no.

I have not changed anything else in the sketch from what I downloaded, but I am using an ID-20LA instead of the ID-12 or ID-20. I wouldn't have thought that would make a difference though? Perhaps the ID-20LA has different requirements from the ID-20??

Has anyone else used the ID-20LA with this sketch successfully?

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest