A lightning detector is a device that detects lightning produced by thunderstorms. ... Personal lightning detectors function by detecting the electromagnetic pulse (EMP) emitted by a lightning strike. By measuring the strength of the detected EMP, the device can then estimate how far away the detected strike was.