[57north-discuss] Microcontroller for simulating a USB HID

David Lyon david.lyon at clixx.io
Tue Jul 29 21:46:14 UTC 2014


On 2014-07-28 19:52, Calum Chisholm wrote:
> Hi David,
> I'm wiring up the keyboard form an old 8-bit machine (a Russian clone
> of the zx spectrum [1]), which uses an 8x5 keyboard matrix [2]. My
> intention is to be able to connect it to a Raspberry Pi running a
> variety of old-school emulators, as well as using it with the original
> hardware if I'm ever able to resurrect it.
> 
> If I have any input pins left over, I might also add an Atari d-type
> connector for a digital joystick.

Oh that's interesting.

btw if you wanted to omit the v-usb you could. Linux will accept serial 
tty keyboards although these days there are a few hacks / 
configuration-changes. I've seen a few blogs postings about doing this 
on the Raspberry-Pi. That is, using the serial port, /dev/ttyACMO as the 
main keyboard port.

Also, from my understanding, keyboard interfaces are much more low tech 
than most people appreciate. If you can output key scan-codes in PS/2 
format, you can then use a low-cost PS2>USB keyboard adaptor to get you 
the last inch.

But by all means try V-USB.

Regards

David





More information about the 57north-discuss mailing list