I did measure with multimeter and both Vext and 3v3 seems to output 3.3v. Could there be some problem or changes with I2C then? I was also unable to detect HDC1080 sensor with Cubecell v2 using 3v3 pin for power but it works like that on CubeCell v1. Or could this be software related? Here is the PlatformIO code I use:
#include <Arduino.h>
#include "Wire.h"
void setup()
{
Serial.begin(115200);
Wire.begin();
pinMode(Vext, OUTPUT);
digitalWrite(Vext, LOW);
}
void loop()
{
byte error, address;
int nDevices;
Serial.println("Scanning...");
nDevices = 0;
for (address = 1; address < 127; address++)
{
Wire.beginTransmission(address);
error = Wire.endTransmission();
if (error == 0)
{
Serial.print("I2C device found at address 0x");
if (address < 16)
Serial.print("0");
Serial.print(address, HEX);
Serial.println(" !");
nDevices++;
}
else if (error == 4)
{
Serial.print("Unknown error at address 0x");
if (address < 16)
Serial.print("0");
Serial.println(address, HEX);
}
}
if (nDevices == 0)
Serial.println("No I2C devices found\n");
else
Serial.println("done\n");
delay(5000);
}