Special purpose diodes
Every LED indicator, every TV remote's invisible beam, every rooftop solar panel hides the same object underneath: a p-n junction. What changes is the bias applied and the way the junction is built — and that alone turns an ordinary diode into a light source, a light sensor, or a light-powered battery. The LED is forward biased and emits a photon when an electron and hole recombine. The photodiode is reverse biased and turns incoming light into a measurable current. The solar cell needs no external bias at all — it generates its own voltage from light. This article stays exactly where the ISC syllabus wants it: qualitative device behaviour, one governing relation () linking photon energy to the semiconductor's band gap, and the everyday roles these three "special purpose diodes" play in electronics.
Three p-n junctions, three bias conditions, three jobs: the LED (forward bias) turns current into light, the photodiode (reverse bias) turns light into current, and the solar cell (no bias) turns light directly into electrical power, all governed by the same photon-energy relation tied to the material's band gap .
The core idea
A family, not a single device. LED, photodiode and solar cell are all p-n junctions. Nothing about their basic construction is exotic — what distinguishes them is (a) how the junction is biased, and (b) whether the device is meant to be looked at (emitting light), looked into (absorbing light as a signal), or exposed to sunlight (absorbing light as power).
LED — forward bias, current in, light out. The junction is made from a compound semiconductor such as gallium arsenide (GaAs) or gallium arsenide phosphide (GaAsP), chosen so the energy gap matches a visible-range photon. Under forward bias, electrons are injected from the n-side and holes from the p-side; they recombine inside and near the depletion region. In these direct-gap materials, recombination releases its energy mainly as a photon rather than as heat — unlike ordinary silicon, where recombination is largely non-radiative (heat only, no useful light). The photon energy is set by the gap:
where: is the photon energy, the semiconductor's band gap, Planck's constant, the photon frequency, the speed of light, and the emitted wavelength. A larger pushes the emitted photon toward blue (higher energy, shorter ); a smaller pushes it toward red. This single relation is why different LED materials give different showroom colours, and it is the only quantitative tool this topic asks you to use.
Photodiode — reverse bias, light in, current out. Here the junction sits behind a transparent window and is deliberately reverse biased. In the dark, reverse bias allows only a minuscule reverse saturation current from thermally generated minority carriers. When light with photon energy strikes the junction, it creates extra electron-hole pairs right where the field is strongest; that field sweeps them across immediately, adding to the reverse current. Because each absorbed photon contributes at most one electron-hole pair, the resulting current tracks the rate of photon arrival, i.e. light intensity, almost independent of how large the reverse voltage is (once it is large enough to sweep carriers out efficiently). This makes the photodiode a fast, linear light sensor.
Solar cell — no external bias, light in, power out. Structurally similar to a photodiode but built with a large-area, unencapsulated junction so as much light as possible reaches it. With no battery connected, incident photons () generate electron-hole pairs near the junction, and the junction's own built-in field — the same field that exists at any unbiased p-n junction — separates them before they can recombine: electrons drift to the n-side, holes to the p-side. This charge separation creates a potential difference across the terminals; connect an external circuit and current flows, driven entirely by light. Solar panels are simply many such cells wired in series and parallel to raise the usable voltage and current.
The goal is to show, using nothing beyond and , how a single material property — the band gap — fixes the wavelength of light an LED emits (or the longest wavelength a photodiode/solar cell of that material can usefully absorb), so that a given in electron-volts can be converted directly into a wavelength in nanometres and checked against the visible spectrum.
Step 1. Start from the photon energy relation , and recall that frequency and wavelength are linked by , so . Substituting gives .
Step 2. In an LED, the released energy per recombination event is approximately the band gap itself, , since electrons drop from just above the gap to just below it. Setting in the Step 1 relation gives .
Step 3. Solve for : . Because is usually quoted in electron-volts, convert it to joules first using before dividing by it — mixing units here is the single most common arithmetic slip in this topic.
Step 4. Interpret the result. A larger (in the denominator) gives a smaller — a bluer photon; a smaller gives a larger — a redder photon. The same relation, run in reverse, tells a photodiode or solar cell designer the minimum photon energy () needed for a photon to be absorbed and generate a carrier pair — which is why each material has a characteristic wavelength range over which it responds.
Worked example
Question: An LED is fabricated from a semiconductor with band gap . Find the wavelength of light it emits, and check which part of the visible spectrum it lies in. Then, for a second material with a smaller gap , find its emitted wavelength and compare. (Use , , .)
Step 1. Convert the first band gap to joules: .
Step 2. Apply : . This falls in the red band of the visible spectrum (roughly –).
Step 3. Repeat for the smaller gap: , so .
Step 4. Compare and conclude. The result lies just beyond the red end of the visible range, in the near-infrared — this material would make an infrared LED (used in remote controls), not a visible one. The device emits red light at about ; the device emits invisible infrared light at about — confirming that a smaller band gap always shifts emission toward longer, redder (or infrared) wavelengths.
Competitive stretch
A photodiode with the -gap material above is reverse biased through a load on a supply. In darkness the current is negligible; under illumination it becomes . The voltage drop across the load is , essentially unchanged whether the reverse supply is or , because the field is already strong enough to sweep out all photogenerated carriers — the current is set by light intensity, not by bias voltage.
Common traps
- Mixing up the bias: LED is forward biased, photodiode is reverse biased, solar cell needs no external bias — it makes its own EMF.
- Calling a photodiode a power source. It is not: it needs a battery and only modulates a small reverse current with light. Only the solar cell generates net electrical power from light.
- Forgetting the eV-to-joule conversion when using — this single missed factor of throws the wavelength off by eighteen orders of magnitude.
- Assuming any LED material can be forced to emit any colour by changing the current or voltage — emitted wavelength is fixed by , a property of the material, not of the operating point.
Ask the tutor: Want to work through how solar cell efficiency depends on choosing the right band gap, or try a few more LED wavelength-to-colour problems?
Why does a photodiode need a battery if a solar cell does not?
A solar cell already has a built-in electric field at its unbiased junction, strong enough by itself to separate light-generated electron-hole pairs and push them around an external circuit — that is exactly what makes it a power source. A photodiode is used differently: it is reverse biased on purpose so that its tiny dark current, and the extra current light adds to it, can be read as a clean, fast, nearly linear signal. The external battery is not there to supply power; it is there to keep the depletion field strong and consistent so the device behaves as a reliable light sensor rather than a variable-output generator.
Can a silicon LED emit visible light like GaAs or GaAsP ones do?
Not efficiently. Silicon is an indirect-gap semiconductor, meaning that when an electron and hole recombine, momentum as well as energy has to be conserved, and satisfying both usually needs an extra lattice vibration (a phonon), which makes photon emission a rare, weak side effect. Recombination in silicon overwhelmingly releases its energy as heat instead. Materials like gallium arsenide and gallium arsenide phosphide are chosen for LEDs specifically because they are direct-gap semiconductors, where recombination can release essentially all its energy as a photon efficiently.
Does a photodiode work with any colour of light, as long as it is bright enough?
No — brightness is not the only requirement. Each photon must individually carry energy at least equal to the band gap, , or it cannot create an electron-hole pair no matter how many such photons arrive per second. A very bright beam of light whose photon energy falls below produces essentially no extra current, while even a dim beam with comfortably above will generate a measurable, intensity-proportional current. Frequency sets whether the device responds at all; intensity then sets how strongly it responds.