This is for a bike light, but thought I'd post it anyway in case anyone finds it useful: http://www.instructables.com/ex/i/A9D07B9C83FD1028A786001143E7E506/?ALLSTEPS