The PS2 - TTL Mouse/Keyboard Adapter Module is a device that can communicate with a host device using the 6 pin mini-DIN connector. The mouse will continuously give an output which can be decoded to get the movement in the X-Y plane and also the status of the buttons on the mouse.
The PS/2 Adapter enables you to connect a PS2 device to the Arduino/Seeeduino mainboards. With the help of PS2Keyboard/PS2MouseNlibrary, you can create the bridge between these PS2 device and Arduino/Seeeduino.
The PS/2 connector is a 6-pin Mini-DIN connector used for connecting keyboard and mouse to a PC compatible computer system.The PS/2 designs on keyboard and mouse interfaces are electrically similar and employ the same communication protocol. Today, this connector has been replaced by USB, but as Arduino/Seeeduino, it is also a good choice to use the PS/2 connector as it is more convenient and cheaper when you need a mouse or keyboard.
A PS/2 connector has 6 pins as you can see from the picture. Pin 1 and pin 6 are not connected. Pin 3 is for ground, and pin 4 is for power. The other 2 pins are for clock and data
Features:
Model: PS2
Input Voltage: 5V
Mounting Hole: Screw Mounting Holes Whose Diameter is 2.2mm
Pin Number: 4 Pins
Size: 10.5mm x 7.8mm x 1.4mm
Pinout:
GND
VCC
DAT
CLK