does measuring distance between two components with Arduino is realistic?

Hey guys. I wondered if that is the right place to post my question. I assumed it is.

My goal is creating two different but syncronized components, which able to measure the exact distance between them.

I thought about "radio waves". Using "radio waves" I can send a single character between the two components, and by some formula of speed of light (also the speed of radio waves) - assume the distance.

But I wonder wether the Arduino's hardware is fast enough to provide me this purpose, or not.

Guys. I will appreciate if you will help me with the lack of knowledge of mine.

Thank you very much, and have a best day...

How far apart are we talking about? inches? feet? miles?

No, the Arduino UNO hardware is not fast enough to measure light speed for reasonable distances. You can use a radio signal to trigger a remote ultrasonic pulse and measure the time of flight to get a fairly accurate distance over a range of several meters. See the Ben Heck Show episode about Robotic Luggage which not only measures distance but direction.

Delta_G: How far apart are we talking about? inches? feet? miles?

100 feet top. more then that, I dont care about deviations.

johnwasser: No, the Arduino UNO hardware is not fast enough to measure light speed for reasonable distances. You can use a radio signal to trigger a remote ultrasonic pulse and measure the time of flight to get a fairly accurate distance over a range of several meters. See the Ben Heck Show episode about Robotic Luggage which not only measures distance but direction.

So it will be accurate enough if I want to measure accurate and fast enough a distance of 100 meters?

If it doesnt, so what hardware I can use for achive my target?

If it doesnt, so what hardware I can use for achive my target?

A 100 foot tape measure.

Or maybe a length of string. With a couple of tin cans, it could double as a communications device.

PaulS: A 100 foot tape measure.

What?

michaelbuzorgi: What?

A tape measure that is 100 feet long

What?

Tape measure

jremington: Tape measure

Yhea Yhea... haha..:) now seriously. It can be accurate for measuring 100 metter distance?

michaelbuzorgi: Yhea Yhea... haha..:) now seriously. It can be accurate for measuring 100 metter distance?

Yes, if you've got a peg or nail you can stick in the ground to anchor the tape. You may also need a calculator (to convert feet to metres) and a pencil and paper to count how many lots of 100 feet plus remainder you've measured.

Check out LIDAR Lite v3, made by Garmin and offered at Garmin.com, or resellers such as Sparkfun.com and Robotshop.com for $149 USD.
Good to at least 40 meters with 1cm resolution.
100 meters? Resolution may drop, or it just may not work.
Product site, manual, Arduino library software on Github are here
Garmin LIDAR-Lite v3 | GPS Sensors
Page 9, looks like it has 2 bytes for High Range and Low Range in cm. I don’t know how that is interpreted, as 65535 cm = 655.35m = 2150 feet

"The LIDAR-Lite 3 Laser Rangefinder by Garmin is an essential, powerful, scalable and economical laser based measurement solution supporting a wide variety of applications (ex. drones, general robotics, industrial sensing and more). Measures distance, velocity and signal strength of cooperative and non cooperative targets at distances from zero to more than 40 meters. Offering the highest performance available in a single beam ranging sensor in its class.

The new LIDAR-Lite has all of the same specifications as the legacy sensor: Up to 40-meter range capability with 1cm resolution, small size, low power consumption and light weight. There have been a number of upgrades:

Signal Processing Improvements offer 5X Faster Measurement Speeds
•With the implementation of a new signal processing architecture, LIDAR-Lite will now operate at measurement speeds of up to 500 readings per second offering greater resolution for scanning applications."

If you could find a way to get a reading from a golf laser range finder, you could measure even farther, in tenths of yards, out to 650+ yards.
These are advertised numbers for some Leupold range finders (the brand I use - I forget which model).
Maximum Range – Reflective Target/Prism
800 y /731 m
700 y /640 m
650 y /594 m

I regularly use mine (almost daily when the weather is nice, I play on the way home after work) to confirm the flag is over 200 yards away, farther than I can hit with anything except a driver. Some flags have a reflective prism in them, you get a good reading on these from quite far out if you can hold the unit steady enough to pick out the flag.
There are plenty of other brands as well, Bushnell is a big one.
The other big thing in golf is GPS distance, with more general numbers like front, center, and back of green or to some obstacles, even units that will speak the distance for you.

Is the thing you are measuring to a known location? You could program that into a GPS and have the unit tell you how far you are from it.

CrossRoads: Check out LIDAR Lite v3, made by Garmin and offered at Garmin.com, or resellers such as Sparkfun.com and Robotshop.com for $149 USD. Good to at least 40 meters with 1cm resolution. 100 meters? Resolution may drop, or it just may not work. Product site, manual, Arduino library software on Github are here https://buy.garmin.com/en-US/US/p/557294 Page 9, looks like it has 2 bytes for High Range and Low Range in cm. I don't know how that is interpreted, as 65535 cm = 655.35m = 2150 feet

"The LIDAR-Lite 3 Laser Rangefinder by Garmin is an essential, powerful, scalable and economical laser based measurement solution supporting a wide variety of applications (ex. drones, general robotics, industrial sensing and more). Measures distance, velocity and signal strength of cooperative and non cooperative targets at distances from zero to more than 40 meters. Offering the highest performance available in a single beam ranging sensor in its class.

The new LIDAR-Lite has all of the same specifications as the legacy sensor: Up to 40-meter range capability with 1cm resolution, small size, low power consumption and light weight. There have been a number of upgrades:

Signal Processing Improvements offer 5X Faster Measurement Speeds •With the implementation of a new signal processing architecture, LIDAR-Lite will now operate at measurement speeds of up to 500 readings per second offering greater resolution for scanning applications."

If you could find a way to get a reading from a golf laser range finder, you could measure even farther, in tenths of yards, out to 650+ yards. These are advertised numbers for some Leupold range finders (the brand I use - I forget which model). Maximum Range – Reflective Target/Prism 800 y /731 m 700 y /640 m 650 y /594 m

I regularly use mine (almost daily when the weather is nice, I play on the way home after work) to confirm the flag is over 200 yards away, farther than I can hit with anything except a driver. Some flags have a reflective prism in them, you get a good reading on these from quite far out if you can hold the unit steady enough to pick out the flag. There are plenty of other brands as well, Bushnell is a big one. The other big thing in golf is GPS distance, with more general numbers like front, center, and back of green or to some obstacles, even units that will speak the distance for you.

Is the thing you are measuring to a known location? You could program that into a GPS and have the unit tell you how far you are from it.

But I need a clean view for using this kind of technology (right? I can use it through buildings for example..).

I want to use radio wavws for a reason, but I need a way to make it be fast enough, which will give me the ability to measure 100 metters in high accuracy with a transmitor and a reciever.

In that case, have the other end equipped with GPS and broadcast its position via radio waves, your end receives and do the calculations based on your position.

CrossRoads: In that case, have the other end equipped with GPS and broadcast its position via radio waves, your end receives and do the calculations based on your position.

I will clear my question :) In what problems I will head with, when I will connect a transmitor and a reciever to two Arduinos, and put each one 50 metters away from the other, and then transmit signal from Arduino A to Arduino B, and then measure the exact distance when I know the time past until a signal came back to Arduino A?

How much accurate I can get (In m\cm) with this methos?

How much accurate I can get (In m\cm) with this methos?

probably no worse than about 10-20 km

AWOL: probably no worse than about 10-20 km

If that is the situation so I will buy one right now!

Are u telling me for sure that I can with Arduino and to radio "transmit and recive" technology measure 10KM precisely? without any cm deviation? What is the hardware speed of Arduino anyway? nanosecond cycles?

No, I wrote no such thing - I wrote that if you wanted to measure a distance of 100 metres, it would be reasonable to expect an error of up to 10 to 20 km using an Arduino for the timing.

AWOL: No, I wrote no such thing - I wrote that if you wanted to measure a distance of 100 metres, it would be reasonable to expect an error of up to 10 to 20 km using an Arduino for the timing.

Ohh.. and why is that? If the radio waves moving the speed of light, shouldnt it be more accurate? Shat prevent it from be good enough?

And...do you know about another hardware that will help me to achive my target?