Hello everyone,
I have a Arduino Mega2560 micro-controller and four ATMEGA32A micro-controllers. I want to use the Arduino controller as a master and the rest as slaves. I need to start and stop the execution of the programs that are running in the slave micro-controllers through the master.Suppose, In one of the slaves, I have programmed for a stepper motor which is connected to a ball-screw(for linear motion). In the second slave micro-controller I have written code for a robotic arm movement. I do not want to run both the processes simultaneously. i.e. when the stepper moves i don't want the robotic arm to do its job. So please give me some hints how to communicate and control the slaves from the master.
Thanks in advance.