A detecting apparatus for a lamp is disclosed. The detecting apparatus
includes a central processing unit for receiving a spectrum signal and
converting the spectrum signal into a digital signal, a converter for
converting the digital signal to an analog signal, a controller for
receiving the analog signal and generating an operating signal, and an
amplifier for receiving the operating signal and outputting a voltage
signal to activate the lamp, wherein the spectrum signal is analyzed and
differentiated such that an operating condition for the lamp is obtained.