Magnetic sensors detect moving ferrous metal. Magnetic sensors detect moving ferrous metal. The simplest magnetic sensor consists of a wire coiled around a permanent magnet. A ferrous object approaching the sensor changes magnetic flux through the coil, generating a voltage at the coil terminals.