Electronic – Identifying and correctly using this component

infraredledphototransistor

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.


LED emitter and detector, right?

Best Answer

Putting a photodiode and a LED in series won't do anything useful. Photodiodes work on much lower currents than LEDs do.

There are two ways to use a photodiode, in forward mode like a solar cell, and in reverse mode where the light causes leakage. Generally the second method is simpler because the current is directly proportional to the light level (of the wavelength of light that the photodiode can see).

Try this:

Q1 and Q2 amplify the tiny leakage current from photodiode D1 to eventually drive the LED D2 to about 10 mA. The LED will light with very little current into the base of Q1. Putting 1 finger on the 5 V supply and the other on the base of Q1 should easily light the LED. To decrease the sensitivity, make R1 smaller.