Model Number : HCC960
Feature
HCC960 is 15 keys pin pad with 16x2 display, widely used for banks, POS and retail systems.
Description
16x2 LCD display, no voice.
Communication Protocol
RS232C interface: 9600, N, 8, 1
Option 1: power supplied by USB, DB9F for communication
Option 2: power supplier by PS/2 interface, DB9F for communication
Option 3: powered by the first feet of DB9F, voltage is 5V
DB9F signal definition:
PIN2: TXD
PIN3: RXD
PIN5: GND
Command list
1. ESC I (0x1b 0x49)
Function: Display “ ENTER passed:”, allowed to enter. Push “ENTER” key data will be transferred.
2. ESC E ( 0x1b 0x45)
Function : Display “ TRY AGAIN!”, allowed to enter. Push “ENTER” key data will be transferred.
3. ESC F ESC I (0x1b 0x46 0x1b 0x49 )
Function: Display “ ENTER passed:”, allowed to enter. Push “ENTER” key data will not be transferred, to be read by DEC+G command
4. ESC F ESC E (0x1b 0x46 0x1b 0x45 )
Function: Display “ TRY AGAIN!”, allowed to enter. Push “ENTER” key data will not be transferred, to be read by ESC+ G command
5. ESC G (0x1b 0x47 )
Function: Read data, usually used after ESC F ESC I or ESC F ESC E commands
After ESC F ESC I or ESC F ESC E command, if the pin pad received ESC+ G command when user entered password, but haven’t push “ENTER ” key, this function is same to ESC I or ESC E.
6. ESC M (0x1b 0x4d)
Function: send data for keys, send 0x08 for “CLEAR” key, send 0x0d for “ENTER” key.
7. ESC N XX(0x1b 0x4e XX)
Function: defined password digits. XX is 0x00 ~ 0x30.After command defined the length of password, enter below command respectively:
ESC IESC E
ESC F ESC IESC F ESC E
When the full password digits are entered, it will automatically send data, no need to push “ENTER” key
Data Return
The format of data return: STX (0x02), entered data BTX (0x03).
Note:There is no 0x02 and 0x03 after ESC M command
Key table
Keys | ASCII Code | Keys | ASCII Code |
0 | 0x30 | 6 | 0x36 |
1 | 0x31 | 7 | 0x37 |
2 | 0x32 | 8 | 0x38 |
3 | 0x33 | 9 | 0x39 |
4 | 0x34 | ENTER | 0x0d |
5 | 0x35 | CLEAR | 0x08 |