relatively inexperienced with electronics so be gentle please. I am trying to interface a VEML7700 photodiode sensor with a firebeetle ESP32 using platform.io and arduino framework. The connection and library usage was very straightforward so i got it up and running almost immediately. The schematic is on the image
The problem is when i tried to measure the power consumption. According to the datasheet, the VEML7700 should consume around 40-60uA. When i measure the power consumption with it connected on the esp32 i get 540uA. If i disable the sensor i get a 480uA consumption, which means that it turns off, and there is a 480uA draw somewhere.
The strangest thing happens when you disconnect the Vcc. The sensor still works and outputs data.
If i do the same thing with another sensor (BME280 barometric sensor) connected on its own, i get an equivalent consumption (around 500uA)
if i connect both of them in series, i get double the power consumption (around 1mA).
the same consumption happens even if i dont initialize the i2c bus. Or even if i have the SDA & SDL completely disconnected.
if you connect the sensors that to a power supply directly with 3.3V an Vin, you get the consumption that they say on the datasheet (around 50uA each), so i am off by an order of magnitude, even if i have the sensors disabled on the code.
I tried the same thing on arduino NANO with a single sensor and i get 80uA with the sensor enabled and 20uA with the sensor disabled, so this appears to be working correctly.
Anyone has any idea what may the reason be? Thank you