Function: what a Photodiode does in a circuit
A diode that makes a small current when light falls on it: more light, more current. Very fast.
- Turns light into a small current
- Measures light quickly and accurately
- Receives light signals, as in remote controls and optical links
Photodiode key facts
| Use | connected in reverse: cathode to + |
|---|---|
| Signal | a small current (microamps) proportional to the light |
| Speed | very fast, well under a millisecond |
| Reading it | through a large resistor (47 kΩ to 1 MΩ) to turn the current into a voltage |
Connections
The legs from left to right, as the part is drawn in the simulator:
| No. | Name |
|---|---|
| 1 | anode (long leg) |
| 2 | cathode (short leg) |
How it works
Light photons create electron–hole pairs in the junction, and the built-in field sweeps them apart as a current. Wire it backwards (cathode to +5 V, anode to a 47 kΩ resistor to GND): the light current through the resistor gives a voltage you can read with analogRead.
What it is made of
- Junction: Silicon p-n junction SiBP
- Lens: Clear or dark-tinted epoxy (dark ones only see infrared) CHO
Where the materials come from: Silicon from quartz; the epoxy from petroleum chemicals.
The chemistry
It is a tiny solar cell: the same photoelectric effect, but used to measure light instead of to make power.
Biology connection
Your rod cells respond to single photons, much more sensitive than a photodiode, but far slower. How the eye sees →
Safety and the environment
It gives microamps: you need a large resistor (or an amplifier) to get a useful voltage.
Did you know? Fibre-optic internet receivers use photodiodes that switch billions of times a second.
Photoelectric effectElectromagnetic spectrum Elements inside: SiBPCHO
Try it in the simulator
Add it in Free build: cathode (short leg) to 5V, anode to A0 and a 47 kΩ resistor to GND. Print analogRead(A0) and drag the Light slider.
Questions students ask
What does a Photodiode do?
A diode that makes a small current when light falls on it: more light, more current. Very fast. Main functions: turns light into a small current; measures light quickly and accurately; receives light signals, as in remote controls and optical links.
What is the difference between a photodiode and an LDR?
A photodiode is much faster and gives a current that follows the light level exactly, but the signal is tiny. An LDR is slow (tens of milliseconds) and less precise, but its large resistance change is easy to read.
What are the connections of a Photodiode?
In order: anode (long leg), cathode (short leg).
How does a Photodiode work?
Light photons create electron–hole pairs in the junction, and the built-in field sweeps them apart as a current. Wire it backwards (cathode to +5 V, anode to a 47 kΩ resistor to GND): the light current through the resistor gives a voltage you can read with analogRead.
What is a Photodiode made of?
Junction: Silicon p-n junction. Lens: Clear or dark-tinted epoxy (dark ones only see infrared).
Is a Photodiode safe? How should it be recycled?
It gives microamps: you need a large resistor (or an amplifier) to get a useful voltage.
More sensors
Connected tools
The same idea from another angle, across the site.