Pergunta de entrevista da empresa Lam Research

How to design an IR sensor with just diode and varying voltage level?