Is it better to use Two Arduino Unos vs One Arduino Mega?

We are making an interactive map of our school as a student navigation system for a school project. We are basing the movement mechanism on a Kinetic Sand table (almost like a 3D printer gantry). We are also going to use a keypad to have a direct input (type in the room number and the navigation character will move to that from a specific route). When setting up the Arduino(s), should we have the keypad system on its own Arduino and the CNC Shield, stepper motors, drivers, etc on two separate Unos or would it be better to just use a Mega?

We aren't sure from a coding standpoint which would be easier and your help would be greatly appreciated!

1 Like

One Arduino board is always easier.

If you have two boards, then you need extra software for the communication between the boards. If you update the sketch of one board, then you probably need to update the other board as well.
If you use Serial communication between the boards, then perhaps a Software Serial port is needed on the Uno board, but that takes over the complete Uno board.
Don't even think about I2C between the boards, because then your project will fail.

1 Like

A Mega has twice as many serial connections as two Uno's, more than twice as many pins, and more than twice as much memory. It would also require about half the code. There is nothing you have said that even faintly suggests that two Uno's might be a good idea.

Oh crap, I forgot that we already have a CNC Shield that perfectly fits an uno so we weren't sure if just using two of them was better.

Can you give a link to that shield and how many of those shields do you need ?

Amazon Link

We are only going to need one of these as of now.

Crap indeed. A Uno project shield will typically fit on a Mega.

2 Likes

Here is some explanation and a (vague) schematic of the CNC shield: https://osoyoo.com/2017/04/07/arduino-uno-cnc-shield-v3-0-a4988/

There is a connector for the I2C bus. That will not work on a Mega board. I think the rest should work.

You need also something for the keypad. If you have a prototype circuit board and a few rows of pin and perhaps double rows of pins, than you can add your own add-on board next to the CNC add-on board.

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