Message from 2021
This post is pretty old! Opinions and technical information in it are almost certainly oudated. Commands and configurations will probably not work. Consider the age of the content before putting any of it into practice.
After messing around with Darwiin Remote for a week or two, I decided I was done messing with crummy relative movement (tilt back for up, forwards for down, keep perfectly level for standing still), so I conned my little brother into helping me make a rig of USB-powered infrared LEDs for my iBook.
Starting with two IR LEDs from Radio Shack, some anonymous red LED ripped from an old computer case (so we could know that it worked), spare wires, and a USB cord from a bad old digital camera (it was so cheap that if you turned it off or removed batteries the RAM keeping your pictures around would power off, also it was purple and more than twice as large as my current phone).
First we used a handy LED circuit wizard to figure out what kind of resistor we needed:
After that, we went out, found some resistors, and realizing we didn’t have one the right resistance, made one out of other resistors (hooray for remembering Physics 2).
Then we soldered up the LEDs, daisy chaining them on the end of longish wires to make adjusting the spacing easy/feasible. Having them about an inch apart works from about a foot, but it’s easy enough to tweak.
Finally, we cut up the old camera cable to get power, first using the colors (I think they were black and red for ground/+5V respectively), but verifying with a DVM (the two long pins on the edge of the connector are the power pins, and you can check against Wikipedia to be sure).
In the end, it was less than an hour’s work including scavenging for parts around the house. It works pretty well with DarwiinRemote 0.3.1, but I keep having to nuke my Wiimote’s entry from the Bluetooth prefpane in between uses.