Product Description
Automatically distinguish wiegand input format upto 40 bits
WG2RS232 converter is designed for embedding into products manufactured by third-parties, this converter is designed with 2 ports for taking up to 2 Wiegand sources using Wiegand 26, or Wiegand 37 bit format and converting it to a RS232 data stream at 9600 Baud.
Specification
• Two separated wiegand input ports.
• Two RS232 output ports.
• DC operation from 7 V – 15V DC
• Wiegand 26 bit & Wiegand 37 bit format input
• Outputs hexadecimal ASCII characters at 9600 Baud.
• Small unit size of 49 x 45mm
• 4 mounting holes
NO need to set the wiegand input format, converter will automatically distinguish the Wiegand format and transfer the to RS232 data stream
Wiegand input at PORTA, RS232 output will from RS232 PORT1, Wiegand input at PORTB, RS232 output will from RS232 PORT2, two groups Input and out will no affect each other.
Connector Pin Description:
Wiegand input format description:
Wiegand protocol provides 2 lines for data transfer. A pulsed transition on the DATA1 line indicates a logic 1 bit, while a pulsed transition on the DATA0 line indicates a logic 0 bit. In their idle state both lines are held high. During data transfer the appropriate logic line will pulse low for 50uS followed by a period of 2ms where both lines are held high. In this fashion each bit is transmitted in sequence until all bits are sent. The end of the transmission is signaled by both lines being held high for more than 50mS. The following figure shows an example of the timing sequence for Wiegand protocol.
Wiegand 26 input format description:
Wiegand 26 protocol is defined as a stream of 26 bits, consisting of 1 Even parity bit, 24 data bits, and 1 Odd parity bit.
Conver output with Wiegand26 bits input is:
The converter will read a signal presented in Wiegand 26 format and after checking for parity and bit length will convert the data stream to a serial RS232 output on the corresponding output connector. As only 24 bits of the 26 bit stream is data the string is converted to 6 ASCII coded characters representing 24bits in hexadecimal coding.
The format for this is:
XXYYZZ<crn> where XX are the hexadecimal representation of bits 1-8
YY are the hexadecimal representation of bits 9-16
ZZ are the hexadecimal representation of bits 17-24
<crn> is a carriage return character $0D
Wiegand 37 input format description:
Wiegand 37 protocol is defined as a stream of 37 bits, consisting of 1 Even parity bit, 35 data bits, and 1 Odd parity bit.
Converter output with Wiegand37 bit output is:
The converter will read a signal presented in Wiegand 37 format and after checking for bit length will convert the data stream to a serial RS232 output on the corresponding output connector. As only 35 bits of the 37 bit stream is data the string is converted to 9 ASCII coded characters representing 35bits in hexadecimal coding.
The format for this is:
MKKXXYYZZ<crn> where M is the hexadecimal representation of bits 1-3
KK are the hexadecimal representation of bits 4-11
XX are the hexadecimal representation of bits 12-19
YY are the hexadecimal representation of bits 20-27
ZZ is the hexadecimal representation of bits 28-35
<crn> is a carriage return character $0D
Eg:
1AA005322<crn> represents the wiegand data of 1AA005322 arriving on RS232 port
Converter output for other Wiegand format
Converter will accept wiegand input upto 40 bits, when other wiegnad input is used(not Wiegand26 and Wiegand37 bits) the converter will outupt data in following format : LL D4 D3 D2 D1 D0
LL is the hexadecimal representation of wiegand bit length, i,e, how many wiegand bit is input
D4 D3 D2 D1 D0 is the hexadecimal representtation of 40 bits data
for example,
example a) output data is 04 00 00 00 00 0A
means you got 4 bit wiegand input, the data is 1010 ( BINARY from Hexdecimal “A”)
example b) output data is 22 01 AB CD 12 4F
meabs you got 34bit wiegand input, and the data is 01 1010 1011 1100 1101 0001 0010 0100 1111(BINARY from Hexdicimal 01 AB CD 12 4F, you need to take total 34 bit from right to left)
RS232 interface setting:
The serial output stream is sent at 9600 Baud, 8 data bits, no parity, 1 stop bit.
Converter Dimensions:
The conveter is with small size and 4 intall holes, hole diameter is 3mm.
