RFID Toys Homepage
Holy crap, check out the Dangerous Things store!
Forum Home Forum Home > Projects and such > Book Projects
  New Posts New Posts RSS Feed - RFID door using strike plate + Wiegand interface
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

RFID door using strike plate + Wiegand interface

 Post Reply Post Reply Page  <12
Author
Message
amal View Drop Down
Admin Group
Admin Group
Avatar

Joined: 22 November 2005
Location: United States
Status: Offline
Points: 2061
Post Options Post Options   Thanks (0) Thanks(0)   Quote amal Quote  Post ReplyReply Direct Link To This Post Posted: 07 March 2010 at 12:55pm
Hmm, as you can see the first 24 bits of your two tags are the same, so the reader must be picking up on the last 26 bits of each tag, which means your site codes should be the same for both tags, but they aren't. The Phidgets spits out hexadecimal data for each tag, and the 3rd byte in is C4, which is 196 in decimal format, which your first tag is reporting on the Wiegand interface. From there it gets odd because the next 8 bits of tag 1 is BD, which should be 189 in decimal.

I'm not that familiar with arduino coding but it looks like the bits from pin 2 and 3 (data 0 and data 1) are getting mixed together in the reader1 variable... not that it matters for your application. I went ahead and bought one of these readers just to play with, but you should know the mathematical limitations of Wiegand26 make it much more likely that you'll see code duplication from tags with different IDs. For example, if you have two tags with IDs 01c8a50511 and A0B0a50511, I'm pretty sure the Wiegand reader will spit out the same ID code for both tags.

Now I'm both curious and impatient :) if you have a spare minute, could post the two separate Wiegand data outputs from the DATA 0 and DATA 1 lines for tags 1 and 2?
Amal ;)
www.amal.net
Back to Top
bolsontanker View Drop Down
Newbie
Newbie
Avatar

Joined: 08 February 2010
Location: Oregon
Status: Offline
Points: 11
Post Options Post Options   Thanks (0) Thanks(0)   Quote bolsontanker Quote  Post ReplyReply Direct Link To This Post Posted: 07 March 2010 at 6:11pm
I would, but it's installed in a project box, in the wall, and the wall putty is drying.   I don't want to move the box and ruin any progress the drying has made.  It seems when I was doing the initial testing portion, that if one wasn't hooked up it gave me some (what seemed to me like) garbage numbers- same for both tags.  There is a strong possibility that I'm wrong on that though :-P.  As far as duplicate tags go, as I'm sure you know, I'm about as worried about that as I am about someone using a "bump key" method of opening my door, if they want in, they'll get in.
Back to Top
amal View Drop Down
Admin Group
Admin Group
Avatar

Joined: 22 November 2005
Location: United States
Status: Offline
Points: 2061
Post Options Post Options   Thanks (0) Thanks(0)   Quote amal Quote  Post ReplyReply Direct Link To This Post Posted: 07 March 2010 at 6:50pm
Originally posted by bolsontanker bolsontanker wrote:

I would, but it's installed in a project box, in the wall, and the wall putty is drying.


Coolio. My reader is on the way already so I'll have something to play with soon enough.

Originally posted by bolsontanker bolsontanker wrote:

As far as duplicate tags go, as I'm sure you know, I'm about as worried about that as I am about someone using a "bump key" method of opening my door, if they want in, they'll get in.


True ;)
Amal ;)
www.amal.net
Back to Top
 Post Reply Post Reply Page  <12
  Share Topic   

Forum Jump Forum Permissions View Drop Down



This page was generated in 0.891 seconds.