Pig detectors are signaling devices that are attached to the pipeline and indicate a pigs passage past a certain point, typically departing from and arriving at pig traps. It may be a mechanical device that gives a visual indication or it may operate a micro-switch to give an electrical signal at some remote site.