By using a constant-current source along with a ratiometric DAC configuration, the output intensity of a laser diode can be carefully set and controlled using this simple circuit.