USB Apple II Keyboard
Arduino Sketch to use a USB keyboard with an Apple II as ASCII keyboard.
- Upper and Lowercase (Shift and Caps work), for older Models and full compatibility use caps.
- Selectable Layout (Currently DE and US) toggle via WIN + SPACE.
- Providing reset to the Apple II. Used via CTRL + ALT + DEL
- Bash like backscroll capability. Use up and down arrow keys to scroll through your last commands.
Needed Hardware and Software
- Arduino Uno
- Arduino USB Host Shield
- optional Arduino Proto Board with DIP Socket
- Compatible USB keyboard. Tested with a Logitech K120.
- Arduino IDE
- USB Host Shield Library 2.0 (The modified Version included in this repo!)
- 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 .ino 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|
Setting the Arduino USB Host Shield for 5V operation
Make sure to set the solder jumpers as shoen in the picture. The Apple II and the UNO operate at 5V.
The content of this repos is published under the GNU GENERAL PUBLIC LICENSE Version 2