Question regarding powering one Arduino Mega via Vin of another Arduino Mega

Hey there!

I hope this is the right section to post this. I have a quick question regarding powering two Arduino Megas using one external power source.

I have two Arduino MEGA 2560 microcontrollers, and plan on using an external power supply (e.g. 9V, 2A wall supply) to power one of the boards via the jack. I would rather not have to use two wall supplies (one for each board), so I was wondering if it would be safe to power the first board from the wall supply to the jack, then connect that board's Vin to the Vin of the second board (grounding both boards to the same line).

Is this an acceptable method of powering the boards? If not, how would I be able to minimize the amount of external power supplies needed for these boards?

Thanks in advance.

I think that should work. You will also need a GND connection between the two boards.

Another option is to split the cable at the plug and attach two plugs to it, one for each Arduino. It may even be possible to buy a splitter cable with a socket at one end and a pair of plugs.

...R

I use this:

Works well.

Excellent, thank you both!