BL817M device consists of an infrared Emitting diode, which is optically coupled to a phototransistor detector.