USB 3.0 keyboards, signal to pins for keys?

In summary: PinoutsIn summary, the USB 3.0 cable is not necessary for a keyboard and the 5V pin in the USB cable powers the keyboard. The keyboard uses this power to scan the keys and send the key codes back to the computer through the differential pair in the USB cable. The basic 4-pin pinout for a USB cable includes 5V, ground, and the differential signal pair.
  • #1
mesa
Gold Member
695
38
I have a couple quick questions on keyboards with a USB 3.0 cable.

When we first turn on our computers, is it the 5V pin that turns on the keyboard? When we press a key such as 'esc' or 'enter', through what pin(s) do these signals get sent to the computer?

Thanks!
 
Computer science news on Phys.org
  • #2
I can't imagine why a keyboard would need to utilize the superspeed capabilities of USB 3.x
My guess is it uses the same data pins as the previous USB to be backward compatible.
But then who knows for sure except the manufacturer
 
  • #3
Agreed, high-speed is not needed for a USB keyboard (even for a fast typist). :smile:
mesa said:
When we first turn on our computers, is it the 5V pin that turns on the keyboard? When we press a key such as 'esc' or 'enter', through what pin(s) do these signals get sent to the computer?
The 5V line in the USB cable is what powers the peripheral like a keyboard. That power is used by ICs in the keyboard to scan the keys and send the appropriate key codes back to the computer for whatever keys are pressed (over the USB cable via the differential pair in the USB cable). Just focus on the basic USB cable and its 4-pin pinout (5V, Ground, and the differential signal pair):

https://en.wikipedia.org/wiki/USB

upload_2019-2-16_16-2-1.png
 

Attachments

  • upload_2019-2-16_16-2-1.png
    upload_2019-2-16_16-2-1.png
    4.6 KB · Views: 533
Last edited:
  • Like
Likes jim mcnamara

FAQ: USB 3.0 keyboards, signal to pins for keys?

1. What is the difference between USB 3.0 and USB 2.0 keyboards?

USB 3.0 keyboards have faster data transfer speeds and are more efficient in terms of power consumption compared to USB 2.0 keyboards.

2. How many pins are required for a USB 3.0 keyboard?

A USB 3.0 keyboard requires 9 pins for data transfer, which is an increase from the 4 pins required for USB 2.0 keyboards.

3. Can a USB 3.0 keyboard be used with a USB 2.0 port?

Yes, a USB 3.0 keyboard is backwards compatible with USB 2.0 ports. However, it will only operate at USB 2.0 speeds.

4. How does the signal to pins work in a USB 3.0 keyboard?

The signal to pins in a USB 3.0 keyboard uses a serial communication protocol, where data is transmitted one bit at a time through a single data line. This allows for faster data transfer compared to USB 2.0 keyboards, which use a parallel communication protocol.

5. Are there any advantages to using a USB 3.0 keyboard over a USB 2.0 keyboard?

Aside from faster data transfer speeds and lower power consumption, USB 3.0 keyboards also have the ability to support more complex and advanced features such as backlighting and programmable keys.

Back
Top