UV Sensor that shows current UV intensity and accumulated UV

Hi,

I am new to this and I am trying to build a UV sensor that reads the current UV intensity, time in seconds and accumulated UV Dose. I am using the ML8511 and used their code to get it working, now I am just trying to get it to show different outputs. Right now the intensity seems to be working, but the dose and time is important as well.

Thanks,

Greg

sketch_uv_sensor_9_6.ino (3.07 KB)

The sensor just does intensity. You have to calculate the dose and time in your code.

Thanks Mark. I found the formula: W/cm2 multiplied by time. Thanks.

Yes, that is how to integrate!

hello goodnight I'm using the ml8511 uv sensor and saw its code but I do not understand these float values uvIntensity = mapfloat (outputVoltage, 0.99, 2.8, 0.0, 15.0); how do you get.
I hope an answer thanks