If the link is correct, they are using a “photo resistor” as part of a simple voltage divider circuit. Your Radio Shack part is a “photo transistor” not “resistor” - you need to connect it in, I would guess, in some form of a “common-emitter” fashion – try something like 10k from the collector to 5V, 1M from the emitter to ground, and ADCIN at the resistor collector junction. You might need to vary the 1M resistor way down (even less than 10k), depending on your IR signal. Further, this transistor will pick up all wavelengths of light – not just IR so it will be affected by ambient light.
Paul Borgmeier
Salt Lake City, UT
USA
__________________
Bookmarks