I don't have direct experience with this but, this thread looks like it may do it? This sounds like a cool project!