I am doing a project on finding the distance between RF Transmitter and Receiver
I am using two 433MHz Transmitter and Receiver pair.
But max Frequency of arduino is 16MHz, is it possible to calculate the transmission and reception time of the RF module using ardunio
Suggest easy methods to find the travelling time of Rf, so that the distance can be calculated using Distance=Speed x Time.
If this is not possible, do tell a way to go about....
Both Hardware and software changes are welcome
It is well nigh impossible to do this (except for highly constrained scenarios), because the composition and geometry of the surroundings have such a strong influence on signal strength (you've probably experienced this with a wifi signal that has dead spots, even when it works in places further away), and because the signal will bounce off of surfaces, ie, it doesn't take a direct path. RF ranging is hard; I've seen RF ranging modules for sale, but they cost like $75 per module - I think they're doing time of flight, but it needs to be highly accurate and very carefully designed. I do not know how well they work.
Those 433mhz OOK receivers are particularly worthless for this, as they do AGC and are totally not meant for this. Among other things - in the absence of a signal, the automatic gain control will ramp up the gain until the noise it picks up provides a 50% duty cycle on the output pin. The way messages have to be sent is that you send a message with ~50% duty cycle, either preceeded by a "training burst" of 50% duty cycle, or repeated several times, or most often both, and then have the microcontroller pick out that pattern. (example of how I do that - it works pretty well). These also have a very low data rate - a few kbit/sec raw, under 1 kbit after overhead of sending messages multiple times and including a training burst.