Who came up with the idea of solar panels?

A.E. Becquerel

 

The roots of modern solar power can be traced back to 1839.

It was at this time that a 19 year old French physicist, A.E. Becquerel,

whose focus up to that point had been related to phosphorescence and luminescence,

discovered the photovoltaic effect.