Categories
Uncategorized

It’s a QWERTY Keyboard

QWERTY Keyboard Rendering

I’ve always been fascinated by typewriters. I find them to be curious machines, and their history is no less interesting. (Go on, take a look!) Of course I’m also fascinated by digital technology, and how it empowers people to creating things. Above is a rendering of a QWERTY keyboard, and below is an actual QWERTY keyboard I created using digital fabrication and a tiny computer called a microcontroller functioning as the “brain”.

QWERTY Keyboard

The keyboard is fully-functional. Plug it into the USB port of your laptop or desktop computer and you can start typing. Of course you can only type the letters Q, W, E, R, T and Y… but it does work. Like all of the things we use, it has limitations. Like all of our technology, it doesn’t do quite all of what we’d like it to do.

QWERTY Keyboard

The QWERTY Keyboard is made from wood. (Just like the early prototype of the Sholes, Glidden & Soule typewriter seen below.) My father was good at working with wood, and his father before him was probably even better at it. I am not that good at working with wood, but I am good at creating things digitally. There is perhaps an inverse skill scale at work here. Are we losing the ability to craft real-world objects in exchange for creating digital objects? Maybe digital fabrication is the answer, bridging the gap between the two.

Sholes, Glidden & Soule typewriter

The Sholes, Glidden & Soule typewriter is a weird looking device, as is my QWERTY keyboard. I think there’s a place in the world for both of them, and perhaps a place where the two can meet.

QWERTY Keyboard

For more information on this piece, visit the QWERTY Keyboard project page. There are more thoughts and more photos, and as always, I welcome your comments.

Categories
Uncategorized

Arduino(ish) Keyboarding

Teensy 2.0
Teensy is teensy

For the past few years I’ve been building devices that can emulate computer keyboards. Typically I’ve used the Teensy microcontrollers for this along with the Arduino IDE and the Teensyduino add-on. The things you can do with a Teensy to emulate a keyboard are very impressive! Basically, it’s the best way I know of to create your own custom USB keyboard.

Comparison
Size matters – A-Star with Arduino Micro and Leonardo

When the Arduino Leonardo was introduced, one of the features I was interested in was the ability to emulate a USB keyboard. I never actually got a Leonardo to test this with, mainly because the form factor was too large for my projects. Sometimes shield compatibility is good, sometimes the smallest board wins.

A-Star
Size matters!

I recently got a Pololu A-Star 32U4 Micro, which is a tiny (and cheap, under $13USD) board very similar to a Leonardo, once again using the Atmel ATmega32U4.

There may be a little bit of work involved in getting the A-Star up and running. There are drivers needed if using Windows, and (supposedly) a little more work to get things going with Linux. I had no issues with Mac OS X, but I’m pretty familiar with add-ons for the Arduino IDE due to using Teensyduino. You can also just pretend this is an Arduino Leonardo and that seems to work fine.

(I also can’t tell if the Pololu A-Star 32U4 Micro is open source hardware. They do have a bunch of files available, but I did not see an explicit “Open Hardware” note anywhere. It’s worth mentioning that the Teensy is not open source hardware. If that’s not a big deal to you, then it’s not a big deal to you. The official Arduino hardware is of course, open source.)

I’ll probably keep experimenting with the Pololu A-Star as a keyboard emulator for simple things, and stick with the Teensy for more complex things. I’ve also heard that the Teensy 2.0 will disappear in the future, which isn’t a huge deal, as the Teensy 3.1 is a big improvement over it, but the 3.1 does cost a bit more than the 2.0, so that’s one factor to consider when evaluating which board to use.

Have fun building your own keyboard!

Update #1: I’ve been talking to Pololu and they suggested the A-Star may actually be able to use the Teensyduino Keyboard libraries. I’m awaiting more info on this, as it would be an exciting development.

Update #2: It looks like the Teensyduino Keyboard libraries cannot be installed onto the A-Star, which is good to know. But don’t worry, I’ll be using the A-Star for some future projects anyway. ;)