Amstrad PCW keyboard to HID adapter

This adapter allows to connect the keyboard from the Amstrad PCW to a modern computer using USB.

It is powered by an AT90USB AVR microcontroller, because these implement USB in hardware and make it easy to implement an HID device.

You need the LUFA USB stack to compile this project. I am not including it to avoid code duplication. Download and extract it yourself, or set the LUFA_PATH variable to where you already have it when compiling.

TODO

  • Finalize keymap

Programming the device

Connect the board to the STK500 programmer ISP6 connector, make sure the clock is running, if not, connect the crystal from the STK500 to the board crystal outermost pin.

pushd code ; make fuse ; popd
pushd bootloader ; make avrdude ; popd

Then connect the board by USB. It should be in DFU mode

pushd code ; make flash ; popd

Disconnect and reconnect the board, it should still be in DFU mode

Finally connect the keyboard to the board and reconnect it, this time it should show up as keyboard.