maybe you can used the “5V”“GND”pin , the mega can be drived when 5V power supply. or connect jumper wire to the “VCC”“GND” of USB port .
maybe you can used the “5V”“GND”pin , the mega can be drived when 5V power supply. or connect jumper wire to the “VCC”“GND” of USB port .