I am working on a project soon and need a little help getting pointed in the right direction regarding hardware.
The project will either be using the Arduino Uno or the Barebones Board. I am no stranger to programming with Arduinos but I don't know how to connect a USB keyboard to an Arduino so it can read the inputs.
Essentially, this will be a CW Transceiver that can either read or send in Morse Code. My goal is to use a simple Keyboard and have the Arduino translate for me.
What type of parts do I need so an Arduino Uno can read inputs from a standard keyboard?
Well you can get a usb shield but I'd suggest going for an old PS2 (or the old 5 pin din plug) type keyboard. It's uses a kind of synchronous serial protocol that is pretty unique to these keyboards and mice that have the same connecton.
I'm pretty sure I've seen a library available for just this purpose.
USB kbd -> stream of Arduino friendly serial data.
Note: You have to use the "pull down" to "set" the order to "USB keyboard".
£14: About $22.
If you haven't used external sources of serial input to the Arduino before, this might be useful...
(Don't worry overmuch about the "RS232 and serial are not the same" warning in that. The hobbytronics device is Arduino friendly, although if you have a 3v3 Arduino, you may need the usual resistors.)
(Don't worry overmuch about the "RS232 and serial are not the same" warning in that. The hobbytronics device is Arduino friendly, although if you have a 3v3 Arduino, you may need the usual resistors.)
That part is exactly what I am looking for. How do I integrate it with the Arduino Uno?