Photointerupter

Magician,
The photointerrupter you link to has 5 wires.
You'll be surprised at what you can find on the net:

http://www.datasheetcatalog.org/datasheet/fairchild/H21A1.pdf