“I Heard that LEDs behave like diodes electrically and have their junction exposed, can function as photodiodes. It is true?"

 

Yes it's true. LEDs can perfectly be used as photo-sensors. In fact, they can even be used simultaneously, emitting and sensing the light. On the website we have a circuit that does this;

 

Datasheets


N° of component