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.
Connect a PS2 (or compatible USB Mouse) to an Amiga
- Arduino (Nano/Uno/Mini/...)
- PS2 Mouse (or USB mouse that can be used with an usb-to-ps2 adapter)
- Female DSub9 (to plug into the Amiga)
PS2 Mouse Arduino Pin
CLOCK D11
DATA D12
5V 5V
GND GND
DSub9 Female Pin Arduino Pin
1 D2
2 D3
3 D4
4 D5
5 D8
6 D6
7 5V
8 GND
9 D7
Upload the INO to the Arduino
Double-Check ! Connections ! Plug into Amiga and use your PS2 Mouse on the Workbench ...
-
Kristopher Chambers (kristopher) for the PS2Mouse library: http://github.com/kristopher/PS2-Mouse-Arduino/
-
Spark (cssvb94) for code from AmigaUSBMouseJoystick: https://github.com/cssvb94/AmigaUSBMouseJoystick