Multiple arduino mega and 12v led strips

I'm relatively new with using Arduino.
I am tring to make a control panel with using 2 mega 2560 (84led in total) + a few meters of 12v led strips.My question is can i power everyting using 12v 2A trough a jack cable splitter?
I wanted to avoid having multiple power supplies.If this is not possible would it be ok to power both arduino with a 12v 1A.Thank you

Welcome to the forum

How much current do the LED strips need ?

the led sttrips are 12v 0.27A/m per meter

i will only use about 1.5m

Do you mean 84 separate LEDs are connected to Mega I/O pins?

yes 84 tht led's with 330ohm resistors connected to the I/O pins +1.5 meters of 12v strips to backlight the panel

Take into account the maximum current per Mega

  1. 40 mA per pin.
  2. 100 mA per port.
  3. 200 mA for the GND and the Vcc of the processor.

If you power the Mega from 12V, note that converting the 12V to 5V has limits as the onboard regulator has virtually no heat sink and can overheat; not sure how much current it can handle with 12V on the input (maybe 150 mA?).

Even half that many LEDs is too much.
Are you using two Megas just so you have enough pins for the LEDs.

Have you considered using addressable LEDs ?

The LEDs will be indicators of the result of the input. What do you have/need for the input and how do you imagine the process/output to be represented? One LED per input? All LEDs represent the singular output? Twelve LEDs per input? Do you have a drawing?

yes i know this and for smaller projects i use a 5v power supply but since i'm gonna use more that one board just wanted to know if there is an alternative to power more boards with a single supply.i think to avoid issues will power the led strips independently but another question remains.how to power multiple boards with a single supply?

You can use the jack splitter as you suggested.

Thinking that you need two boards to do this is a very common beginner mistake.

please explain.Thank you

Very simple, like this:

Using 2 Arduino in the same project is generally not a good idea. If you are a beginner, almost certainly not a good idea. Only an expert Arduino user will know for sure when using more than one Arduino is appropriate.

Beginners usually want to use more than one Arduino to get more pins. But there are better ways to get more pins without using additional Arduino.

Tell the forum more about your project and we can give you better advice.

i think i made a mistake.i wanted to reply to [david_2018]

ok thank you for your advice....this sounds way better then using multiple boards

See post #8
Answer the question if you would like solutions.

First jim-p covered splitting your 12 volts.

Next I would think about using MOSFETS to drive your strips. The pin output current is limited as was pointed out. Let MOSFETS drive your strips. If you need a schematic just ask. Keep in mind the current limits of the pins on any uC be it an Arduino Mega or any other uC. Work within the safe limits.

Also as was pointed out yes you can power an Arduino Mega using the DC jack but my own experience is when using 12 volts the onboard regulater gets a little toasty.

Ron