Hi Javi!
Great work. I currently start to experiment with sensors and ESPs, and i want to measure solar radiation from a solar panel like you did.
Can you pliz explain me the function you use for the calculation of the radiation?
In particular that line of code : v=2*k/4095*3.3/10*1000/0.33; // 0.33 is the ISC of my pannel in Amps. Use your ISC
Do you use anywhere the dimensions of the solar cell at the calculation since its W/m2?
My solar panel is 6V 1.1W 200mA , 112 x 84 mm. I use ESP32.
Pliz help if you can. Thanks.
Nick.