Control your PC with a remote

Because his computer is gradually turning into an all-inclusive media display device, [Shawn] figured a remote to control the volume and a video playlist would be a reasonable addition. TV remotes for computers have been around for years, but [Shawn] decided to go the DIY route and build his own computer remote.

For the build, [Shawn] used a Teensy dev board with an IR receiver module and the requisite infrared remote library. To translate infrared signals to keyboard commands,[Shawn] decided to base his project off a previous build that used a small program called AutoHotKey.

Right now the build can cycle through a pre-defined YouTube and Shoutcast playlist and change the volume of the currently playing track. There’s also support for moving the mouse with directional buttons on the remote, but we’re wondering if a better implementation would be using the Windows multimedia keyboard scan codes that should be supported by [Shawn]’s laptop.

Still, [Shawn] managed a very nice build that would fit into our computer battlestations quite nicely. Check out the demo of the remote in action after the break.

[Read more…]

Hexbug code rewrite makes it a walking line-follower

You know you’ve got a good hardware platform if you can easily repurpose it with a code rewrite. And that’s what [Eric] continues to do with these little Hexbugs. This time around he’s bent the IR emitter and receiver downward to use as a reflectance sensor. This gives it the ability to follow a dark line on a light surface.

He originally patched an MSP430 into the $25 RC toy. The IR pair was intended for obstacle avoidance, which we saw in a recent links post. This hack does a great job of repurposing the avoidance system. Since the add-on hardware is mounted on a motorized turret, the single sensor pair can sweep back and forth to find the line it will follow. In one way this is better than most line followers which use multiple sensors mounted to the body. But the drawback is that this results in slower travel and won’t be winning any contests. Don’t miss the demo clip after the break.

[Read more…]