Patent attributes
A proximity sensor or switch having a sensing coil, an oscillator connected to the coil, a comparator connected to the oscillator, a reference voltage module connected to the comparator, and an output driver connected to the comparator. The voltage module may incorporate a resistor having an end connected to a high side of a power source, and a digital potentiometer having a first end connected to another end of the resistor and to the comparator, and having a second end connected to a ground side of the power source. The digital potentiometer may have a resistance that is varied with a signal. A variation of the resistance for the digital potentiometer may result in a change of a voltage from the reference voltage module which further changes a switching distance of the proximity switch to a predetermined value.