1. A self-calibrating radio frequency transmitter wherein said transmitter is powered by an AC power line and wherein said AC power line presents a line frequency, comprising: an adjustable oscillator wherein said oscillator oscillates at an oscillator frequency, and has a desired operating frequency; a first frequency counter, wherein said first frequency counter counts said oscillator frequency; a second frequency counter, wherein said second frequency counters counts said line frequency; and a comparer, wherein said comparer compares the counted oscillator frequency against the counted line frequency and produces an output representative of the difference between said counted oscillator frequency and said counted line frequency, wherein said difference indicates a deviation in said oscillator frequency from said desired operating frequency, and wherein said output is input to said adjustable oscillator to adjust said oscillator frequency back to said desired operating frequency.