Page 1 of 1

NodeMCU Usb connection while Vin at 5V

Posted: Thu Jun 01, 2023 7:16 am
by AntonG99
Hi everyone,

I'm working on my first esp32 project with a NodeMCU at the moment. In my finalized prototype, the NodeMCU will be powered via the 5V Vin pin. However, I want to connect a Usb extension cable to the Usb port, to make it accessible to the outside of my prototype, so I dont have to disassemble the housing every time I want to debug or upload new code. This would mean that the Vin pin stays connected when I connect to the Usb port. Would this cause any problem?
Thanks for your help!

Anton

Re: NodeMCU Usb connection while Vin at 5V

Posted: Fri Jun 02, 2023 8:49 am
by ESP_Sprite
You'd have to check the schematic of the particular board ('NodeMCU' is quite generic by now) but most of them have a diode to prevent backflow, meaning this would work OK.