Convert the PS2 protocol to TWI/IIC,UART, parallel interface
Add the key state detection function
Wide range of applications
Robot, Electronic products & projects and so on
3. Brief introduction
PS2 keyboard driver module use a small microcontroller to read the data of the PS2 keyboard. The values will be sent to other equipment for usage via serial, parallel or TWI/IIC output. (Please ensure that the MINI JUMPER of the TWI/IIC ENABLE has been connected.)
In a single chip microcomputer project system, there no need to write the keyboard driver, but just read the key information via serial, parallel or TWI/IIC output directly. More convenient.
It will output TTL "0" if no keys had been pressed. If the key outputs "1", it will return to "0".
The serial, parallel and TWI/IIC can work simultaneously. Please remove the MINI JUMPER if there is no slave on the TWI/IIC bus, or the module cannot work well.
4. Working principle
PS2 keyboard driver module uses a piece of programed code of MCU as the controller, to read the state of PS2 keyboard keys. When the keyboard is pressed, the LED lights flashing on the PS2 keyboard driver module, at the same time through serial communication and parallel I/O port or TWI/IIC(Through the short circuit cap option),Keys will be output.
For example, Press "A" key,serial port output data 0x1c, parallel I/o port output 0x1c by D7-D0. The output scan code can refer to the back of the content.
Pop-up output. In addition, two sets of buttons, TTL output when there is no buttons to press the "0", and have a button to press the output "1", after the button pop-up restore "0" (each key on keyboard effectively. In addition to pause/break key.
Serial, parallel, TWI/IIC can work at the same time. If there is no connection from the machine on the IIC/TWI bus, please remove short-circuit cap module above. Otherwise, the module will not be able to work properly.
1.TWI/IIC address is 4. Module is for the host.
2.Please remove the MINI JUMPER if there is no slave on the TWI/IIC bus, or the module cannot work well.
3. UART Baud rate: 19200
6. Performance parameter
1>. Working voltage:DC5V
2>. Key information is sent out by serial(Baud rate 19200) and parallel
3>. Corresponding speed
4>. Apply to PC PS2 keyboard
5>. Module size: 39.1mm(L)*31.2mm(W)*18mm(H)
7. Module instruction
1>. Serial interface circuit
2>. Parallel interface circuit
1 X KEYBOARD DRIVER TWI / IIC SERIAL PORT TRANSMISSION MODULE For ARDUINO