An Arduino keyboard for the Apple II
November 20th, 2017 7:50 AM by Ken Gagne | Filed under Hacks & mods; 2 comments. |
My first computer was an Apple IIe that my father purchased to help manage the family business. Given the wealth of games that were also available for the Apple II, it was inevitable that its use spread to his four sons. All was going well until one of us reached for a box of floppies on the shelf above the computer and dropped it on the keyboard, busting a keycap. My father angrily decreed his expensive business computer was henceforth off-limits to us kids — a restriction that I don’t recall lasting more than a week.
With the exception of that mishap, our keyboard always performed admirably, without failures or flaws. I don’t recall the Apple IIe showing any other signs of wear, tear, or distress in the five years we owned it.
The same can’t be said for Max Breedon, who recently unearthed his Epson AP-200 an Apple IIe clone he acquired from a pawn shop twenty years ago. The keyboard decoder chip, a C35224E, was non-functional — but that didn’t stop Breedon. After consulting Mike Willegal’s keyboard page and doing some testing of his own, Breedon put an Arduino on a daughterboard that connects the keyboard to the motherboard. His solution is actually better than the original, since it speeds data entry of program listings found on the Internet — something the clone’s manufacturers never anticipated:
[T]he Arduino can not only decode the keyboard but also you can upload text directly into the Apple as if you typed it in. This is achieved through serial communication from your PC to the Arduino: the Arduino is listening for serial data and any that it receives it converts into keypresses and pipes it into the Apple. This means that you can cut and paste basic programs directly off the internet and upload them into the apple as if you typed it in on the actual keyboard!
That’s a neat trick! I’ve never used an Arduino, so I wouldn’t be able to duplicate this functionality — but it could be the underpinnings for a product I’d purchase for an official Apple II. There’s more technical information on Breedon’s website, should anyone else wish to investigate or re-create his work.
(Hat tip to John Baichtal)