Seemingly do easy yet the easiest thing is to waste a lot of time because the esp32 dev kits have a fault, a bad diode means if you power from the 5V rail it wont work. See the programming notes which containg ways aroung the issues I found.
ther VIN is to be the Main powerpin not the 5V
Sadly on this board there is only the V5 pin, VIN is missing. The only way it would work is powered via the Micro USB, if I connected both it damaged the board.
can you post a Image of the Board you are working on
Vin is usaly left to the USB connector
Why do you have 2 capacitors and you are also using the wrong type of level shifter? I2C shifters are too slow.
You can’t power from 2 supplies. You must pick 1, either the 5v pin, 3.3v pin, or usb.