Hello is there a way to force power supply only from external source and use the usb connection only for programming purposes on a mega 2560 rev3? Thx
The thing is that I would like to have the arduino shutdown as soon as I unplug the external power supply. The way it works by default, as you have described, is that it auto selects the power source so this means that if both the usb and the external supply are plugged in when I unplug the external supply the arduino remains on because it receives power from the usb. I would like to have it off in this situation.
Hmmm, yeah I was thinking about that. Is usb communication unaffected by the absence of the V+ connection?