This sketch allows to use a PS/2 keyboard with the Macintosh Plus. Mapping between PS/2 keys and Mac keys is stored in the keymap.ino file. Sketch uses a modified version of the PS2Keyboard Library --- all the logic except getScanCode()
method have been stripped.
Get a phone cord with RJ10 plug and connect pin as follows:
- Vcc -> Vin
- +DATA -> pin D5,
- +CLK -> pin D6,
- GND -> GND.
For the Mini-DIN 6 socket, pins should be connected as follows:
- +DATA -> pin D3,
- (not connected),
- GND -> GND,
- Vcc -> +5V,
- +CLK -> pin D2,
- (not connected)
- Similar project based on stm32f0discovery kit,
- Mac Hardware Info (ftp://ftp.apple.asimov.net/pub/apple_II/documentation/macintosh/Mac%20Hardware%20Info%20-%20Mac%20128K.pdf) - contains the description of the protocol,
- Mac Plus keyboard rawcodes.