Problem reading output GYML8511

Hello, i recently bought an arduino and a GYML8511 sensor to measure UV intensity for a school project.

It's my first time using this sensors so i followed a GitHub guide and used this code : ML8511_Breakout/MP8511_Read_Example.ino at master · sparkfun/ML8511_Breakout · GitHub

i connected the cable as said ( I believe)
Here is a schematic :

The issue is that when using, the value i read on the serial monitor when sensor is facing opened room :

MP8511 output: 641 MP8511 voltage: 3.21 UV Intensity (mW/cm^2): 17.40
MP8511 output: 649 MP8511 voltage: 3.25 UV Intensity (mW/cm^2): 17.71
MP8511 output: 638 MP8511 voltage: 3.19 UV Intensity (mW/cm^2): 17.28
MP8511 output: 631 MP8511 voltage: 3.16 UV Intensity (mW/cm^2): 17.04

but when covering the sensor or when flashing it with a UV light it doesn't change anything. ( Or maybe very slightly with voltage varying of 0.3 V.

I copied and paste the code from github and didn't touch anything. The cable connection are the one mentioned in the code Connect the following MP8511 breakout board to Arduino:
3.3V = 3.3V
OUT = A0
GND = GND
EN = 3.3V
3.3V = A1

If someone could help me it would be very gentle as it's been a week i tried multiple code and connection but i always have the same issue. Thanks in advance

Welcome to the forum

Please post your best effort at a sketch to read the sensor

Sounds unlikely but I am not familiar with the sensor

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.