I'm currently working on a project in which i need to measure the distance of a device using the time it needs for a Electromagnetic to travel to the device and back.So you can imagine the accuracy of time i need to measure the distance! I've seen various modules and timer ICs online but most are sophisticated and a bit over my current capabilities (i'm willing to learn though), so i was wondering if could use my laptop's clock rate (2.5 GHz!) as a timer which increments a counter(any suggestions on counters?) and then i could use that data to calculate the distance.
Thx in advance!