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 (pin 1 of the phone jack is on the left when the wire side is facing toward you):
- GND -> GND.
- +CLK -> pin D6,
- +DATA -> pin D5,
- Vcc -> Vin
For the Mini-DIN 6 socket, pins should be connected as follows (the diagram presents the female socket):
- +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.