I’m using an ESP32, ML8511 UV Sensor, and an OLED display for a simple project. However, I’ve noticed that the ML8511 often reads negative values when the ESP32 is connected to WiFi.
From my observations, it seems that when WiFi is enabled, the ESP32 draws more current, leaving insufficient power for the sensor, which might explain the inaccurate readings.
I’ve attached a circuit diagram for better understanding. Has anyone experienced a similar issue? Any suggestions on how to resolve this problem would be greatly appreciated.
Also what is the bridge between Sensor 3.3V and enable(?) pin supposed to do while it's also connected to Esp Gpio?
I'm quite sure it has pullup resistor, so it's enabled by default.
And find some alternative power supply, like USB charger if you don't need battery operated setup. That 9V battery is not going to last long anyway...