HackerTube
HomeLongsLikedHistoryWatch laterCategoriesPlaylistsSettings

So how does a PS/2 keyboard interface work?

Ben Eater1 HN recommender · recommended in 1 month, 2021-2021
YouTube
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.

Electronics & circuit designEmbedded systems & DIY electronics#ps/2#scancodes#serialprotocol#hardware#beneater

4 comments from Hacker News

@RJIb8RBYxzAMX9u2021 · in “IBM PS/2 Keyboard Modification”

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

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

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

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

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.

CitesView on HN
@zackbloom2021 · in “The last generation of typewriter repairmen (2010)”

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.

RecommendsView on HN
How does a USB keyboard work?34:15

How does a USB keyboard work?

Ben Eater
3.8M views • 5 years ago
How a transistor works11:23

How a transistor works

Ben Eater
847K views • 11 years ago
8-bit CPU control logic: Part 127:52

8-bit CPU control logic: Part 1

Ben Eater
1.5M views • 9 years ago
“Hello, world” from scratch on a 6502 — Part 127:25

“Hello, world” from scratch on a 6502 — Part 1

Ben Eater
5.9M views • 7 years ago
Why build an entire computer on breadboards?28:43

Why build an entire computer on breadboards?

Ben Eater
3.4M views • 6 years ago
The world's worst video card?32:47

The world's worst video card?

Ben Eater
7.1M views • 7 years ago
8-bit computer update6:53

8-bit computer update

Ben Eater
2.8M views • 10 years ago
Making logic gates from transistors13:02

Making logic gates from transistors

Ben Eater
3.1M views • 11 years ago
KiCad 6 STM32 PCB Design Full Tutorial - Phil's Lab #651:40:06

KiCad 6 STM32 PCB Design Full Tutorial - Phil's Lab #65

Phil’s Lab
987K views • 4 years ago
Design Your Own Keyboard!41:04

Design Your Own Keyboard!

Ben Vallack
140K views • 4 years ago
How a Character LCD works Part 113:59

How a Character LCD works Part 1

The 8-Bit Guy
1.3M views • 9 years ago
My personal fight against the modern laptop44:50

My personal fight against the modern laptop

linux conf au 2017 - Hobart, Australia
121K views • 9 years ago
How does Computer Memory Work? 💻🛠35:33

How does Computer Memory Work? 💻🛠

Branch Education
5.5M views • 4 years ago
World's worst video card? The exciting conclusion24:23

World's worst video card? The exciting conclusion

Ben Eater
3.2M views • 7 years ago
Series circuit - 3 LEDs2:48

Series circuit - 3 LEDs

Henryk Gasperowicz
620K views • 14 years ago
Cory Benfield - Building Protocol Libraries The Right Way - PyCon 201631:38

Cory Benfield - Building Protocol Libraries The Right Way - PyCon 2016

PyCon 2016
15K views • 10 years ago
IBM Selectric Typewriter & its digital to analogue converter3:05

IBM Selectric Typewriter & its digital to analogue converter

engineerguy
1.1M views • 16 years ago
An Intro to KiCad – Part 1: How PCBs Are Made | DigiKey11:10

An Intro to KiCad – Part 1: How PCBs Are Made | DigiKey

DigiKey
517K views • 8 years ago
Lines of Light: How Analog Television Works16:47

Lines of Light: How Analog Television Works

Technology Connections
1.5M views • 9 years ago
E-paper hacking: fastest possible refresh rate27:55

E-paper hacking: fastest possible refresh rate

Applied Science
582K views • 9 years ago