By now, you’ve most likely have seen or even played with an ultrasonic distance sensor. They work by emitting a sound, and then listening for the “ping” to return. The sensor can then tell how far an object is away by calculating the time in between. With sound waves traveling at 343.2 meters per second (768 mph), it’s no small task to measure the short time it takes for the sound to be emitted, then hit something a few feet away, and return. Now, imagine trying to do that with light.
Light in comparison moves at a whopping 299,792,458 meters per second (or about 671 million miles per hour). You’re going to have to have a pretty fast finger on a stopwatch to measure the time it takes for light to bounce back from an object a few inches away.
[Paul Bristow] is doing just that with the use of a new Time of Flight (ToF) sensor called the TeraRanger One. Developed in cooperation with CERN, this sensor uses a very narrow beam of light (listed as +/- 2 degrees) to accurately measure the position of an object to a resolution of 5mm, with distances up to 14 meters away. It boasts an impressive update rate of >1000 samples a second, and is very micro-controller friendly with UART, I2C, SPI, and PWM output.
[Paul] and his fellow hackers at the Post Tenebras Lab Hackerspace in Geneva got their hands on this sensor, and in a short time had a ball balancing robot up and running. The crude program is not running a PID controller, so the results seen in the video after the break aren’t that impressive. Also, the sensor isn’t exactly cheap at about $180 USD. Despite that, it will be interesting to see what applications these sensors will be used for. If you have any ideas, leave them in the comments below.
I wonder how much more jittery it would be if they used an ultrasonic sensor. Should be easy to replicate I guess.
Also watching it is eerily hypnotic.
PS: Don’t infrared distance sensors work the same way? And they too do it using the speed of light and they have been around for years.
No, conventional optical distance sensors don’t use the speed of light. Some just use the amount of reflected light to “estimate” distance. Others use a a CCD line array and trigonometry to measure distance.
I think most of the jitters are due to the low res servo used.
If you like tyis one then you also might have look at the teardown of a Softkinetic depthsense time-of-flight 3D camera by mike’s electic stuff.
Link for the lazys: https://www.youtube.com/watch?v=H4lVbPEYyg8
If there is an output from the TOF sensor then I would think you could attach the sensor to a blind person’s walking stick with output feedback via headphones to the blind person to provide feedback on obstacles in the walking path.
With training the person would be able to visualise the area in front and detect danger for moving obstacles and stationary obstacles as well.
They’ve done similar things with ultrasonic sensors and haptic feedback. Though it would be of benefit to be able to discern distanced accurately up to 14 metres away, unless that much “detail” was distracting.
I just heard a program where a blind man is able to echo locate from making ticking noises.
There is probably more than one blind man who can do that, but Michael Hingson writes about his ability to do that in his book “Thunder Dog”. Amazing story.
http://www.worldcat.org/title/thunder-dog-the-true-story-of-a-blind-man-his-guide-dog-and-the-triumph-of-trust-at-ground-zero/oclc/679941237
I’ve worked with Daniel Kish, who does this. Very impressive guy – walking with him through a parking lot while he echolocated around obstacles like posts was really something to see.
I’d be interested in hearing if anyone has gotten a hold of one of these as well:
http://www.pulsedlight3d.com/products/lidar-lite
It looks pretty neat and is much cheaper and appears to have a greater range and precision.
The only advantage of the TeraRanger seems to be it’s higher update rate but I don’t think that’s important for most of the intended use cases. It would be interesting to see a 1:1 comparsion of both especially under difficult conditions (direct sunlight, low-reflective surfaces etc.)
On the Sparkfun-Websites, where they offer their own type of TOF-Sensor Module (https://www.sparkfun.com/products/12784), a staff-member mentioned this LIDAR pulselight3D Compontent with the following words:
>We have the LIDAR Lite, but it may not be great outdoors. Outdoor laser rangefinders suitable for automobiles are still in the thousand’s of dollar price range. If you just need obstable detection there is a radar unit from delphi here. I think it was $800 last time I got one (life before SparkFun). Pretty cool but maybe not what you want.
(link to delphi on the linked page in the comments)
Thanks! I didn’t realize SparkFun had them! However, the comment says they may not work great outdoors but the accompanying video and demo states that they DO work well outdoors. Hm.
The VL6180 has a 25 degree light cone where the TeraRangerOne claims 2 degrees. The VL6180 also has a 10cm range with what looks to be sub mm resolution. The TeraRangerOne claims 14m with 5mm resolution. I want to try both.
Sorry, the VL6180 has a 50cm range not 10cm.
Thought I was loosing my mind (again). The V6180X has 10cm range.
I do have a LIDAR-Lite from PulsedLight. During my (indoor) testing, it works about as advertised.
I have some pulsed laser diodes I was planning to use for a TOF project, but it got bogged with the measurement aspect. If there is any practical applications information data online, it is buried under mountains of useless abstractified physics speak and wiki articles. Has anyone been able to figure this out?
After this article I searched around the web and found that there is apparently a TOF sensor in the LG G3 for autofocus. So I looked at a teardown and it seems to be located in the back assembly. This assembly can be bought as a replacement for only around $33: http://www.etradesupply.com/lg-g3-d851-back-housing-assembly.html (This is the first one I found. There are probably cheaper sources)
Might get the time to reverse engineer the sensor later this year. However, if anyone wants to beat me on hacking that sensor, be my guest ;)
Just found out that the sensor only has a range of 2 ft. So not as interesting as I thought.
I just finished a build of this using ultrasonic. it works, but not as well.
I’d love to do something with this in stunt robotics. Yeah, ultrasonic sensors could work, and I guess with the response time of motors the speed of the sensor may be moot, but it’s a neat technology, albeit pricey.