NodeMCU Usb connection while Vin at 5V

AntonG99
Posts: 1
Joined: Thu Jun 01, 2023 7:08 am

NodeMCU Usb connection while Vin at 5V

Postby AntonG99 » Thu Jun 01, 2023 7:16 am

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

ESP_Sprite
Posts: 8921
Joined: Thu Nov 26, 2015 4:08 am

Re: NodeMCU Usb connection while Vin at 5V

Postby ESP_Sprite » Fri Jun 02, 2023 8:49 am

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.

Who is online

Users browsing this forum: Bing [Bot], DrMickeyLauer, JVKran and 68 guests