How does a light-detecting diode create voltage when light hits it? — T
Diodes are one-way devices for electric current and are thus capable of separating positive charges from negative charges and keeping them apart. Those charges can separate by moving away from one another in the diode’s allowed direction and then can’t get back together because doing so would require them to move through the diode in the forbidden direction. Given a diode’s ability to keep separated charges apart, all that’s needed to start collecting separated charges is a source of energy. This energy is required to drive the positive and negative charges apart in the first place. One such energy source is a particle of light—a photon. When a photon with the right amount of energy is absorbed near the one-way junction of the diode, it can produce an electron-hole pair (a hole is a positively charged quasiparticle that is actually nothing more than a missing electron). The junction will allow only one of these charged particles to cross it and, having crossed, that particle cannot return. Thus when the diode is exposed to light, separated charge begins to accumulate on its two ends and a voltage difference appears between those ends.