How to Read Wiegand Format on Android
Agreement Wiegand
This document provides boosted information to help you sympathise the Wiegand and Wiegand interface. Please note that this document applies to BioStar version lower than 1.seven.
What is Wiegand?
Wiegand is the most common communication method used by access control devices. The term Wiegand in BioStar is a communication protocol that connects Suprema device and 3rd party device to send ID data or connects Suprema device with RF reader to transport ID data.
Wiegand Signal
The Wiegand interface consists of three conductors (wires) called Data Zero (Green), Data One (White), and Basis (Black). When no data is being sent, both DATA0 and DATA1 are pulled up to the "loftier" voltage level — usually +5 VDC. For detailed Wiegand Information Cable diagram, please refer to Suprema device manual.
[Figure ane
Wiegand Information Cable for BioEntry Plus]
When a 0 is sent the DATA0 wire is pulled to a low voltage while the DATA1 wire stays at a high voltage. When a 1 is sent the DATA1 wire is pulled to a low voltage while DATA0 stays at a high voltage.
[Effigy 2
Data 0 and Data1 structure (For binary data 11010)]
Pulse width and pulse intervals for Suprema devices
Editable
- BST/BST2/FST/DST: Pulse Width 40 ㎲, Pulse interval 10,000 ㎲
Non-editable
- BEPL/BLN/XPASS: Pulse Width 50 ㎲, Pulse interval 2000 ㎲
Parity Bit
A parity bit is used as a simple quality cheque for the accurateness of the transmitted binary data. Each parity bit should be set up to fifty-fifty or odd. A selected group of information bits volition be united with 1 parity fleck, and the full number of bits should result in either an fifty-fifty or odd number.
Wiegand Format
BioStar supports default 26bit Standard Wiegand Format, Pass Through Wiegand Format and Custom Wiegand Format.
[Figure 3
Wiegand Format Configuration]
Suprema Device and Wiegand
In BioStar, you need to prepare the Wiegand mode; accept Wiegand signal as Wiegand input for farther processing within the device or transport Wiegand point created from the device every bit Wiegand output to tertiary party device. The Wiegand data is transferred to selected management. BioStar allows for both Wiegand Input and Output mode. BioStar activates door relay after receiving Wiegand signal and hallmark is success, alternatively, BioStar sends Wiegand signal to 3rd party controller.
Wiegand Input and Output
A card reader using Wiegand tin pass the User ID or Card ID to the BioStar for verification.
[Figure 4
BioStation used as Wiegand Input]
Suprema device can pass the User ID or Card ID to the 3rd party controller for verification and 3rd party controller opens the doors based on the information received from Suprema device.
Wiegand Mode
Wiegand input/output mode to use when reading carte ID data.
BioStar have post-obit Wiegand modes:
-
Legacy: RF Reader will be treated every bit function of their host device.
-
Extended: RF Reader will be treated as independent device. The extended way assigns RF reader a divide ID which allows them to be associated with doors, included in zones, and exit logs.
[Figure 5
Wiegand Format Configuration - 1]
Customize Wiegand Format
37 Flake Wiegand HID H10304 Carte Format Bill of fare Layout Tab
Card Format Name: 37 Chip Wiegand HID H10304
Card Type: Wiegand
Number of bits: 37
Number of bits to sum for fifty-fifty parity: xix
Address to start from: 0
Number of bits to sum for odd parity: xix
Address to offset from: 18
Number of Facility Code bits (Undefined): 16
Address to start from: 1
Number of Cardholder ID $.25: 19
Address to start from: 17
Number of Event Level $.25: 0
Accost to get-go from: 0
Facility Lawmaking
Facility Lawmaking: 001
1. Go to BioStar Client > Device > Wiegand tab.
2. According to the card format to a higher place, total number of bits is 37. In this instance, click Change Format button to gear up customized Wiegand format.
[Figure 6
Wiegand Format Configuration - 2]
3. Click Custom Wiegand Format.
[Figure vii
Wiegand Format Configuration – 3]
4. Change the Total Bits and click Apply.
[Effigy viii
Wiegand Format Configuration - iv]
5. Set Fifty-fifty Parity, Odd Parity, User ID bits by clicking the blocks. (Facility cod bits are not editable as they are undefined. Mark [Eastward] at the starting bit and mark [O] at the catastrophe bit.)
Number of bits: 37
Number of bits to sum for fifty-fifty parity: nineteen (Address to start from: 0)
Number of bits to sum for odd parity: 19 (Address to start from: 18) (Address to end : 37)
Number of Facility Code bits (Undefined): 16 (Address to start from: 1)
Number of Cardholder ID $.25: 19 (Accost to start from: 17)
Number of Issue Level $.25: 0 (Accost to kickoff from: 0)
Facility Code: 001
[Figure 9
Wiegand Format Configuration - v]
6. Set fifty-fifty parity according to the settings and then click »> button to fix odd parity.
Number of bits: 37
Number of bits to sum for even parity: 19 (Address to kickoff from: 0)
Number of bits to sum for odd parity: 19 (Address to start from: eighteen) (Address to terminate : 37)
Number of Facility Code bits (Undefined): 16 (Address to offset from: 1)
Number of Cardholder ID bits: 19 (Address to outset from: 17)
Number of Consequence Level bits: 0 (Address to get-go from: 0)
Facility Code: 001
[Figure 10
Wiegand Format Configuration - 6]
7. Select Wiegand Fashion and choose betwixt Wiegand Input and Wiegand Output.
Wiegand Input:
-
Wiegand (Card): BioStar receives ID data from Wiegand point and interprets it as Carte ID.
-
Wiegand (User): BioStar receives ID data from Wiegand point and interprets it every bit User ID.
Wiegand Output:
-
Wiegand (Card): BioStar transmits Card ID as Wiegand signal when authentication successes.
-
Wiegand (User): BioStar transmits User ID equally Wiegand signal when authentication successes.
[Figure 11
Wiegand Manner and Wiegand Input/Output Configuration]
Frequently Asked Questions
(Q) Tin nosotros connect HID iClass / HID / Mifare Reader?
(A) Yeah, simply you must know the Wiegand format of the card or RF reader. Also, we exercise non support settings for the facility code and supports upwards to total bit of 64bit and ID chip of 32bit.
(Q) I would like to control doors using Suprema device and RF reader. I have placed carte du jour on the RF reader simply door won't unlock.
(A) Please check the post-obit:
- Cheque the Wiegand wiring (Ground – Data 0 – Data ane) and Wiegand format.
- Bank check the Wiegand mode. Wiegand way should be Wiegand Input (Card) for this case.
- Check if the door relay activates when authenticates from Suprema device.
- Check if the user information is saved in Suprema device.
- Go to Monitoring > Realtime Monitoring.
-
When "[i:one Identify/Verify Fail]" log appears: This log appears when the user information is non saved in the Suprema device or there is difference in Wiegand format. Please check the Wiegand format and send all users to Suprema device again.
-
When no log appears: When in that location are no logs in the Realtime Monitoring even yous placed your bill of fare on the RF reader, this means that no Wiegand signals has been transmitted to Suprema device. Please check the Wiegand wiring and Wiegand mode again.
If you need farther assistance, please refer an commodity of Fresh Desk-bound and contact Suprema TS squad.
Summary
Delight check the post-obit when connecting Suprema devices with 3rd party Wiegand reader.
Data signaling (electric) Check the pulse width and intervals of 3rd party Wiegand reader
Pulse width and pulse intervals for Suprema devices
Editable
- BST/BST2/FST/DST: Pulse Width xl ㎲, Pulse interval ten,000 ㎲
Editable (simply with virtually contempo firmware)
- BEPL/BLN/XPASS: Pulse Width 50 ㎲, Pulse interval 2000 ㎲
Information Format (numeric content)
-
Almost all card data formats are the standard 26 bit format. However, when you demand to customize the card data format, you lot have to configure it correctly to send / receive signals.
Appendix i. Wiegand 34bit Mifare Carte du jour Format Setting Example
one. Customize Wiegand format appropriately.
[Effigy 12
Mifare Menu Format Layout]
ii. Nearly of the Mifare Reader reads carte du jour ID byte social club in LSB. You can change the byte society to MSB or LSB from below bill of fare ID format setting.
[Figure thirteen
Card ID Format]
Appendix 2. Wiegand Format Template
For more than technical assistance with BioStar Wiegand setting, please refer an article of Fresh Desk and contact Suprema TS team. Please transport u.s. your Wiegand format in beneath template.
Bill of fare Format Proper noun:
Carte Type:
Number of bits:
Number of bits to sum for even parity:
Address to beginning from:
Number of bits to sum for odd parity:
Accost to start from:
Number of Facility Code bits:
- Facility Code bits (Undefined / defined):
Address to commencement from:
Number of Cardholder ID bits:
Address to commencement from:
Number of Result Level $.25:
Address to beginning from:
Facility Lawmaking:
Source: https://kb.supremainc.com/knowledge/doku.php?id=en:1xfaq_understanding_wiegand
0 Response to "How to Read Wiegand Format on Android"
Postar um comentário