How does a PS/2 keyboard work

I am stumped. I cannot find anything on the internal workings of a PS/2 keyboard, but I was able to find a video about the interface, and whilst that is nice, it is not exactly what I am looking for. I am specifically looking for an explanation on the hardware, of a PS/2 keyboard. this is because I want to build my own PS/2 controller, as a project. any help would be appreciated.

link to video i found: (So how does a PS/2 keyboard interface work? - YouTube)

If i am being stupid, please let me know. also if there is a better place to be asking these kinds of questions, please let me know.

Have a look at how a mechanical keyboard matrix is constructed/connected and how it is scanned to detect key presses.

Atmel App Note AVR243: Matrix Keyboard Decoder may provide more details for you.

Thank you a lot! The datasheet has proven to be very helpful! Have a good day! Or night, depending on which side of the planet you are on

Fortunately, you're not the only one who thought of this; several people have gone before you and have documented their projects. See e.g. here:

So which part is the concern - the PS/2 interface (as distinct from USB) or the operation of the keyboard proper?

Incidentally, "PS/2" refers to the mini-DIN connector as distinct from the original PC and AT connector, the actual interface is the same though the AT was a protocol upgrade on the PC/ XT.

A PS/2 controller usually refers to a video game controller, not the computer keyboard/mouse interface ( the name originated with the IBM personal system 2 computer).

Once again, that you for the link! i will read this, and hopefully learn something, like with the datasheet. have a good day! Or night!

Well, the concern for me was the operation of the keyboard propor, but I guess I was not too clear, my apologies. Anyways, have a good day! Or night!

Well, yes, that was also something I wanted to start working on. Have a good day! or night!

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.