Hi all, I'm working on a project which involves the delivery of fragile products by robots. The robotic work is completed and I'm handling the monitoring aspects of this prototype. My goal is to monitor the status of various parts of the robots and the below are the conditions that I have to monitor (i.e. implementing different sensors):
- Temperature of different parts by DHT22
- Stability of different parts by accelerometer and gyroscope
- Moving speed of the robot (TBD)
- Distance between robot and obstacle by TF mini LIDAR
Limitation and Struggling issue:
Due the the prototype design, we cannot install sensors connecting to one arduino, though we tried to connect as many sensors as physically possible, there are still many sensors have to be separated apart.
We need to monitor the stability of the robot and how nimble it is in reacting to obstacles. So that we put in LIDAR to detect obstacle around and measure the distance apart and time the safety distance and time used to react. In parallel, we need to monitor the stability of a few parts of the robot as it is holding some fragile item. So we need to compare if the storage platform is stable while the robot is avoiding obstacles. Since the sensors are separated, we are struggling to compare the data which needs to be accurate down to fraction of a second.
Assuming we can set the sensors the read data with the same frequency (printing serial with the same delay period such as by "delay100"), how can I synchronise the data in order to study the motion of the robot? We need to read the data in the exact same second across sensors to study its behavior.
Also wondering if accelerometer plus gyroscope is the best option for analyzing stability? Any better suggestions?
We are quite new to arduino and sensors, I hope I have explained it clear enough. Your help is much appreciated!