Winning Video Games By Letting Arduino Push Your Buttons

[Lars] shows you how to get a perfect score on the first four levels of BIT.TRIP RUNNER by using an Arduino to time and send button presses. This is a pretty simple game that uses a couple of buttons to jump or slide past obstacles. The constant speed of the character makes it quite easy to time these movements without any input from the game. This means that the pixel sampling which some web-game bots use isn’t really necessary here. Just work out the timing and hard-code it into the sketch. As you’ll see after the break, it works perfectly

The real value of this hack is the guide he wrote to send key presses from the Arduino hardware. It’s not hard at all, but there are several steps and this will get you up and running in no time. Where might you go from here? It wouldn’t take much to turn this into a keyboard prank that misspells all your words.

Continue reading “Winning Video Games By Letting Arduino Push Your Buttons” →

Doing It Right With A Morse Code Keyboard

Hackaday has seen dozens of Morse code keyboards over the years, but [Hudson] at NYC Resistor finally managed to give that idea the justice it deserves. He built a USB Morse code keyboard with the same type of telegraph key the pros use.

For his project, [Hudson] got his hands on a wonderful iambic paddle that is usually hooked up to CW rigs. Unlike previous Morse keyboards we’ve seen, [Hudson] used iambic paddles, a telegraph key with one lever for dits and another for dahs. Because the dits and dahs are separate electrical connections, it’s extremely easy for the microcontroller – a Teensy – to parse the Morse code and send the correct letter to the computer.

[Hudson] also added some audio feedback for the dits and dahs, and designed a laser-cut enclosure for the Teensy and speaker. Check out the video of the iambic keyer keyboard in action after the break.
Continue reading “Doing It Right With A Morse Code Keyboard” →

Microswitch Keyboard Gives Those Lazy Thumbs A Workout

Upon first sight there will be no doubt in anyone’s mind that this is a hacker’s keyboard. [Tim Tyler] built the odd-looking conglomeration of keys a few years ago with the goal of improving the man-machine interface. Why waste all that thumb space with just one long keyboard when you can have at least nine keys per thumb?

After some additional consideration this isn’t all that unorthodox. We’ve seen keyboards that split the hands; in fact you can buy them. This just adds the thumb matrices and that rack of programmable keys above the alpha-numeric portion. It’s rather organ-like with its multiple ranks, don’t you think? Check out the demonstration video after the break. It certainly has a keystroke sound that is all its own. The sound is different from the clackity “M” keyboard and its modern relatives thanks to the microswitches that make up each key.

Continue reading “Microswitch Keyboard Gives Those Lazy Thumbs A Workout” →

Building A Keyboard From Scratch

After over a year of work, [dmw] is nearly done with his Humble Hacker Keyboard. It’s a keyboard that has been influenced by some pretty crazy looking designs, but meets all of [dmw]’s needs for a compact, programmer-oriented key layout that’s easy to type on.

[dmw] posted a pseudo-build log  over at the geekhack keyboard forums. Every single part of this keyboard is custom-made. The key caps were made by Signature Plastics, the case was made by Shapeways, and the custom PCB for the key switches came directly from Express PCB. The key switches are blue Alps sliders (one of the best key switches available) with a few white Alps switches taken from an old Apple keyboard.

After soldering a hundred diodes and switches, [dmw] installed a Teensy++ to convert the closing key switches to something his computer can understand. This turned out to be a perfect of the Teensy because of the USB peripheral libraries that already exist. The source is up on github, so if you’ve ever wanted to replace your Model M with something more ergonomic, here’s your chance.

Single Hand Keyboard For Tablets

To us it makes a lot of sense to hold the tablet in one hand and type with the other. That’s exactly how [Adam Kumpf] has implemented this one-handed typing interface which was originally conceived by [Doug Engelbart].

As you can see, there’s a large contextual area for each finger on your right hand. Letters and navigational keystrokes are input through this interface based on single touches, or combinations up to and including all five digits. This offers up 32 possible combinations (including all on and all off) which is enough to cover the modern English alphabet.

[Adam’s] demo page works for most tablets so give it a whirl. Yes, it works with iDevices too which is a surprise as we would have thought this was using Flash. If you’re not near a touch-sensitive device you can get the gist of the operation from the demo video embedded after the break.

Now, who’s going to be the first to make this into a replacement keyboard on iOS 5?

Continue reading “Single Hand Keyboard For Tablets” →

Hackaday Links: February 1, 2012

The only thing he needs now is a micro and RTC

For [Dino]’s 44th Hack A Week extravaganza, he made powered window blinds in five minutes. It’s a simple build with a small gear motor and a bit of tubing to adapt the shaft to the control rod of the blinds. Good job [Dino].

BecauseCamelCaseWillKillYourPinkieFinger

The wonderful [Lizzie] over at LUSTlab realized that typing meta keys really slows down the development process. The result? Foot pedals for the Shift and Command keys. No build log for this one, but it’s just a set of old racing pedals and a disused keyboard.

So much cooler than a potato

[mdevaev] out of Russia built a fully articulated GLaDOS replica. Here’s the build album and the relevant MLP forum post. This GLaDOS is tiny – probably less than a foot long, but it moves around and speaks (Russian, which is weird). Somebody get us a couple of motorcycle fenders so we can build the 1:1 scale version.

Visualizing a plane of fog

[greg] was looking for a way to visualize the chaotic turbulence of air. He mounted a laser on a computer fan and held some dry ice above the beam. The result looks like it could make for an interesting photography project, but check out the video if you don’t believe us.

We were asking for it

We asked for battery charging circuits that don’t use specialized parts. [Petr] found this one that only uses few transistors, a MOSFET and a voltage regulator. In one of the Hackaday comments, [atomsoft] had the idea of putting a USB plug on the traces to save a bit in component costs. [mohonri] said he designed one, but we have yet to see it. Perhaps next links post…

Shove A Hub Into That Keyboard

As masters of technology, our desks are often cluttered with odds and ends. We have cables spewing out of every nook, and our computer ports full. The last thing we really want is more stuff getting in the way or buried under piles of technical documentation when adding something like a USB hub. That is where [Michael] comes in, shoving a small USB hub into his Logitech keyboard.

The keyboard is already USB, and the hub has 3 forward facing ports and a fourth single port in the rear. Taking the 2 devices apart he used the already there USB cord from the keyboard replacing the input cord of the hub. Then he removed the rear port and directly wired his keyboard onto the hub.

From there, its just a matter of figuring out where he wanted the hub, and cutting out the plastic. He used a knife, and had fond memories of some minor cuts, which leads us to recommend being (more) careful. A little application of fire to blade goes a long way.

Once the keyboard is back together he has a convenient 3 port hub on the back of his keyboard that looks factory and saves clutter.