Just in case your camera happens to be a Canon, there's an elegant software-only solution that would give you an intervalometer and a lot more.

http://chdk.wikia.com/wiki/CHDK_in_Brief

Regards,

Anand