notre blog

D0wn et D1rty avec Wiegand

A few months ago, we published a history of where Weigand came from and a XCHARXlight-on-technical-detailsXCHARX overview of how it works. For those of us that are more engineer-y, it left a bit to be desired. For me in particular, I recently was doing some low level work with one of my engineers. We were monitoring the lines from a badge reader and I couldnXCHARXt recall what the spec for the pulse width should be. For most people, this level of detail is overkill, but since for those of you who get down and dirty with D0/D1 of Wiegand, this post is for you.

Comme vous vous en souviendrez peut-être dans notre précédent article, Wiegand est utilisé indifféremment pour décrire un certain nombre d'éléments - un effet électronique, une carte d'accès, un flux de bits

Wiegand
Wiegand - La vénérable interface de contrôle d'accès est expliquée en détail dans cet article.

associated with a card, or a specific reader-to-card interface. We are going to be referring to Wiegand as the signal that comes from an access control reader, out of the Data 0 (D0) and Data 1 (D1) lines. This data is interpreted as an access card number by parsing the bit stream.

La norme Wiegand n’est qu’une norme de facto, mais il existe un Security Industry Association (SIA) document “Protocole de contrôle d'accès standard pour l'interface de lecteur Wiegand (tm) 26-bit” which describes an agreed standard that should work with all manufacturers’ panels. Some of the basic information found in this document is found below.

When a reader with a Wiegand interface is hooked up to an access panel, it generally includes 6 lines with the below color scheme, which interfaces with the back end access panel.

Câblage Wiegand
Les sorties D0 (vert) et D1 (blanc) sont des lecteurs Wiegand aux couleurs presque universelles.

Back when Telaeris was developing our XPressProx mobile proximity reader to read HID Prox cards, we needed to demodulate the data directly from the RF signal (*). Once we decoded this signal, the data was pushed both over a USB connection as well driving the signal as over standard D0/D1 Wiegand lines. When we hooked up our Agilent 54622D Oscilloscope to the data lines and presented different cards to the reader, these are examples of what we saw:

26bit
Sortie bit 26
Bits de sortie 26 10000000100000010111001011 
   parité même 1            parité impaire 1 
                00000001 Facility = 1    
          BadgeID = 741 0000001011100101 
36bit
Sortie bit 36
 Bits de sortie 36 011011001011001000100101101011100101 
37bit
Sortie bit 37
Bits de sortie 37 0001001000000011111101000001011001000

The 26 bit card is parsed out for you to see as the bit format is almost universally standard. The 36 and 37 bit cards are part of HIDXCHARXs corporate 1000 line, which often mix up the location of the bits in weird and wonderful ways. The security in these cards is often simply that it is difficult to know how a bit stream might be parsed. These bitstreams can come in a variety of lengths, all the way up to 200 for some US Government PIV cards.

Si vous êtes intéressé par ce qui se passe au niveau RF pour les cartes prox de style HID, envoyez-moi un e-mail.

Laisser un commentaire

*

Blog mises à jour

Newsletters


parler à un représentant

Contactez-Nous

Téléphone: 858-627-9700
Fax: 858-627-9702
-------------------------------
9123 Chesapeake Dr.
San Diego, CA 92123
-------------------------------
sales@telaeris.com