Advice on how to control my robot

I've been working on my robot, and after messing up a shield, i'm taking the time to rethink how i'm controlling the robot. It has a servo arm and a 4 wheel drive as well as various sensors, but I was wondering if it would be better to control through trying to learn how to multitask one board, or just using multiple boards on it to make it able to move around and its arm at the same time from a controller. I already installed a second arduino uno with a new shield, but I wanted to know if it was better to just multitask, or if it's even possible.

Yes, it would be better to learn to multitask on one board.

These are some good starting points:

The venerable BlinkWithoutDelay example is common, but look at the different ways folks multitask BWOD:

A nice top-down design is:

1 Like

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