What is a diode?
A diode is an electronic component that allows electric current to flow easily in one direction but blocks it in the opposite direction. It works like a one-way valve for electricity.
How it works
Most modern diodes are made from semiconductor material, usually silicon. They contain a p-n junction, where two differently treated regions of the semiconductor meet.
When voltage is applied in the forward direction, current flows. When it is applied in reverse, the junction blocks the current.
A diode has two ends: the anode and the cathode. A stripe on the body usually marks the cathode.
Uses
Diodes are used in power supplies to convert alternating current (AC) into direct current (DC). This process is called rectification.
They protect circuits from damage if a battery is connected the wrong way round.
They are used in radios to detect signals and in many other circuits.
Light-emitting diodes
LEDs, or light-emitting diodes, give off light when current flows through them. They are used in lamps, screens, indicator lights and traffic signals because they are efficient and long-lasting.
Other types
Zener diodes allow current to flow in reverse above a certain voltage and are used to regulate voltage.
Photodiodes detect light and are used in sensors and solar cells.
History
Early diodes were vacuum tubes. John Ambrose Fleming invented the vacuum tube diode in 1904.