LED characteristics and optical detectors