Abstract: An oscillator which produces a continuous wave output signal on an antenna having a preset frequency. A detection circuit detects changes in the preset frequency resulting from proximity between the antenna and an object and when such an object is detected, the detection circuit generates an output signal. A compensation circuit is also provided for compensating for changes of the preset frequency which are caused by factors other than proximity of the antenna with an object. Such other factors include radio frequency interference, long term component degradation, temperature, and the like.