An optical keyboard that works using IR LEDs and phototransistors.

Take A Look At This Optical Keyboard

Making keyboards is easy, right? Just wire up a bunch of switches matrix-style to a microcontroller, slap some QMK and a set of keycaps on there and you’re good to go. Well, yeah, that might work for cushier environments like home offices and Hackaday dungeons, but what if you need to give input under water, in a volatile area, or anywhere else you’d have to forego the clacking for something hermetically sealed? Mechanical switches can only take you so far — at some point, you have to go optical.

the layers of an optical keyboardThis gorgeous keyboard works with reflected IR beams to determine when a finger is occupying a given key site (because what else are you going to call them?). Each key site has an IR LED and a phototransistor and it works via break-beam.

[BenKoning] wanted a solution that would be easy for others to build, with a low-cost BOM and minimal software processing cost. It just so happens to be extremely good-looking, as well.

The reason you can’t see the guts is that black layer — it passes infrared light, but is black to the eye. The frosted layer diffuses the beams until a finger is close enough to register. Check it out in action after the break, and then feed your optical key switch cravings with our own [Bob Baddeley]’s in-depth exploration of them.

Continue reading “Take A Look At This Optical Keyboard”