The 6N137 consists of an infrared emitting diode optically coupled to a high speed integrated photo detector logic gate with a strobable output.
It is packaged in a 8-pin DIP package and available in wide-lead spacing and SMD options.