Powering XIAO with battery

Hello, I am working on a project with XIAO esp32 c3 and am trying to power some neopixles using a battery. I looked all over the Internet and could not find any guidance for this. I have the neopixles hooked up to VBUS GND and D10 and it works fine from usb but when I use the battery contacts on the back it doesn’t give power to the VBUS. I tried hooking the positive terminal straight to VBUS and it worked fine. If I do that is it safe? will it fry anything? Also would it work to connect the negative terminal of the battery to the GPIO’s GND or the GND under the USBC port? Any help would be greatly appreciated!

Which one you mean by VBUS according to these images? 5V or 3V3 or BAT+
I assume you mean VBUS is 5V

This 5V pin is only power from USB so when you disconnect Usb cable this pin will not be powered
you should select 3V3 for power from battery connected to bottom
you should not connect power from bottom to 5V because could backfeed the USB and damage computer. if you connect directly to Battery on bottom you will not be able to turn off unless you have a connector which can be connected or disconnected

Do you know of this device?

no I haven’t seen that device, and I did accidentally call the VUSB VBUS but I just tried hooked up the neopixle to 3v3 and it works, thank you so much for your help!

1 Like

Thanks… it didnt even occur to me that VBUS was VUSB… and i misspell stuff all the time… lol

The VBUS pin is usually connected to the USB 5V power supply. When you connect your XIAO ESP32-C3 via USB, the VBUS pin provides 5V, which powers the NeoPixels. However, when using a battery, the VBUS pin does not automatically receive power.

this pin does not provide power… it is only connected to USB power

ok thanks! am i supposed to end this topic because it got solved?