I've built the circuit shown at the following link:
However, I seem to be having a problem regarding ambient light. I did make one change to the circuit. Since I couldn't find the SFH2030 IR detector diode, I used a Vishay BPV22NF with a daylight filter. Also, it might be worth noting that I used a wall wart to power the device instead of a battery. Anyway, the only way I can get the device to work is to completely turn all of the lights off in the room. Is there some way to get this to operate so that the circuit is insensitive to ambient light such as daylight and 60 Hz lighting? I'm new to IR circuits, but I'm guessing that this has something to do with the reverse bias levels on the IR detector diode, but I'm not sure. Any help would be appreciated.
The reason I select this circuit was because I thought it was less prone to the effects of ambient light.