Description
PS2 Keyboard Driver Module
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.
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.
Features:
- Convert the PS2 protocol to TWI/IIC,UART, parallel interface
- Add the key state detection function
Applications:
- Robot
- Electronic products & projects
Package Includes:
1 x PS2 Keyboard Driver Module
Specifications
Operating Voltage (DC) | 5V |
Baud rate | 19200 |
Dimensions | 39x31x18 mm |
Weight | 11gm |
Reviews
There are no reviews yet.