Disable powering via usb on electron

Hey,

I am wondering if there is a way to disable the power input from usb? I want to power the electron via Vin pin and use the usb connection to monitor the device without powering it via the usb cable.

Thanks

When you have a power source equal or higher than your USB port’s voltage your device will not draw any current off of USB as there is a protection Schottky diode between Vin and USB.

If this isn’t enough “protection” you can always splice a USB cable and cut the Vcc (red) wire.

2 Likes