OK, now I have understood again that I was foolish at the last time my posts were removed, now I know that when I am using g2553 with an opto101, i can calculate the output as OPTO101_value =((OPTO101*3.67)-7.5)/1000, where 3.67 is my vcc(reference voltage this is equal to 1023*(vin/vr), 7.5 is the dark current correction for 7.5mV, and since the result is in mV, hence the /1000 is there. Now the problem is since the photodiode gives output as 0.45A/W(Ampere/Watt) at 650 nm visible red and so the OPT101 operating with a single power supply(as in my case) and using the internal 1MΩ internal feedback resistor for a response of 0.45V/μW at 650nm, all I am having now is only the light intensity, but how to get the wavelength as well? Also can I filter the input of the photodiode without any cap or lense, I mean so that it only sees a certain wavelength and gives the output?
Sorry, just saw that the internal 1 mega Ohms feedback resistor, which I am using, is laser trimmed to give the aforesaid output at 650nm, then I hope all the values of the photodiode output is already being calculated for 650nm wavelength, no matter which light is in the ambience, right? Then how come it is not giving the output as near zero when the room is dark, no lights are on(assuming that visible red at 650nm should also not be there in this case?)?
Thank you all, and though this is irrelevant, LM35CAZ basic circuit also works with 3.67 vcc, but the result starts as 0mV=2 Degree Celsius, and I overlooked that!