Close
0%
0%

Smart PS/2 Keyboard/Mouse for RC2014

A VT82C42 (or similar) based PS/2 keyboard and mouse interface for RC2014 systems.

Public Chat
Similar projects worth following
There are a bunch of fairly standard PS/2 controllers available in a standard 40pin DIP package. This board glues one of them (I'm using a VT82C42) to a pair of PS/2 ports as well as providing the decode for them on the RC2014 bus, and interrupts.

All the real work is done by the VT82C42. The 74HCT688 provides the needed chip select for I/O ports 0x60 and 0x64 (as per the PC so it can be used with the RC2014 80C188 card). The 74LS06 is used for the output drivers on the controller. The spare gates are then used to drive the two interrupts onto the RC2014 interrupt line.


There are numerous pinouts for brand name PS/2 connectors but all the cheap generic ones appear to use the same pinout. Do check the pinout of the parts you are using. If it's the cheap Chinese purple ones off e-bay you should be fine.


There is software support for it in Fuzix as of today, including the PS/2 mouse.

From a software perspective the only oddity is the lack of  two interrupts. The VT82C42 status byte will however report 0x20 if a mouse code is the next byte to read, or 0x01 if something else is ready. The 0x20 bit is cleared by any second read of the status so you have to be careful not to re-read the status in the interrupt handler.

ps2_kicad.tar.gz

Kicad 5 files

gzip - 53.98 kB - 04/05/2022 at 15:48

Download

8242.tar.gz

Gerbers

gzip - 136.56 kB - 04/05/2022 at 15:48

Download

ps2-8242.pdf

Schematic

Adobe Portable Document Format - 57.25 kB - 04/05/2022 at 15:47

Preview
Download

  • 1 × VIA VT82C42 or similar PC PS/2 keyboard controller
  • 1 × 74HCT688 Electronic Components / Misc. Electronic Components
  • 1 × 74LS06 Electronic Components / Misc. Electronic Components
  • 3 × 0.1uF disc capacitor (mistakenly listed as 10uF on schematic) Power supply smoothing
  • 4 × 47pF capacitor RFI supression

View all 6 components

View project log

Enjoy this project?

Share

Discussions

Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates