I have the two components, which are in the picture below.
I have a couple of questions. The first one is, how do I make sure that the IR LED detector is working? I tried searching for specs, but the searches for "IR sensor", "IR detector", "phototransistor", and "photodiode" kept throwing inconclusive information, at least for me (I don't have a lot experience in the field).
The second question is, how do I actually use the phototransistor (which I believe is what the one below is)? I tried making a circuit like so:
But I couldn't get the red LED to turn on, even when I made the emitter and detector touch each other.
I have jumped from site to site, but I can't seem to get it right. Could you help me?
Thanks.