How does photodiode detect light?

A photodiode detects light based on the principle of converting photons (light particles) into electrical current. When photons of sufficient…