Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 1.23 KB

README.md

File metadata and controls

24 lines (18 loc) · 1.23 KB

MrKeyboard

A little project which uses an Arduino Uno and a corresponding windows application to emulate a PS/2 keyboard device.

Sketch

sketch

Why?

While reviving my old 486 PC, I soon realized that I had thrown all my old keyboards away. Several USB to PS/2 adapters later and discovering that none of them actually worked, I wrote this piece of software. Now my Arduino finally has some real practical use and maybe this project is useful for you, too.

Windows application

The Windows application is a keyboard hook, which intercepts all keystrokes and sends their virtual keycode to the Arduino via the serial interface. Also, the application contains some logic to generate the "Virtual Keycode -> PS/2 Scan Set 2"-lookup tables that are required by the Arduino project.

Arduino

The Arduino receives the virtual keycodes and creates corresponding make and break codes, which are then sent via the PS/2 protocol to my old 486 PC.

Have fun.