Principle and Working:
The photon energy calculated by Einstein equation E=hv is equal to energy gap Eg between the valence and conduction bands. The energy Eg is equal to the energy barrier eV0, that electron have to overcome in going from n-doped side of diode junction to p-doped side when no external voltage V is applied to the diode.
...
In the p-doped side, electron recombine with holes releasing the energy Eg in the form of photon is given by equation
Eg = eV0
In the present setup ,the Planck Constant is given by
h = eV0λ/c
Where, V0= V-[(∆In I)/ ∆T-1 X k/e Xƞ]