Amplifier built-in photo sensor