![]() |
Holy crap, check out the Dangerous Things store! |
RFID door using strike plate + Wiegand interface |
Post Reply
|
Page <12 |
| Author | ||
amal
Admin Group
Joined: 22 November 2005 Location: United States Status: Offline Points: 2061 |
Post Options
Thanks(0)
Quote Reply
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 |
||
![]() |
||
bolsontanker
Newbie
Joined: 08 February 2010 Location: Oregon Status: Offline Points: 11 |
Post Options
Thanks(0)
Quote Reply
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.
|
||
![]() |
||
amal
Admin Group
Joined: 22 November 2005 Location: United States Status: Offline Points: 2061 |
Post Options
Thanks(0)
Quote Reply
Posted: 07 March 2010 at 6:50pm |
|
Coolio. My reader is on the way already so I'll have something to play with soon enough.
True ;) |
||
|
Amal ;)
www.amal.net |
||
![]() |
||
Post Reply
|
Page <12 |
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |