The generator micro-coil creates a AC magnetic field with a frequency around 1 MHz. The magnetic field couples into the two detection coils that are separated by a distance of 1 mm and that are connected in a differential configuration. When a ferromagnetic (steel) or electrically conducting (aluminum, brass, copper etc) object in front of the sensor deforms the AC magnetic field, a signal is measured at the outputs of the differential detection coils. The detection coil signal is amplified, demodulated, low-pass filtered and passed through a comparator. The comparator includes hysteresis in order to provide a stable switching point.