I’m using Arduino to program a XIAO ESP32-C5, labeled 3/15/26.
I have a simple program up and running on Expansion Board v1.1 - when powered via USB C on the XIAO ESP32C5 module. I have a 3.7V LiPo battery connected correctly and it is charged to 4.15V.
The Arduino program does not use Serial.
When working, the program blinks the ESP32C5 user LED and writes to the I2C display on the expansion board. The ESP32C5 module has 3.39V on its 3V3 pin and 5.02V on USB5V pin.
The problem is: When I disconnect the USB-C from the ESP32C5, the program stops running. The ESP32C5 module has 3.39V on its 3V3 pin and 0V on USB5V pin. The I2C display keeps its last screen info.
I can power the ESP32C5 with a wall wort USB supply - and it works, it runs. It just doesn’t run of the battery alone.
I gotta be missing something, so if anyone can point me in a direction, I’m all ears.