Microprocessor-controlled single-coil detector