Soft reset two Arduinos from one Arduino question

I am using two Arduino megas to run two slightly different LED loops. Even though they are the same time length they get out of sync within a few loops. Software handshakes have not worked well.
But
I found code for a soft reset over at ; https://arduinogetstarted.com/faq/how-to-reset-arduino-by-programming. This uses PIN2 out to RESET PIN to do the reset.
My question is: Can I run a spliced wire from PIN2 on Arduino NO 1 to RESET PIN on both Arduino NO 1 and NO2 ?
I wanted to ask before screwing anything up
Thanks

Why do you need to run two Megas rather than just one ?

Yes.

Too late! You already screwed up by using 3 Arduino where 1 can do the job. Maybe your coding skills are not yet good enough to achieve that, but 1 Arduino can probably do the job easily.

Hi,
Memory! I am running 2008 LEDs:Eight 16X16 ws2812b panels. Memory from one mega runs out at about 1600 LEDs

Use 1 Arduino with enough memory.

Unfortunately this probably means an Arduino with a more modern chip, and these are all 3.3V. You may need to boost the 3.3V signal from the Arduino to to 5V for the LEDs, using, for example, a 74hctXX chip.

My first thought was that if you NEED to use multiple cpus, a heartbeat and sync clock would be more use than a handshake.

Hi,
Do both patterns have the same number of transitions?

If so can't you run one mega as master, and each time you have a transition in pattern, you output a signal to the other mega to transition as well.
That way you are not relying on the both megas to have exact clock frequencies.

Tom.... :smiley: :+1: :coffee: :australia:

Thanks for the suggestion. I have the megas in hand , I don't have the others at the moment so I would like to try using what I have.

So you only have hammers and want to continue to use them to knock screws into walls. It's your project and no one is going to stop you. Just expect to get questions like this every time you ask for help.

Thanks Tom

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.