What you want to do is modulate the light at a certain freq. and then look for a response at that freq. That way ambient light will have little effect. There are many projects on the net that show how this is done. Good luck and have fun :-) Eric