WDG-5912 Spec Sheet Programmable USB Wedge WDG-5912SS Page 1 of 2
Electrical and Mechanical Specifications Product Specifications The WDG-5912 Wedge is a compact and durable device which automatically adds badge data to IBM and compatible PC systems, Tektronix systems, MAC OS X, as well as most popular POS terminals. The Wedge enhances productivity in a wide variety of retail, security , and Time & Attendance applications by converting badge, wand, or scanner information to the appropriate keystrokes. Input can be Wiegand, Strobed ABA, or RS232 Serial data.
CYPRESS WDG-5912 Connection Diagram Cypress Computer Systems, Inc. • 1778 Imlay City Rd. • Lapeer, MI 48446-3206 TX(810)245-2300 • FX(810)245-2332 • www.cypresscom.
Standard WDG-5912 Connections LED (Brown) Data 1 / Data (White) Data 0 / Strobe(Green) +5 Vdc Out (Red) GND (Black) WDG-5912 CYPRES S DB-9 Male USB Cable N/C USB “B” Supply Voltage: 5 Vdc from USB Interface Supply Current: 100mA 5 1 Readers requiring 100mA or greater current or greater than 5 VDC will require an external supply.
WDG-5912 Dimensions 4.25” (10.8 cm) Top View 1.125” (2.86 cm) Side View 2.625” (6.67 cm) ©2005 Cypress Computer Systems, Inc. 9/20/05 WDG-5912 Connection Diagram V1.
WDG-5912 External Supply for Reader An external power supply may be required for applications where the combined current requirements of the wedge and reader exceed the capacity of the USB interface. A power supply will also be required for readers that specify more than 5 volts supply voltage (ie 12VDC ) (-) (+) Reader Power Supply Ground is connected to Reader and Wedge. Power (+VDC) is connected to reader ONLY. External power should not be applied to +5 VDC connection of wedge.
CYPRESS WDG-5912 Programming Instructions Cypress WDG-5912 USB Programmable Wedge ©2010 Cypress Computer Systems, Inc. 2/1/10 WDG-5912 Programming Instructions Version 1.0.
WDG-5912 Programming - Getting Started A programming interface is provided for the WDG-5912 through the RS-232 port. Programming There are some important differences between the 4612 series and 5912 procedures. Required equipment to program the WDG-5912: 1. RS-232 cable F-F Crossover type. 2. Terminal program (such as Hyperterminal) running VT-100 emulation at 9600 baud, 8, N, 1 with Echo ON, no hardware handshaking. 3. RS-232 port on host computer running the terminal program.
Standard WDG-5912 Connections LED (Brown) Data 1 / Data (White) Data 0 / Strobe(Green) +5 Vdc Out (Red) GND (Black) WDG-5912 DB-9 Male CYPRESS USB Cable N/C USB “B” Supply Voltage: 5 Vdc from USB Interface Supply Current: 100mA 5 1 Readers requiring 100mA or greater current or greater than 5 VDC will require an external supply.
WDG-5912 Programming - The Programming Interface Basic Command Structure: All commands start with a Backslash “\” and are upper case only \P - Load Simulator Template \P@ = defaults \PH = Badge Peeler {hexadecimal output} \Q - Load Reader Template \Q@ = defaults \QH = Badge Peeler {No Processing of Formats} \R - Show Reader Parameters \S - Show Simulator Parameters \L - Burn specified NVRAM locations \P [template code] \P@ - load default Simulator Parameters \PA - load profile A ...
Step by Step - Using the Wedge for custom Wiegand formats This section will explain how to use the Cypress programmable wedge to generate Facility Code and Badge numbers from Wiegand data streams of 24 to 64 bits. The user should be familiar with Decimal, Hexadecimal and Binary number systems and a reader should reconnected to the wedge and be operational. condition. The user will also need to know any formatting details of the decoded data.
Step by Step - Using the Wedge for custom Wiegand formats This worksheet grid represents the internal 8 byte buffer of the Cypress Programmable Wedge Bit Number (Decimal) from LSb to MSb Byte number Most Significant Bit 0x01 Least Significant Bit 0x40 BIT count 2 F 6 2 7 1 2 First write the individual Hexadecimal digits over each 4 bit group (2 per byte) starting from Right to left. The upper most significant bits/bytes are zero padded.
Step by Step - Using the Wedge for custom Wiegand formats 2 F 6 2 7 1 2 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 00000010111101100010011100010010 21 22 23 24 25 26 27 28 29 2A 2B 2C 2D 2E 2F 30 31 32 33 34 35 36 37 38 39 3A 3B 3C 3D 3E 3F 40 PFFFFFFFFBBBBBBBBBBBBBBBP 4 5 6 7 Assuming we know the badge format, we can define bit functions by location.
Step by Step - Using the Wedge for custom Wiegand Theformats Wiegand preprocessor string for Wiegand Preprocessor 0 (WPP0) would be: \L050C50828083010 Broken down to each parameter: \L ; Programming string prefix 05 ; There are 5 bytes of data in the programming string 0C5 ; The address in the programming parameter map of WPP0 08 ; Defines 8 byte (64 bit buffer) to hold data 28 ; Start of facility code bits in 64 bit buffer (0x28) 08 ; Defines 8 bit length of facility code data 30 ; Start of ba
Step by Step - Using the Wedge for custom Wiegand formats The programming string to tell the wedge “Use WPP0 on 26 bit formats would be: \L0107D02 Broken down to each parameter: \L ; Programming string prefix 01 ; There are 1 bytes of data in the programming string 077 ; The address of the programmed parameter (26 bit) 02 ; Parameter that defines use of Wiegand Preprocessor 0 (WPP0) Lets assume we want the Facility Code to output as a 3 digit decimal number.
Step by Step - Using the Wedge for custom Wiegand formats If the four strings are entered through the programming interface: \L050C50828083010 \L0107D02 \L0105B03 \L0105D05 Then our output from the raw data in our example would be: 12305001 ©2010 Cypress Computer Systems, Inc. 2/1/10 WDG-5912 Programming Instructions Version 1.0.
WDG-5912 Programming - The Reader interface Screen Commands A similar screen will appear when connected to a VT-220 type terminal \R 073 Interface: 074 Format: 075 24 25 26 27 28 00 00 01 00 00 45 46 47 48 49 00 00 00 00 00 65 66 67 68 69 00 00 00 00 00 85 86 87 88 89 00 00 00 00 00 0C5 0CB 0DC 0E1 ======== Reader Parameters ======= 00 00 29 00 50 00 70 00 90 00 User 0 WPP: + Offset 0: User 1 WPP: Odd Mask 1: 30 00 51 00 71 00 91 00 31 00 52 00 72 00 92 00 32 00 53 00 73 00 93 00 33 00 54 00 74 00 9
WDG-5912 Programming - The Reader interface Screen Wiegand Binary Format Table 075 24 25 00 00 45 46 00 00 65 66 00 00 85 86 00 00 26 01 47 00 67 00 87 00 27 00 48 00 68 00 88 00 28 00 49 00 69 00 89 00 29 00 50 00 70 00 90 00 30 00 51 00 71 00 91 00 31 00 52 00 72 00 92 00 32 00 53 00 73 00 93 00 33 00 54 00 74 00 94 00 34 00 55 00 75 00 95 00 35 01 56 00 76 00 96 00 36 00 57 00 77 00 97 00 37 00 58 00 78 00 98 00 38 00 59 00 79 00 99 00 39 40 41 42 00 00 00 00 60 61 62 63 00 00 00 00 80 81 8
WDG-5912 Programming - Details of the Wiegand PreProcessor 0C5 User 0 WPP: 0000000000 This is a little complicated but definable. The WPP tells the Reader Interface how to process the incoming bit stream. Number of bytes needed to buffer the read, how far into the buffer the Facility Code field is, number of bits in the Facility Code, starting position of the Badge Field, how many bits. Letʼs take a typical coding form and create a User Defined WPP.
WDG-5912 Programming - Details of the Wiegand PreProcessor Pick a buffer size that will hold the entire read (64,80, or 103) 1 2 3 4 5 6 7 7 01234567890123456789012345678901234567890123456789012345678901234567890123456789 e011010FFFFFFFFFFCCCCCCCCCCCCCCCCCCo 123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0 1 2 3 4 5 80 bit Buffer Example User Process: 0A 2E 10 3E 12 16 bits in Facility Code Field 18 bits in Card Number Field 0CB + Offset: 0000 0CB is the address of the +O
WDG-5912 Programming - The Simulator (Output) Screen \S A similar screen will appear when connected to a VT-220 type terminal ====== Simulator Parameters ======= 004 0 1 2 3 4 5 6 7 8 9 # * 45 16 1E 26 25 2E 36 3D 3E 46 5A 66 Keypad 010 0 1 2 3 4 5 6 7 8 9 A B C D E F 45 16 1E 26 25 2E 36 3D 3E 46 1C 32 21 23 24 2B Keyboard 020 Enter Space Tab Return ALT CTRL SHFT MdRel BS 5A 29 0D 5A 19 11 12 F0 66 029 05D 05F Header [0] = len, [1..
WDG-5912 Programming - The Simulator (Output) Screen 05B Number of Digits, Radix in Field 1: 05 00 05D Number of Digits, Radix in Field 2: 05 00 Field 1 is typically the Facility Code Field, 2 is the Badge Field. If you donʼt want the Facility Code, simply enter a 0 for the Number of digits. The significance of the fields is determined by the Processing Format chosen.
Header, Middle, and Trailer Strings It is possible to send characters and control keystrokes such as the Enter key either before, between fields, and after the keyboard data has been sent. The header is sent before the data string is sent from the USB port, the Middle is sent between Field 1 and Field 2 and the Trailer is sent after Field 2. For Header, Middle, Trailer strings - The number of characters and scan codes must be included in the string.
Typical Wiegand Processes 35 bit Corp 1000 - CARD NUMBER ONLY, followed by TAB key \L0108002 \L050C508200A2C14 \L0105D07 \L0105B00 \L02059120D (This is the factory default but it is a good place to start if you want to experiment with WPPs) Standard 26 bit - 10 digit output, followed by Enter key \L0107702 \L050C50828083010 \L0105D05 \L0105B05 \L02059125A If you want to see all bits in the badge as well as a count of the number of bits, use the ʻHʼ Profiles: \PH \QH 35=000003F0093A Number of bits ©201
Programming the Cypress 5912 programmable wedge using the Cypress Website utility Determining Badge Number Parameters Badge Start 17 bits 1234567890123456789012345678901234567890 P0 1 1 0 1AAAAA AAAAAXXX XXXXXX XXXX XXXXXXXP Badge Length = 20bits Badge Start = 17 (17 bits starting from left side) Badge Len = 20 Determining Facility Code Parameters Facility Code Start 7 bits 1234567890123456789012345678901234567890 P0 1 1 0 1AAAAA AAAAAXXX XXXXXX XXXX XXXXXXXP FC Length = 10bits FC Start = 7 (7 bits starti
Typical Strobed / ABA Processes These are the parameters that will need to be changed to work with a magstripe / ABA type reader. Settings should be made after using the reset to factory defaults jumper. The parameters listed below may need to be changed depending on the exact type of reader. This example will work with an Mercury MR-5 reader.
WDG-5912 Programming - Reset to Factory Defaults It may be necessary to reset the WDG-5912 to factory default parameters. If the wedge is to be reset the cover will have to be removed. Remove USB cable from wedge. A jumper will need to be installed on J5. Install USB cable to apply power to wedge. Wait at least 30 seconds. Remove USB cable and then remove Reset Jumper from pins of J5. Jumper can be stored on one pin of the header. Reset Jumper ©2010 Cypress Computer Systems, Inc.
3 3 4 4 5 5 6 6 7 7 Cypress Computer Systems, Inc.
APPENDIX A - Keystroke ID code lookup table ©2010 Key Code Key Code Key Code 0 27 a 84 A 4 1 1E b 85 B 5 2 1F c 86 C 6 3 20 d 87 D 7 4 21 e 88 E 8 5 22 f 89 F 9 6 23 g 8A G 0A 7 24 h 8B H 0B 8 25 i 8C I 0C 9 26 j 8D J 0D Backspace 2A k 8E K 0E Enter 28 l 8F L 0F Keypad 0 62 m 90 M 10 Keypad 1 59 n 91 N 11 Keypad 2 5A o 92 O 12 Keypad 3 5B p 93 P 13 Keypad 4 5C q 94 Q 14 Keypad 5 5D r 95 R 15 K
WDG-5912 STATEMENT OF COMPLIANCE This device complies with part 15 of the FCC Rules. Operation is subject to the following two conditions: (1) This device may not cause harmful interference, and (2) this device must accept any interference received, including interference that may cause undesired operation. ©2010 Cypress Computer Systems, Inc. 2/1/10 WDG-5912 Programming Instructions Version 1.0.
Using the Cypress Programmable Wedge for custom Wiegand formats This application note will explain how to use the Cypress programmable wedge to generate Facility Code and Badge numbers from Wiegand data streams of 24 to 64 bits. This application note assumes that the user is familiar with Decimal, Hexadecimal and Binary number systems and that a reader is connected to the wedge and is operational. The user will also need to know any formatting details of the decoded data.
This worksheet grid represents the internal 8 byte buffer of the Cypress Programmable Wedge Bit Number (Decimal) from LSb to MSb Byte number Most Significant Bit 0x01 Least Significant Bit 0x40 BIT count 2 F 6 2 7 1 2 First write the individual Hexadecimal digits over each 4 bit group (2 per byte) starting from Right to left. The upper most significant bits/bytes are zero padded.
2 F 6 2 7 1 2 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 00000010111101100010011100010010 21 22 23 24 25 26 27 28 29 2A 2B 2C 2D 2E 2F 30 31 32 33 34 35 36 37 38 39 3A 3B 3C 3D 3E 3F 40 PFFFFFFFFBBBBBBBBBBBBBBBP 4 5 6 7 Assuming we know the badge format, we can define bit functions by location.
The Wiegand preprocessor string for Wiegand Preprocessor 0 (WPP0) would be: \L050C50828083010 Broken down to each parameter: \L ; Programming string prefix 05 ; There are 5 bytes of data in the programming string 0C5 ; The address in the programming parameter map of WPP0 08 ; Defines 8 byte (64 bit buffer) to hold data 28 ; Start of facility code bits in 64 bit buffer (0x28) 08 ; Defines 8 bit length of facility code data 30 ; Start of badge number data in 64 bit buffer (0x30) 10 ; Defines 1
The programming string to tell the wedge “Use WPP0 on 26 bit formats would be: \L0107D02 Broken down to each parameter: \L ; Programming string prefix 01 ; There are 1 bytes of data in the programming string 077 ; The address of the programmed parameter (26 bit) 02 ; Parameter that defines use of Wiegand Preprocessor 0 (WPP0) Lets assume we want the Facility Code to output as a 3 digit decimal number. Upper digits will be zero padded from left to right.
If the four strings are entered through the programming interface: \L050C50828083010 \L0107D02 \L0105B03 \L0105D05 Then our output from the raw data in our example would be: 12305001 ©2007 Cypress Computer Systems, Inc. 2/6/07 AppNote Wedge Programming Version 1.0.
2 2 3 3 4 4 5 5 6 6 7 7 ©2007 Cypress Computer Systems, Inc.