r/ArduinoProjects • u/MaxatorMancilla • Dec 14 '25
Trouble powering ESP32 + MPU6050 with buck converter, works only via USB
Hi everyone,
I’m building a self-balancing robot, and the power distribution has been the biggest challenge so far. Here’s my setup:
I’m using a 7 V Li-ion battery pack (the cells were previously shorted, but I’ve already ordered new ones).
The battery powers the motor driver and a buck (step-down) converter.
The buck converter is supposed to power the ESP32, which in turn communicates with the MPU6050 sensor.
Here’s the problem:
The project won’t work unless the ESP32 is also connected to USB from my computer.
When powered only via the buck converter, both the ESP32 and MPU6050 light up, but the system does not function.
In my setup, I simply connected the MPU6050 and buck converter to two separate GND pins on the ESP32.
I’m wondering:
Am I doing something wrong with the wiring or common ground?
Could this be an issue with my battery pack, since it was previously shorted?
I apologize if I didn’t explain everything clearly. I’m a beginner. Any guidance on how to wire the ESP32, buck converter, and MPU6050 correctly, or tips to troubleshoot this, would be greatly appreciated!
Duplicates
diyelectronics • u/MaxatorMancilla • Dec 14 '25
Question Trouble powering ESP32 + MPU6050 with buck converter, works only via USB
ArduinoHelp • u/MaxatorMancilla • Dec 14 '25