NPN Phototransistor SF313 and ADC

Is this a right way to convert current changes to voltage changes? How to choose a resistor?

Yes ! V = iR