PhotodiodeA photodiode is a light-sensitive semiconductor diode. It produces current when it absorbs photons. The package of a photodiode allows light (or infrared or ultraviolet radiation, or X-rays) to reach the sensitive part of the device. The package may include lenses or optical filters. Devices designed for use specially as a photodiode use a PIN junction rather than a p–n junction, to increase the speed of response. Photodiodes usually have a slower response time as their surface area increases.