http://www.learningaboutelectronics.com/Articles/Laser-diode-circuit.php