Updated the image presenting the interface

This commit is contained in:
Tomek Rękawek 2019-01-03 21:05:49 +01:00
parent ccb9be80b8
commit 49c098f709
5 changed files with 4 additions and 12 deletions

View File

@ -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.
<img src="https://github.com/trekawek/mac-plus-ps2/raw/master/doc/arduino-ps2.jpg" width="50%">
![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
<img src="https://github.com/trekawek/mac-plus-ps2/raw/master/doc/mac-plus-keyboard-pinout.png" width="50%">
## 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)):
<img src="https://github.com/trekawek/mac-plus-ps2/raw/master/doc/minidin6-pinout.png" width="25%">
## References
* [Similar project based on stm32f0discovery kit](http://www.synack.net/~bbraun/mackbd/index.html),

Binary file not shown.

Before

Width:  |  Height:  |  Size: 112 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 755 KiB

BIN
doc/macplus-ps2.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 208 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 37 KiB