The sensor works using a iron cored coil with a magnet attached to one end. When a peice of ferrous metal is moved towards the end of the sensor it changes the shape of the magnetic field in the coil, this changing magnetic field then induces current to flow in the windings of the coil resulting in a small amount of electricity being generated. Yuvatech- With best web solutions.