http://www.scribd.com/doc/13394345/shankarnitian contains the circuit diagram .
i wish to know the function of the operational amplifier..LM324.as i understand,the dark current of the photransistor is 100 nA and on-state current is around 1mA.when the photransistor is blocked ,the input to the single supply op amp goes low and it's output is high(5v),while if the light is allowed to fall on the phototransistor,the 1mA current causes the output to go low(0v).but logical '0' is pereived in ucontroller only if 0.45 v is received and high if 2 v is received.i can't understand how this happens.please someone explain me the use of having an led and 1k resistor connected to output of opamp also.
i wish to know the function of the operational amplifier..LM324.as i understand,the dark current of the photransistor is 100 nA and on-state current is around 1mA.when the photransistor is blocked ,the input to the single supply op amp goes low and it's output is high(5v),while if the light is allowed to fall on the phototransistor,the 1mA current causes the output to go low(0v).but logical '0' is pereived in ucontroller only if 0.45 v is received and high if 2 v is received.i can't understand how this happens.please someone explain me the use of having an led and 1k resistor connected to output of opamp also.