Guys,
I need to develop a project where there will be multiple subsystems. I recently found initializing GSM is a bit time consuming as it needs to be registered and bla bla bla... No issues. Thus say GSM will be under a sub-section independently operated. But as it will receive SMS and also may initiate SMS and also may need to call/receive calls, it I planned to communicate with a master device. Basically there will be a CPU (m2560) that will control 3 to 4 subsections. GSM is one, and other will be for display (yes, as there will be TFT for only display, not for command, and let a processor handle it, as it will receive string, WHAT TO BE PRINTED OUT.) And the same way, there will be a motor controller with sensors for motor controlling job.
So, all of them will get command from the CPU and start tasking individually. And will report to the CPU their staatus. CPU will then send the data to display or stop if necessary. Like Motor is asked to be turned ON and while motor is turning ON (say not at full RPM) but SMS came to shut off and hence CPU will also notify the motor controller to shut off.
Now, I can see in here all of them as master and slave in nature. And they all can communicate randomly. In a scenerio, there must be handshaking and hence I'm a bit confused, which approach should I take. Any ideas?? Also pleasee say your reasonings.
Thanks in advance...
Mishu~