Skip to content
HHackerTube.videoSurprise me

So how does a PS/2 keyboard interface work?

So how does a PS/2 keyboard interface work? on HackerTube: recommended by 1 Hacker News commenter across 1 month, 2021.

Ben Eater

tutorial · intermediate · evergreen

Open on YouTube

Ben Eater explains how the PS/2 keyboard interface works, covering its clocked serial protocol and scancodes. He builds up the hardware-level understanding needed to read keypresses.

Why Hacker News recommends it

HN commenters point to it as the clearest explanation of the PS/2 protocol, usually when keyboard interfaces come up.

people recommended it
1
separate months
1
strong recommendations
0
discussed on HN
2021
“There's a good video on how PS/2 works here”
— zackbloom, Apr 2021, in “The last generation of typewriter repairmen (2010)”

What HN commenters said

4 Hacker News comments link this video. Each one links back to its thread.

zackbloomApr 2021Recommends

There's a good video on how PS/2 works here: ▶ this video It's pretty straight-forward. There are also pre-made kits for digitizing typewriters if that interests you.

in “The last generation of typewriter repairmen (2010)” · View on HN

RJIb8RBYxzAMX9uOct 2021Cites it

I'd imagine it would be very difficult, and would require a relatively powerful MCU. Ben Eater's made a few videos discussing how PS/2[0] and USB keyboards[1] work. USB's a vastly more complicated protocol compared to PS/2. [0] ▶ this video [1] [link]

in “IBM PS/2 Keyboard Modification” · View on HN

bear8642Sep 2021Cites it

think might be at end of this one < ▶ this video > though there's a few he's done recently on USB spec

in “It's Time for Operating Systems to Rediscover Hardware” · View on HN

thristianJul 2021Cites it

Piggy-backing this comment to add some context for the OP video: This "USB device discovery" video is actually the latest in a series of videos where Ben Eater is building a simple 8-bit computer on breadboards. He hooked up a PS/2 keyboard as an input device, and then got sucked into a tangent of investigating and explaining keyboard protocols. - He investigates the PS/2 keyboard protocol: ▶ this video - Somebody on Patreon asked about USB keyboards having higher latency than PS/2, so he made a video about the basic USB protocol: [link] - He made the OP video about USB keyboards being limited to holding six keys at once.

in “How does USB device discovery work? [video]” · View on HN

Topics & tags

Electronics & circuit designEmbedded systems & DIY electronicsps/2scancodesserial protocolhardwareben eater