Page 1 of 1

USB + Vin 6v at the same time

Posted: Sat Oct 10, 2020 11:53 pm
by nielodanielo
Hi everyone!

I'm building a robot using ESP32 devkit v1 DOIT and its servos are powered by a battery that gives 6v (7,4 lipo battery through converer).

To not to add an extra converter to get 5v (more weight, more complexity), I'm planning to power the ESP via Vin with the 6v supply (as far as I know, there's no problem with this setup), but I need to debug with the usb plug connected, so here it is the question:

Is it SAFE to connect the USB to a computer AT THE SAME TIME with the Vin connected to a 6v battery power supply?

I'm a programmer, noob in electronics, so be kind...

Re: USB + Vin 6v at the same time

Posted: Tue Oct 13, 2020 3:20 am
by ESP_Sprite
Assuming that this is your devboard and these are the schematics for it, you should be good; D1 blocks the Vin power flowing back to the USB port.

Re: USB + Vin 6v at the same time

Posted: Tue Oct 13, 2020 6:52 am
by Spile2
From what I have read 6v from a battery should be easily be within specification.

Re: USB + Vin 6v at the same time

Posted: Sat Oct 17, 2020 4:06 pm
by nielodanielo
ESP_Sprite wrote: Assuming that this is your devboard and these are the schematics for it, you should be good; D1 blocks the Vin power flowing back to the USB port.
That's my exact model, thank's so much!
Spile2 wrote:
Tue Oct 13, 2020 6:52 am
From what I have read 6v from a battery should be easily be within specification.
Great, I just wanted to be sure.

Thanks both!

Re: USB + Vin 6v at the same time

Posted: Sun Oct 18, 2020 5:29 am
by Spile2
When I inadvertently powered this board by USB and 5vIn, the board stopped working. Led light displays , com port registers but processor gets very warm and communication is not possible. I have had to write the hoard off.

Re: USB + Vin 6v at the same time

Posted: Thu Feb 01, 2024 1:09 am
by MadCompSci
I am trying something similar, but I am using 12V to power a 5V regulator that hooks to Vin. When I plug in the USB cable (actually just touch the metal part of the USB plug to the USB port on my PC) my PC IMMEDIATELY powers off. What is happening?