I have been reading that a photodiode is built by sandwiching a very thin N type semiconductor togther with a thicker P type. Why is that so?
I found this diagram of a photodiode in one of my text books. I think it is not correct as I don't understand why there should be a battery in the circuit.
Can someone explain?