HackerTube.dev

So how does a PS/2 keyboard interface work?

Ben Eater · 570.4K views · 2021-03-06 · 33:07

Open on YouTube ↗

If playback is restricted in your region, try opening the original video. Use Mark watched to add it to your marked videos.

Overview

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.

On Hacker News

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

Recommended by 1 HN people across 1 months · HN mentions 2021–2021

Topics

Search by tags

What people said

zackbloom · 2021-04 · Recommendation

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

Read the original HN comment ↗
RJIb8RBYxzAMX9u · 2021-10 · Reference

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] [VIDEO] [1] [LINK]

Read the original HN comment ↗
bear8642 · 2021-09 · Reference

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

Read the original HN comment ↗

Sources

Video by Ben Eater, played through YouTube.

Data and selection notes

HN summaries and labels may contain AI errors. HN dates refer to discussions, not video publication.

HN Library: HackerTube export (2026-10-31) and open-index/hacker-news. Upstream summaries and classifications may contain AI errors.

Views, duration and playback status refresh separately from the published catalog. When an update fails, existing data remains visible.

Selection checks
  • SaaS & AI candidates: Topic keywords do not match
  • Editor-approved picks: Editorial review is required

Rule matches identify candidates. They do not guarantee video quality or financial results.

About the library and its sources