Hii
The system is like this.
Arduino 1
using the start button the arduino 1 will transmit signal and also a timer will start.
Arduino 2
the arduino 2 will receive the transmitted signal by arduino 1 once the arduino 2 received the signal it will transmit another signal back to the arduino 1.
Arduino 1
the arduino 1 will received that signal then stop the timer. Then the arduino 1 will determine the time.
then using formula we can get the distance.
In this system only my doubt is how to know time. I don't know about arduino timers. So please say that how can I measure this tome.
The system is like this.
Arduino 1
using the start button the arduino 1 will transmit signal and also a timer will start.
Arduino 2
the arduino 2 will receive the transmitted signal by arduino 1 once the arduino 2 received the signal it will transmit another signal back to the arduino 1.
Arduino 1
the arduino 1 will received that signal then stop the timer. Then the arduino 1 will determine the time.
then using formula we can get the distance.
In this system only my doubt is how to know time. I don't know about arduino timers. So please say that how can I measure this tome.