This weekend I played with my Canon PowerShot SD450 (aka IXUS 55) and the CHDK along with the Arduino and the MaxBotix MaxSonar LV-EZ1 . The idea is to automatically take pictures when an object moves into frame. Part of the job involved hacking a USB cable to hook up to the Arduino which I promptly did, as you can see below. Unfortunately, I was supposed to hack a Mini-USB cable (of which I have a dozen) and instead hacked my (only) Micro-USB cable (oops). The end I soldered two break away headers and then encased the whole thing with hot glue. Here's the setup. You can see the sonar on the right. I soldered a female header to it instead of soldering wires directly to the board. The hacked USB cable is connected to ground and pin 13. For the sonar I've plugged it into Ground, 5V, and pin 7. You may also note that I'm not using the AN (analog) pin on the MaxSonar, but instead the PW (pulse width) pin, unlike most code I saw on th...