Variable amplification, gain for detected signal, select correct level range