diff --git a/README.md b/README.md index 73b107c..e220fce 100644 --- a/README.md +++ b/README.md @@ -2,9 +2,9 @@ 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](mac_plus_ps2/keymap.ino) file. Sketch uses a modified version of the [PS2Keyboard Library](http://www.pjrc.com/teensy/td_libs_PS2Keyboard.html) --- all the logic except `getScanCode()` method have been stripped. - +![macplus-ps2.jpg](doc/macplus-ps2.jpg) -## Connecting to Macintosh Plus +#### Connecting to Macintosh Plus Get a phone cord with RJ10 plug and connect pin as follows: @@ -13,13 +13,9 @@ Get a phone cord with RJ10 plug and connect pin as follows: 3. +CLK -> pin D6, 4. GND -> GND. -The order of RJ10 pins is the same as in the computer connector: +#### Connecting to PS/2 keyboard - - -## Connecting to PS/2 keyboard - -For the Mini-DIN 6 plug, pins should be connected as follows: +For the Mini-DIN 6 socket, pins should be connected as follows: 1. +DATA -> pin D3, 2. (not connected), @@ -28,10 +24,6 @@ For the Mini-DIN 6 plug, pins should be connected as follows: 5. +CLK -> pin D2, 6. (not connected) -Pinout for the female connector from front (copied from [Wikipedia](https://en.wikipedia.org/wiki/PS/2_port)): - - - ## References * [Similar project based on stm32f0discovery kit](http://www.synack.net/~bbraun/mackbd/index.html), diff --git a/doc/arduino-ps2.jpg b/doc/arduino-ps2.jpg deleted file mode 100644 index 19dc12b..0000000 Binary files a/doc/arduino-ps2.jpg and /dev/null differ diff --git a/doc/mac-plus-keyboard-pinout.png b/doc/mac-plus-keyboard-pinout.png deleted file mode 100644 index aca8630..0000000 Binary files a/doc/mac-plus-keyboard-pinout.png and /dev/null differ diff --git a/doc/macplus-ps2.jpg b/doc/macplus-ps2.jpg new file mode 100644 index 0000000..435befc Binary files /dev/null and b/doc/macplus-ps2.jpg differ diff --git a/doc/minidin6-pinout.png b/doc/minidin6-pinout.png deleted file mode 100644 index 69793bc..0000000 Binary files a/doc/minidin6-pinout.png and /dev/null differ