So how does a PS/2 keyboard interface work?
Ben Eater1 HN recommender · recommended in 1 month, 2021-2021
570K views · 5 years ago · tutorial · evergreen
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.
HN commenters point to it as the clearest explanation of the PS/2 protocol, usually when keyboard interfaces come up.
34:15How does a USB keyboard work?
Ben Eater
3.8M views • 5 years ago
11:23How a transistor works
Ben Eater
847K views • 11 years ago
27:528-bit CPU control logic: Part 1
Ben Eater
1.5M views • 9 years ago
27:25“Hello, world” from scratch on a 6502 — Part 1
Ben Eater
5.9M views • 7 years ago
28:43Why build an entire computer on breadboards?
Ben Eater
3.4M views • 6 years ago
32:47The world's worst video card?
Ben Eater
7.1M views • 7 years ago
6:538-bit computer update
Ben Eater
2.8M views • 10 years ago
13:02Making logic gates from transistors
Ben Eater
3.1M views • 11 years ago
1:40:06KiCad 6 STM32 PCB Design Full Tutorial - Phil's Lab #65
Phil’s Lab
987K views • 4 years ago
41:04Design Your Own Keyboard!
Ben Vallack
140K views • 4 years ago
13:59How a Character LCD works Part 1
The 8-Bit Guy
1.3M views • 9 years ago
44:50My personal fight against the modern laptop
linux conf au 2017 - Hobart, Australia
121K views • 9 years ago
35:33How does Computer Memory Work? 💻🛠
Branch Education
5.5M views • 4 years ago
24:23World's worst video card? The exciting conclusion
Ben Eater
3.2M views • 7 years ago
2:48Series circuit - 3 LEDs
Henryk Gasperowicz
620K views • 14 years ago
31:38Cory Benfield - Building Protocol Libraries The Right Way - PyCon 2016
PyCon 2016
15K views • 10 years ago
3:05IBM Selectric Typewriter & its digital to analogue converter
engineerguy
1.1M views • 16 years ago
11:10An Intro to KiCad – Part 1: How PCBs Are Made | DigiKey
DigiKey
517K views • 8 years ago
16:47Lines of Light: How Analog Television Works
Technology Connections
1.5M views • 9 years ago
27:55E-paper hacking: fastest possible refresh rate
Applied Science
582K views • 9 years ago
4 comments from Hacker News
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
think might be at end of this one < ▶ this video > though there's a few he's done recently on USB spec
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.
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.