News Center

What is the difference between the PS2 interface and the USB interface?

What is the difference between the PS2 interface and the USB interface?

The PS/2 interface is an interface on a PC-compatible computer system that can be used to link a keyboard and mouse

The name PS/2 comes from the personal computer introduced by IBM in 1987: PS/2 series


The PS/2 mouse connection is usually used to replace the old serial mouse interface (DB-9 RS-232); the PS/2 keyboard connection is used to replace the large 5-pin DIN interface designed for IBM PC/AT


The keyboard and mouse interfaces of PS/2 are very similar in electrical characteristics, the main difference is that the keyboard interface requires two-way communication


In the early days, if the keyboard and mouse sockets were reversed, most desktop motherboards would not recognize the keyboard and mouse.


Let me introduce to you what the PS2 interface is and what is the difference between the PS2 interface and the USB interface


1. What is the PS2 interface?


1. The PS/2 interface is the most common mouse interface at present. It was originally a patent of IBM, commonly known as "small mouth".

This is a special interface for mouse and keyboard, it is a 6-pin circular interface


But the mouse only uses 4 pins to transmit data and power supply, and the other 2 pins are empty pins

The transmission rate of the PS/2 interface is slightly faster than the COM interface, and it is the standard interface of the ATX motherboard. It is one of the most widely used mouse interfaces, but it still cannot make the high-end mouse fully exert its performance, and does not support hot swapping.

In the BTX motherboard specification, this is also the interface that is about to be eliminated. 


2. It should be noted that when connecting the PS/2 interface mouse, you cannot insert the keyboard PS/2 interface by mistake (of course, you cannot insert the PS/2 keyboard into the mouse PS/2 interface)

In general, for a motherboard that complies with the PC99 specification, the mouse interface is green and the keyboard interface is purple. In addition, it can also be judged from the relative position of the PS/2 interface: the keyboard interface is close to the motherboard PCB, and the mouse is above it. interface

Second, what is the difference between the PS2 interface and the USB interface

The most obvious difference between the PS2 interface and the USB interface is that the PS2 interface is a round port, and the USB interface is a square port.

PS2 interface features:

1. Physical connection: Generally, a keyboard with a five-pin connector is called an AT keyboard, while a keyboard with a six-pin mini-DIN connector is called a PS/2 keyboard. In fact, both connectors have only four pins. Significant 

They are Clock, Data, +5V and Ground, respectively. On the physical connection between the PS/2 keyboard and the PC, you only need to ensure that these four lines correspond one by one.

The PS/2 keyboard provides +5V power supply from the PS/2 port of the PC. The other two pins, Clock and Data, are open-collector, so a pull-up resistor with a large resistance must be connected.

They usually remain high, and are pulled to low when there is an output, and then automatically float to high

2. Electrical characteristics: PS/2 communication protocol is a bidirectional synchronous serial communication protocol

Both ends of the communication are synchronized through Clock and exchange data through Data. If either party wants to inhibit the communication of the other party, it only needs to pull the Clock to a low level.

If it is the communication between the PC and the PS/2 keyboard, the PC must be the host, that is to say, the PC can inhibit the PS/2 keyboard from sending data, but the PS/2 keyboard will not inhibit the PC from sending data

3. Generally, the maximum clock frequency for data transmission between two devices is 33kHz, and most PS/2 devices work at 10-20kHz.

The recommended value is around 15kHz, that is to say, the duration of Clock high and low levels is 40μs


USB interface features :

1. It can be hot-swapped, that is, when the user uses an external device, there is no need to shut down and turn it on, but directly plug in the USB when the computer is working.


2. Easy to carry USB devices are mostly "small, light and thin". For users, it is very convenient to carry a large amount of data with them. Of course, USB hard disk is the first choice.


3. Standard unification Commonly used are hard disks with IDE interface, mouse and keyboard with serial port, printer and scanner with parallel port, but after USB, these application peripherals can all be connected to personal computers with the same standard, then there is USB hard disk, USB mouse, USB printer, etc.


4. Multiple devices can be connected. USB often has multiple interfaces on personal computers, and several devices can be connected at the same time. If a USB HUB with four ports is connected, it can be connected again; four USB devices are connected to By analogy, you can connect as much as possible, and connect all your devices to a personal computer at the same time without any problems



Related News

What is USB HID Mode?

HID devices also can achieve serial communication. Premier Cable provides USB HID Control Cables for touchpad, POS machine, telephone device, VCR remote control, conferening cameras, control panel, etc.

What Cable Does Cisco Switch Console Use?

Which cable is required to establish a console connection from the computer to the Cisco router?You can find more Cisco Console Cables for video conferencing cameras, switches, routers, servers, firewalls, and other devices in Premier Cable.

What Does RET Cable Stand For?

Are you looking for an AISG RET Cable suppliers? Our Premier Cable is a cable harnesses manufacturer for Communication, Telecom, Base Stations, 5G Towers, IoT, Gateway. Leave us messages now to customized your needs.

What is the IX Industrial Ethernet Cable?

IX Industrial Ethernet Cable, the new transformation of Cat6a network cables. Our Premier Cable manufacture and export high-quality products of cable assemblies for medical devices, machine vision cameras, factory automation, robotics, PoE (Power over Ethernet), and industrial switches.

Is Servo Motor and Servo the Same Thing?

With the development of industrial automation and IoT, Servo Motor plays an important part. Our Premier Cable provides the Servo Motor Encoder Control Cable for robotics, smart networked vehicles, medical, textile, 3C, industrial automation, smart factories, IoT, AGV, and so on.

What does a NMEA 2000 do?

Are you looking for the NMEA 2000 Supplier? Our Premier Cable designs and manufactures cable assembly connectors that support open standard cables, cable assemblies, connectors, terminals, and power supplies for NMEA 2000 systems.