It makes no difference the color of the case of the LED - only the receiver. You want it to appear black, because that is an IR pass/visible block filter.liudr, are wet erase black markers transparent to IR?I would just buy an IR phototransistor. If it doesn't have a black casing, it isn't only IR.
OP: You said you "verified polarity of the emitter and the detector." How did you do that for the detector? FWIW, this guy found that "The Radioshack IR pairs are somewhat confusing, in that the IR LED and the detector kind of have "backwards" pins. On the IR LED the long pin is the positive side, whereas on the detector the short pin is the positive side (it was labeled as the "collector" on the diagram on the back of the package I got.)"Also, it might help if you post the emitter and detector specs that are on the Radio Shack package (or just post a pic of the package).
These days, I stick to Vishay, Osram, etc.
Yes, it was too big, and then I exceeded my post count or whatever...bleh. Here it is.
If a bit of reading were all it took for anyone to understand anything, then colleges, teachers, tutors, and forums would all be very unnecessary.
Often, that's true, but in this case all you had to do was google "phototransistor circuit" or similar. Still, not to worry, you know how they work now. (Didn't mean to sound rude, but my patience gets stretched a little sometimes.
It's not a photo-transistor - it's just a photo-diode, with bad labelling on the pins.
Well then, here's another version of that same pair, different package and set of device details, that should really frost your cookies --276-142 vs 276-0142The "detector" has a phototransistor symbol and transistor "specs", but its leads are labeled "A" and "C".[There's an irrelevant depiction of an optocoupler, or whatever, too (Holy TMI, Batman!) - but the package has two discrete components.]