idea for iPod dock that can control lights Answered
I'm working on integrating a dock for an iPod/iPhone into my shelve/nightstand. The trick here being that I'm looking for a way to turn my speakers on/off automatically when placing/removing the iPhone from the dock (to preserve power). Additionally, I thought it would be cool if I could adjust the light level of a nearby reading light by tilting the angle of the iPhone, including turning the light completely off in one of the outer positions. (so I could actually use the iPod/iPhone to turn the lights on/off). Currently though, I have no idea how to achieve this, which is where I'm hoping you can help me. Which mechanisms/electronics/gadgetry do I need and what would be the best way to assemble it all to achieve the desired result?