I'm planning on building an on building an IR light source for a DIY night vision setup. to do thus I'm using a 300 mw IR laser diode. the diode needs to be powered by 2.2 volts. I'll be using a LM317T to adjust to voltage but my question lies in the current needed. I'm familiar with powering LED's but not with diodes. since the power is 300 mw and the voltage is 2.2 V would i be powering it using about 130 mA? in addition to that how would I achieve this? I know the LM317 can be used as a current regulator but how is this done? any help would be appreciated, thanks.