Update README.md

This commit is contained in:
Manfred 2019-05-10 16:34:25 +02:00 committed by GitHub
parent df92fde47b
commit a906289064
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,13 +1,29 @@
# Apple_II_Keyboard # USB Apple II Keyboard
Arduino Sketch to simulate a Apple II ASCII Keyboard Arduino Sketch to simulate a Apple II ASCII Keyboard
![Apple II USB Keyboard Interface](https://github.com/mafrmt00/Apple_II_Keyboard/blob/master/pictures/Keyb_Adapter.jpg "The assembled interface")
### Needed Hardware and Software
Hardware: Hardware:
- [Arduino Uno](https://en.wikipedia.org/wiki/Arduino_Uno) - [Arduino Uno](https://en.wikipedia.org/wiki/Arduino_Uno)
- [Arduino USB Host Shield](https://www.elecrow.com/wiki/index.php?title=USB_Host_Shield_for_Arduino - [Arduino USB Host Shield](https://www.elecrow.com/wiki/index.php?title=USB_Host_Shield_for_Arduino
) )
- optional [Arduino Proto Board](https://store.arduino.cc/proto-shield-rev3-uno-size) with DIP Socket - optional [Arduino Proto Board](https://store.arduino.cc/proto-shield-rev3-uno-size) with DIP Socket
- Compatible USB keyboard. Tested with a Logitech K120.
Tghis Table shows how to connect the Apple II Keyboard Connector (A7) to the Arduino. The Pin definitions can also be changed in II_Encoder.h Software:
- Arduino IDE
- USB Host Shield Library 2.0 (The modified Version included in theis Repo!)
### Installation
- Create a folder "Apple_II_Keyboard" under your sketches dir and copy all files from the root dir of this repo there (The dir where the .inop lies).
- Copy the "USB_Host_Shield_Library_2.0" dir to you libraries dir.
- Select Uno as board in the Arduino IDE
- Use Upload in the Arduino IDE. If you can see some output in the serial monitor as you type everythin works.
### Connecting the Arduino to the Apple II
This Table shows how to connect the Apple II Keyboard Connector (A7) to the Arduino. The Pin definitions can also be changed in II_Encoder.h
| APPLE II DIP Pin| Function | Arduino Pin | | APPLE II DIP Pin| Function | Arduino Pin |
| --------------- | -------- | ----------- | | --------------- | -------- | ----------- |
@ -27,3 +43,5 @@ Tghis Table shows how to connect the Apple II Keyboard Connector (A7) to the Ard
| 14 | NC | NC | | 14 | NC | NC |
| 15 | -12V | NC | | 15 | -12V | NC |
| 16 | NC | NC | | 16 | NC | NC |