Wiegand to RS232 Converter (MA1405) April 2004 Wiegand-to-RS232 Converter (MA1405) MaCaPS MA1405 is a Wiegand-to-RS232 Bidirectional converter. The converter can automatically convert Wiegand input from 3-bit up to 42-bit to a formatted ASCII string. When the formatted ASCII string is used as input to the RS232 port of another MA1405 unit, the formatted ASCII string is reconverted to Wiegand format output. 1 1.1 Specification: Communications: 9600 BPS ASYNC, 8 bits, 1 Stop, No Parity. 1.2 Wiegand Input/Output Format The format of the Wiegand bit stream is shown as follows: Copyright © 2003 MaCaPS International Limited http://www.macaps.com.hk Page 1 of 4 Wiegand to RS232 Converter (MA1405) 1.3 April 2004 RS232 Input/Output Format The format of the RS232 is in the form of 16-byte ASCII string (In Hex format) as follow: The Parity Character P is decoded as follows: RS232 Side 1.4 Wiegand Side P PS PE 0 0 0 1 0 1 2 1 0 3 1 1 Command Data: 4 Bytes Hex Value Description 02H31H30H03H Turn on Reader Green LED 02H31H31H03H Turn off Reader Green LED 02H31H32H03H Toggle LED (Bi-Color LED Turns Orange) 02H32H30H03H Turn on Reader Buzzer 02H32H31H03H Turn off Reader Buzzer 02H33H30H03H Turn on Converter LED 02H33H31H03H Turn off Converter LED 02H34H30H03H Turn on Converter Relay 02H34H31H03H Turn off Converter Relay 02H35H30H03H Turn on Converter Buzzer 02H35H31H03H Turn off Converter Buzzer 02H36H30H03H Turn on Reader Red LED 02H36H31H03H Turn off Reader Red LED Copyright © 2003 MaCaPS International Limited http://www.macaps.com.hk Page 2 of 4 Wiegand to RS232 Converter (MA1405) 2 April 2004 Pin Connectors: The schematic of the MA1405 is shown in the following figure. 2.1 Connector K1 D1: Wiegand Data 1 D0: R: G: Buz: GND: 5V: 12V: Wiegand Data 0 To Reader Red LED To Reader Green LED To Reader Buzzer Ground 5V DC output 12V DC output +: -: Power Supply +12V In Power Supply Ground Copyright © 2003 MaCaPS International Limited http://www.macaps.com.hk Page 3 of 4 Wiegand to RS232 Converter (MA1405) 2.2 DB 9 Male 1. DCD Unused 2. 3. 4. 5. 6. 7. 8. TX data from converter RX data from terminal DTR Unused Ground DSR Unused RTS Unused CTS Unused 3 3.1 April 2004 Example Wiegand-to-RS232 Input: Wiegand (26-bit) Output: 16-byte ASCII string from RS232 port 3.2 RS232-to-Wiegand This is a reversed process of Wiegand-to-RS232 Input: 16-byte ASCII string to RS232 port Output: Wiegand (26-bit) Copyright © 2003 MaCaPS International Limited http://www.macaps.com.hk Page 4 of 4