My Laptop Black Out because I turn on the power supply i connected to my arduino mega

You can power the Mega via the barrel / Vin with a 9V power supply and connect USB at the same time without risk.

I would not use a 5V power supply to power the board on the 5V pin and at the same time use the USB to power the board.

Your topic is not related to problems with the IDE and hence has been moved to a more suitable location on the forum.

1 Like