Mega 2560 has power but no longer appears as a device

If you want to power via the 5V header pin, connect a diode from 5V (anode) the Vin (cathode) to prevent reverse driving the 5v regulator.
See page 10-11.

lm1117-n.pdf (2.45 MB)