Laser vs Ultrasonic - TOF10120 vs. HC-SR04

  Переглядів 175,908

DroneBot Workshop

DroneBot Workshop

День тому

It's the Battle of the Distance Sensors with the tiny TOF10120 Laser versus everyone's favorite HC-SR04 Ultrasonic. I'll compare the two sensors and test their accuracy on the DroneBot Workshop Distance Sensor Testbed!
Accompanying article at dronebotworkshop.com/laser-vs...
More projects and tutorials at dronebotworkshop.com
Join us on the Forum at forum.dronebotworkshop.com
Keep in touch with the newsletter, sign up at dronebotworkshop.com/subscribe/
I recently obtained a few TOF10120 Laser time-of-flight sensors and I wanted to see how they stacked up against the old faithful HC-SR04 ultrasonic range sensor. So I decided to put them both to the test. In fact, I even built a custom testbed to do the job!
The TOF10120 is a very tiny sensor that uses VCSEL (Vertical-Cavity Surface-Emitting Laser) technology to measure distance. It communicates using I2C and also has a serial connection. It is available from many vendors, including Amazon and eBay.
The HC-SR04 is an ultrasonic sensor that I’ve used many times before, I even did a video and article about it a couple of years ago. It uses pulses of ultrasonic sound and measures the time it takes for them to be reflected back from a target. You then use the speed of sound to determine the distance to the target.
I helped out my HC-SR04 by adding a DHT-22 temperature and humidity sensor, as the speed of sound is affected by both variables.
After testing out both sensors I put them on my testbed, constructed from the finest quality scrap wood. Nothing is too good for you folks!
The results were a bit surprising in some senses, although I was limited by the confines of my workshop and that proved to be a problem with the ultrasonic sensor.
Here is a breakdown of today's exciting competition:
00:00 - Introduction
01:40 - Sensor Comparisons
08:43 - TOF10120 Hookup and Sketch
14:17 - HC-SR04 Hookup and Sketch
18:23 - Test Bed Setup
21:08 - Testing the TOF10120
24:12 - Testing the HC-SR04
I'll be testing a few other laser-based distance sensors in the future, so be sure to subscribe if you haven’t already. That way you won’t miss out.
I hope you enjoy the video!

КОМЕНТАРІ: 213
@davidgapp1457
@davidgapp1457 3 роки тому
I've spent time with the TOF10120. You can change several parameters inside the device by transmitting (on the serial interface) a message with the format 'sR-xxxx#' where R is the number of the register in the range 0 to 8 inclusive, and xxxx is a numeric, decimal value (which varies in size depending on the register to which you are writing). Conversely you can read any register by sending 'rR#' where R is the number of the register. So to read register 3 you send 'r3#' across the serial interface. Deviation (register 1) allows you to change a scaling value. Changing this value you can calibrate the device at a given range. So, for instance, I can set an object exactly 200mm from the sensor and modified the deviation until the reported distance is 200mm or thereabouts. As an example, I send the command 's1-02#' on the serial port which reduces the deviation by 2mm. Reading back the register (by sending 'r1#') you will notice the 's1-02#' command is a decrement of 2 - you are NOT setting an absolute value! So conversely, if you send the command 's1+02#' you will see the value of the register increments upwards by 2. The ONLY time this command sets an absolute value is when you send 's1-0#'. The maximum range for the register value appears to be -100 to 99. For my device I found the best value for register 1 was D=-17mm. I'm not sure why it's return in millimeters. I suspect this implies there is an ideal calibration distance. One thing for sure, you can massively improve the accuracy of your device by playing with this value! There are other useful things you can set including filtering, on or off (I suspect this is kalman filtering) which is register 3. You can also set the measurement periodicity over serial which is set, by default to 100ms. This is set via register 2. You can also tell the device to stop continuous transmission of readings (the passive mode) using register 5. This is set by sending 's5-1#' for passive or 's5-0' to return to continuous streaming. If you DO set for passive reads, you can either read across i2c or by reading register 6 ('r6#'). Note this will ONLY return the distance when the device is in passive mode. Finally there is another value, register 8, which is the calibration command. To be honest I haven't played with this register (yet) but I suspect that using a combination of register 1 and register 8 you can actually get decent accuracy out of this device. Next up we have the i2c interface (which I prefer to use as the serial connection is a 1 to 1 interface) If you read 2 bytes from device 82 (aka top seven bits of address 0xA4), register 0, you will always get the range (in mm). That applies to both active and passive modes on the serial interface. However you can also read and write the other registers! This is where things get strange. I've spent time mapping i2c byte addresses to their equivalent registers. Here's what I've come up with so far: i2c byte address 0 corresponds to distance (2 bytes). byte address 6 is the deviation (2 bytes) and corresponds to r1. The serial send interval (default 100ms) is found at byte address 10. The maximum distance measurement (max value 2000) is found at byte address 12. The active/passive flag for serial measurement transmission is found at byte address 9 (1 byte). The distance measurement is found at byte address 4 (2 bytes). The 8 bit device address is found at byte address 14 (2 bytes) or byte address 15 (1 byte). The filtering on/off flag is at byte address 8 (1 byte). I hope this helps. If you spot any errors or have additional information, please rely to this comment and I'll either make corrections or confirm your observations!
@lebronjames2864
@lebronjames2864 Рік тому
so actually you can get good readings below 100mm? How low?
@davidgapp1457
@davidgapp1457 Рік тому
@@lebronjames2864 I am out of country until July 7th. I will take a good look at readings below 100mm when I return to my lab and update here.
@AwestrikeFearofGods
@AwestrikeFearofGods Рік тому
@@lebronjames2864 I haven’t used one yet, but it probably depends on your definition of accuracy. Assuming it functions by measuring round-trip delay of a brief laser pulse, I see no reason why it couldn’t measure distances as short as 1 mm. At these ranges, constant error would have more effect than proportional error, so I imagine it might read 3mm instead of 1mm. This would be “only off by 2mm”, while also being “200% off”.
@davidbernfeld2609
@davidbernfeld2609 10 місяців тому
Great info thanks!!! Is it possible to change the i2c address to use several of them?
@aboverobotics
@aboverobotics 5 місяців тому
Thank you. 2 years passed. Do you still continue to use this laser sensor? Any additional info on it? Going to use it in a small RC car.
@preetamsingh147
@preetamsingh147 3 роки тому
Thank you so much for the amount of hard work you did in this single video, just to make everybody understand things pretty easily. Hats off Man!
@scottwood1143
@scottwood1143 4 роки тому
Great presentation. I like the consistent camera angle/view and more meaningful transitions. Bravo!
@Felipe-53
@Felipe-53 4 роки тому
Thank you so much for sharing! Helped me a lot decide wich would be appropriate for my project! Huge thanks!
@caiofreitas3750
@caiofreitas3750 3 роки тому
Recently started into the microcontrollers world and I learn a lot on your channel. Thanks for the uploads. Hugs from Brazil.
@peterwooldridge7285
@peterwooldridge7285 4 роки тому
Thanks Bill, yet again another great presentation
@raedbishtawy1
@raedbishtawy1 Рік тому
Thank you so much for the effort you put into this test, I'm very appreciative of the knowledge I gained from your work thank you again.
@kapowbalw
@kapowbalw 4 роки тому
Thanks. Great as always!
@abuwaleed1191
@abuwaleed1191 3 роки тому
Sir Your way of teaching is very perfect with very good details. thanks you for sharing.
@aberateklehaimanot9804
@aberateklehaimanot9804 4 роки тому
Thanks mate,superb video.
@thehappycoder3760
@thehappycoder3760 2 роки тому
Brilliant as usual, I was also a little surprised by the result
@JerryEricsson
@JerryEricsson 4 роки тому
Glad to see that, I have a half dozen of the old sound sensors that I got once when I thought about robots but never went forward. Now I don't have the funds to buy the laser anyhow. Thanks for the entertainment and knowledge!
@tinkmarshino
@tinkmarshino 4 роки тому
Very interesting find Bill.. thanks for sharing this.. carry on..
@d74g0n
@d74g0n 4 роки тому
I have been pondering which sensor to go with; but the i2c factor for this project of mine made the choice for me. Thank you universal coincidences.
@user-vn7ce5ig1z
@user-vn7ce5ig1z 4 роки тому
This will be useful for picking the appropriate sensor for projects. Thanks. 👍 Maybe in a future video, you can compare PIR and microwave motion detectors. 🤔
@happysprollie
@happysprollie 4 роки тому
Would be interesting to know how they cope with reflective surfaces (eg, gloss paint) and angled surfaces. In my experiences, few distance sensors cope well in either case, but I'm intrigued to know what the limits might be.
@RobertoColi
@RobertoColi 3 роки тому
Very good and useful video. I am working with the HC-SR04 sensor and I realized that I should imagine A WIDE CONE exiting from it. In your case, to have a real idea of the cone, stating to your measures, you had to put a long ruler bar starting from the centre of the sensor and hit around the 50cm lower bar on the table (the max distance of meaningful detection) and see the real angle. Another thing that you could do, was to raise the sensor to increase the distance from the table and avoid the sound cone to hit the table and bounce back.
@EsotericArctos
@EsotericArctos 4 роки тому
This was an interesting comparison. I am wondering if the sensors may have been picking up your supporting timbers that you used at each set point. Are they even needed with the way this is designed? Might be better to replace the timber supports with just lines to align each measurement point and see how it goes with that. It was an interesting comparison. I had high hopes for the TOF laser sensor. Apart from the speed of the readings, the two sensors were quite similar in accuracy, given you couldn't go further than 50cm with the ultrasonic one.
@matiassoriamonge9911
@matiassoriamonge9911 4 роки тому
Thanks for the video. It was a very usefull information.
@matthewfelgate
@matthewfelgate 3 роки тому
Good job. Informative experiment.
@cdfairchild
@cdfairchild 4 роки тому
Great video DroneBot! Can either of these be used behind a sheet of protective glass/plastic? Or will the sound/light reflect off a see-through surface? I'm trying to find devices that can be placed at multiple levels inside a canister of dry goods (e.g., dog food), and am thinking I'll need to separate the sensor from the stored material by a sheet of glass or plexiglass.
@farshadbagheri
@farshadbagheri 4 роки тому
Hello. Thank you very much for another great video. Could you please let me know what application you use for the wiring schematic, where you show connections between the board and sensors?
@charlesaol
@charlesaol 3 роки тому
Thanks for this. Confirms the problem I've been having with my TOF sensor. This, unfortunately, makes it much less practical for my project. I'll have to do what I can with the HC-SR04
@argcargv
@argcargv 4 роки тому
It would be useful to test measuring distance to an angled surface. I have found that the ultrasonic sensors don't sense objects when at an oblique angle, but in robot applications you may need to sense a wall that you are not pointing at right angles. It seems like optical sensors are better in this regard.
@ovidiurosu6632
@ovidiurosu6632 4 роки тому
great job, thank you
@mandog2142
@mandog2142 4 роки тому
Hey there Dronebot, Would the orientation of the sensor change the results, for instance orientating the device 90 degrees from tested pin placement? Or tilting the sensors slightly off the perpendicular axis (up, down)? Also I'm curious if you covered the rungs on your test bed from sensor to target might improve the results. I've played around with the HC-SR04 and looking to use it in a home application. Thanks for producing these informative videos!
@phrankus2009
@phrankus2009 3 роки тому
The accuracy of the sonic receptor might benefit from a shroud, such as a short toilet tissue tube or other exclusion/rejection barrier, which would limit the angle of echo-return waves.
@gunterpietzsch3995
@gunterpietzsch3995 4 роки тому
Great stuff. I'm more than impressed of the quality of your videos. Have you ever thought about using the LIDAR stuff together with the jetson nano? Which tool are you using to create your beautiful animations? This might be something useful for my class room presentations.
@randallblake1213
@randallblake1213 4 роки тому
I don't know if he is using it, but Fritzing is somewhat similar for the circuit presentation.
@ottisseaborn
@ottisseaborn 3 роки тому
Thanks for the video... do you think a motion sensor or break beam could be made by using one these? Im looking for a simple result as either an open circuit or closed circuit.
@wishicouldarduino8880
@wishicouldarduino8880 4 роки тому
Awesome ! I've been waiting on this I need to hook up dht 22 into the distance sensors on the duce robot .......in about a week when the 3d printer is refined....... I'll have to back up to these videos when I can get a chance .👍 PS this might be a bit much but is there a way to hook this to LCD to display data ?😁
@AhmadAsmndr
@AhmadAsmndr 4 роки тому
thank you very much very helpful.
@ndgoh67
@ndgoh67 4 роки тому
It would be perfect if an infrared sensor can be added to the test... thanks for the incredible effort to make these videos. Thank you. Btw, I have doubts the ultrasonic sonic spec max distance sensing is 400cm...
@serdardemirbas3371
@serdardemirbas3371 2 роки тому
Thank you so much
@saptoarin6630
@saptoarin6630 Рік тому
great test
@electronic7979
@electronic7979 4 роки тому
Helpful video 👍
@rbrtck
@rbrtck 4 роки тому
Have you tried the US-100 ultrasonic distance sensor? In my limited experience, it seems to be both faster and more accurate than the HC-SR04, and compensates for temperature on its own in serial UART mode.
@aminnima6145
@aminnima6145 4 роки тому
you are amazing teacher
@sawyer303
@sawyer303 Рік тому
Thanks, I learned a lot. I would like if in tests you could do speed as well, to see how fast they react. Thank you again
@bugradegirmenci1259
@bugradegirmenci1259 3 роки тому
very usefully video, thanks
@richierich3135
@richierich3135 3 роки тому
fantastic explaination sir, i leaned so much new things from your vidios......i would like to tell you to please tell us how do u refer datasheets from your veiw , so could learn from your experience.... thank you so much
@qozia1370
@qozia1370 6 місяців тому
I 3d printed some shades and managed to reduce the detection angle of hcsr04!
@ser7ser7i
@ser7ser7i 4 роки тому
Thank you.
@tonyfremont
@tonyfremont 3 роки тому
I suspect the ultrasonic sensor was responding to the reflection received from the sticks on the board. That ultrasonic sensor has a small pic on it and you're at the mercy of the embedded firmware. I can assure you that it received the reflection from the further distance, it just ignored it. I did a pic project in the early 2000s using some transducers obtained from a surplus electronics store. I was able to receive reflections from over 8' away reliably. It does have a broad cone of sensitivity, but that can be handled with a literal waveguide to narrow it considerably. I was driving the sending transducer solely by connecting it to two output pins and toggling one low and the other high simultaneously, with a slight delay then reversing the drive, effectively putting 10v peak to peak on the sender, for 6 cycles spaced to generate a 40kHz signal. Using a single opamp on the receiving transducer, it could easily measure to the far wall in the room I was using. Using an oscilloscope I could see other reflections arriving early. I suspect the sensor you are using is picking the first one above a hard set threshold, without regard to any stronger ones received later. Outside of convenience and cost, these mass produced sensor modules are just not that good. I don't believe they have any ability to measure relative strength of the reflections, just a simple comparator aided by a gradual increase in sensitivity (by lowering the threshold) as time elapsed after there transmission, eventually giving up after a preset limit. They're fine for what people use them for, simple to use, but fairly crude technology wise. They're built to a price point, and it shows.I haven't dug through the Arduino library code, but I'm confident that the pulse widths measurements are equally as crude, influenced by random inaccuracies caused by interrupt handling routines. I would think that by using the capture feature of the atmega chip, consistency would greatly improve. I have no experience with the TOF module.
@NewAgeDIY
@NewAgeDIY 4 роки тому
Great demonstration. I wonder if the LASER was designed for close range work? Due to the fact that it's very small it could be mounted inside a device and the LASER could be used to adjust a electrical / mechanical component. For example elevator door. Measuring the distance to close the door, slowing it down or speeding it up.
@climbeverest
@climbeverest 6 місяців тому
Incredible
@bulldogc8710
@bulldogc8710 3 роки тому
According to the article you are using "331.4 + (0.606 * temp) + (0.0124 * hum)" to calculate the speed of sound. Could you give a quick explanation where you found these numbers? I did find the .6*temp+331 in some other reference but have been unable to track down the humidity calculation.
@EcoHamletsUK
@EcoHamletsUK 4 роки тому
I thought I might be able to use the TOF10120 for an application where I'd previously tried an HC-SR04, but was disappointed its apparent lack of accuracy. Then I found the VL53L0X laser board, and wondered if you'd tried that. It's supposed to work up to 2m, so seems to serve a similar function to both these devices, and it's cheaper than the TOF10120. Has anyone tried comparing them?
@qzorn4440
@qzorn4440 2 роки тому
very nice dimension sensor video...👍 do you have a video on line-scan cameras or document line-scan 8.5" wide sensors? would opencv work with these sensors? thanks...:)
@emadabuhagag222
@emadabuhagag222 3 роки тому
thank you
@rizalardiansyah4486
@rizalardiansyah4486 4 роки тому
Now there's an infrared proximity sensor that is very similiar to the hc-sr04 in price (i don't know what's it's official name is) and seems quite easy to use (according to my little experience at least...). I wonder if you could review that sensor as it is quite responsive hence could be used for high speed sensing.
@McReaL87
@McReaL87 3 роки тому
Hey, nice video. I missing something about reflection details. Like u said, everyone is very familiar with these ultrasonic sensors but they bring some problems like reflection in specific angles with them. I try to make a rc car to drive autonomic and this issue brings me to gather new informations about other types of meassure tools like lidars or laser.
@venkatyalamati3285
@venkatyalamati3285 2 роки тому
Thank you so much for the video sir.. plz make a video on HC-12 433 SI4463 Wireless Serial Module
@1boobtube
@1boobtube 4 роки тому
Would be interesting to use another. movable transducer and see if you can measure the beam pattern maybe sidelobes picking something off the bench that's bigger than the main return ?
@gerardvirgona5541
@gerardvirgona5541 4 роки тому
I've tested a M5stack tof vl53lox it's accurate to about 150cm after that it's readings start getting erratic.
@CXensation
@CXensation 4 роки тому
For optimum accuracy you must know the angle of transmission cone pattern on the sensors Often you will pick up the ground suface too early in most applications with low mounted sensors, which gives false readings. The sensors TX pattern is not that narrow as you may think.
@frenchcreekvalley
@frenchcreekvalley 4 роки тому
A small point, but the HC SRo4 seemed to be pointing upward a bit on the test rig. Could be that it is shooting over the top of the board at the longer distance?
@drmosfet
@drmosfet 4 роки тому
Would it be possible to check the laser distances device light pattern that it emits with a solid state camera? Much like you would check to see if you're TV remote control is working, just incase something odd is happening.
@thstring
@thstring 4 роки тому
More a question than comment, does the laser sensor work through glass, ie car windscreen?
@Hephaistos51413
@Hephaistos51413 3 роки тому
It is possible to improve the HC-SR04 by decreasing it's measuring angle. To do this one can simply roll up some card stock into a tube and slip it over the transceiver/receiver cylinders. Longer card stock tubes result in a higher directionality of the measurement.
@youssefahourri3245
@youssefahourri3245 4 роки тому
Hey, I got DHT11 sensor should I just define DHTType to 11 instead of 22 or I have to use another adequate library??
@nameerlatef2079
@nameerlatef2079 2 місяці тому
I like all of your videos. I just have one question. Why do all the videos measure distance for you or for others? They do not approach small or precise distances, i.e. from zero to five centimetres. Are there such sensors? Please explain. Thank you.
@AmbachtAle
@AmbachtAle 4 роки тому
Could the distance be off for the long because of your mounting brackets, the right angle at the leading edge might be the problem. Put in a triangular leading edge taller than the square rear spacer or remove the rear entirely.
@DerrickBommarito
@DerrickBommarito 4 роки тому
This is likely it. It's sound. It's not super directional and it will read any echo that comes back.
@zainalhas7416
@zainalhas7416 4 роки тому
Thanks.
@michaelksiezopolski
@michaelksiezopolski 4 роки тому
Can any of these sensors detect a level of fluids in the tank? Let say I need to know how much fluid is in the tank and have an alarm if certain level is reached. Which of these two sensors will be better?
@Magicman8508
@Magicman8508 3 роки тому
I own a HC-SR04 too and as far as i know those devices are rated up to 7 meters. At 26:13 the reading didn't even change if you go to 100mm. I would suggest trying another lib and check the calculations that are done with the temperature and humitiy sensor. Maybe there is some sort of mathematical maximum hidden in it. Another possibility could be that it catches the white place holder.
@alibugracetin9912
@alibugracetin9912 3 роки тому
Is important to placement of ToF sensor (Vertical or horizontal) to measure distance?
@to1704
@to1704 Рік тому
SUPER!
@donaldtodd2352
@donaldtodd2352 2 роки тому
A possible very useful application for the TOF10120 is in pressure tanks tipple used for spray painting. It is difficult to tell how close to empty the tank is. This sensor would seem ideal if it can tolerate air pressures around 100 PSI. Is there any information about pressure or can someone reasonable guess what might happen?
@prasannashevare2073
@prasannashevare2073 3 роки тому
Hi, I was wondering how does this sensor compare to VL53L0x? Does it work in sunlight unlike ST's VL53L0x?
@padmalayarawal3091
@padmalayarawal3091 4 роки тому
Also please compare it with VL53L0X sensor too.😊
@johnhaythorpe206
@johnhaythorpe206 4 роки тому
Could the failure of the HC-SR04, have anything to do with the fact that it looks to be mounted pointing upwards and that the reflected waves are missing the receiver. I note the TOF10120 line of sight was parallel to the test platform, but it appears as though the HC-SR04 is inclined upwards by 10 to 15 degrees.
@MathiasBacher
@MathiasBacher 3 роки тому
I agree, I think that's the reason
@lloydrmc
@lloydrmc 3 роки тому
Disagree. I don't think the Time of Flight sensor "failed"
@kionmahuermicio9860
@kionmahuermicio9860 2 роки тому
I love how you don't use any library, help a lot to work on serious devices instead of only Arduinos.
@kevinfinkbeiner5063
@kevinfinkbeiner5063 4 роки тому
Could the blocks you glued to your base board be bouncing your signal back?
@yassineinsta7731
@yassineinsta7731 Рік тому
thanks for share & full help Note: problem in the voltage/ current
@yassineinsta7731
@yassineinsta7731 Рік тому
I think so🤔
@sargetester99
@sargetester99 4 роки тому
Can it see through glass?
@jajwarehouse1
@jajwarehouse1 4 роки тому
It would be interesting to see how the sensors compare to measuring objects that are not directly facing the sensor. Say if the plywood is place 25 cm away and then slowly turned on the Y axis, how many degrees off could it reach before the sensor in not able to read it. Similarly, how well do the sensors detect rounded objects, like a garbage bin?
@bjornwegener3233
@bjornwegener3233 3 роки тому
Hey guys, what sensor would you use to measure the depth of a hole (5.5cm diameter). I don't get reliable readings because of the measurement angles these 2 sensors have.
@Andreas-gh6is
@Andreas-gh6is 4 роки тому
Have you tried to figure out what the maximum read frequency is? And the actual angle of view?
@queenidog1
@queenidog1 4 роки тому
What happens at the extreme, ie the 400 cm distance quoted for the SR04? I have the SR04 and an SR08 with supposedly double the distance, but can't get more than 6 feet in my shop. According to tech support it's because the sensor is seeing the floor or the ceiling, something I dispute because I have an 8 foot ceiling and my sensor is right on the edge of my desk, 32" off the floor. They work great at short distances but the divergence could be an issue. I'd like to see some experiments with cone reflectors and push the limits to the extreme. As a result of my own tests and these issues I decided to go with microwave (radar) and also laser (bouncing off a mirror and back) for vehicle detection on a busy highway.
@jeremiahayres103
@jeremiahayres103 2 роки тому
Do you have a recommendation for a sensor that can be used to scan a 3d object. I need to be able to have accurate measurements to 0.1mm preverbally 0.05mm.
@newburypi
@newburypi 4 роки тому
I haven't verified this, but it seems that many sensors will find "edges" and report their distance. The white pieces, you used to hold the target, could be causing that effect.
@rholt2
@rholt2 4 роки тому
I concur with this. basically, it's what you were saying about the field widening. i'm surprised you didn't try placing a piece of board or paper to cover the unused brackets between the sensor and the target.
@yajuvendrasinghrajpurohit7888
@yajuvendrasinghrajpurohit7888 4 роки тому
Which software do you use to make the sensor animation
@newburypi
@newburypi 4 роки тому
Just had another thought. I wonder if those edges were the cause of error of the TOF sensor. Might want to rerun the tests with the white guides removed.
@AwestrikeFearofGods
@AwestrikeFearofGods Рік тому
I knew I'd find this comment. The readings were suspiciously close to 50 cm.
@asadrezaie9413
@asadrezaie9413 4 роки тому
Which program are you using for animation ?
@soldierp1101
@soldierp1101 3 роки тому
Nice great chanel and video ,helpful. what do you think which sensor is better for drones with flight controller pixhawk 4 than (anti collision)? tof10120 or sr04? and I want to use 4 times for all sides (Back ،front ،left right) is that? if so can you send me a link or any info pdf or so? I would also pay for it it is important to me! Plz answer my question! Danke schön 👍🏽
@colepdx187
@colepdx187 4 роки тому
Very interesting workshop today. Thanks Bill. It seems like these sensors are barely useful for anything more than proximity sensing. The laser module looks pretty much like what you see on automatic plumbing fixtures in public restrooms.
@banban8481
@banban8481 3 роки тому
In my University we create many robots using these sensors. From automatic book transporter to a self driving car.
@craigkirby9202
@craigkirby9202 4 роки тому
Nice to see you accurately reporting your preconceived bias. ie "I assumed the laser sensor would run circles around the ultrasonic sensor". I thought everything was just opinions these days, and reality or facts were a thing of the past :)
@albertsjoberg1200
@albertsjoberg1200 4 роки тому
You need to lift the sensor higher off the surface. The error appears to be exactly the distance to the quarter round behind the 500 mm Mark. Alternatively, put down a black or charcoal felt as acoustic damper. The Ultra-sonics are easily good to 200 cm
@BigTimeCharley1956
@BigTimeCharley1956 Рік тому
I wonder if the stray hc-sr04 reflection at 50+cm is the vertical face of the quarter round making the slot at 50cm (I have not read the comments yet; maybe someone else already suggested this)?
@thewuff66
@thewuff66 5 місяців тому
I would assume that the different reflectivity between foam and wood wall causes the different reading as it would change the amplitude of the reverse signal. Nice measurement though!
@replime335
@replime335 3 роки тому
Can i use TOF10120 as a ! Level sensor like the Hc-sr04? Thanks!
@jorgeferreira6727
@jorgeferreira6727 3 роки тому
One thing we must take into account is that no sensor has a real linear response. Usually the manufacturer datasheet has a table or graphical representation of the readings versus the real values. That info should be included in the software, usually in the form of a lookup table, to compensate for the natural non linearity of the sensor. And, yes, a LASER based sensor will always out perform a ultra sound one, but not by $10.
@conget
@conget 2 роки тому
Could it be the power socket in front of the table? It is about at 52 cm mark if you can see
@schorschy96
@schorschy96 4 роки тому
Hey guys, i am looking for a way to messure the flightpath of a small object, to catch it with a robot. Ultrasonic would be great, but the field of view is to limitet. Do you guys know which sensor i could use or is it possible to build a cheap ultrasonic sensor with one output and varios inputs?
@fransmulder9326
@fransmulder9326 4 роки тому
One of the disadvantages of the US sensor in practical use in robotics is that hard surfaces work as a mirror. If these are under an angle it measures the reflection rather than f.i. the wall itself.
@condronugroho9388
@condronugroho9388 4 роки тому
Dear Sir, what if I want to measure distance that ranges between 2 cm to 300 cm with 3 digits precision ?. For example 75.217 cm, 50.523 cm, etc. Thanks
@kristerripstrand2407
@kristerripstrand2407 3 роки тому
Would have been interesting to know how they behave with thinner objects, thinner or smaller in both vertical and horizontal direction
@SavageGoodsT
@SavageGoodsT 4 роки тому
Would not be a fair comparison but ive found the vl53l1x sensors to be accurate past 2 meters no matter the surface reflectivity
@demiurgiac
@demiurgiac 3 роки тому
Consider this a 'heads up' to anyone getting their TOF10120 working for the first me. I found that the compile fails because of a reference to "fdevopen". ('fdefopen not declared in this scope'). I am not a seasoned Arduino coder and I really didn't know what to do to fix it. In researching it I couldn't 't even figure out just what it was supposed to do. Anyway, just for grins, I just deleted it and any references to it and what-a-ya-know... the sketch works just fine without it.
@sayeedm71
@sayeedm71 2 роки тому
Hi will it work in underwater to measure distance I am working on a school project building submarine with distance measurement TOF10120
DIY sonar scanner (practical experiments)
14:30
bitluni
Переглядів 1 млн
Waterproof Ultrasonic Distance Sensors - JSN-SR04T & A02YYUW 💧☔
32:11
DroneBot Workshop
Переглядів 165 тис.
船长被天使剪成光头了?#天使 #小丑 #超人不会飞
00:28
超人不会飞
Переглядів 27 млн
маленький брат прыгает в бассейн
00:15
GL Show Russian
Переглядів 1,3 млн
Radar Sensors from $3 to over $100: Which one is Best?
14:31
Andreas Spiess
Переглядів 148 тис.
Laser Range Sensor / TOF10120  / Arduino
8:03
0033mer
Переглядів 44 тис.
Effective Ways To Detect People With Common Sensors
7:43
Core Electronics
Переглядів 49 тис.
#135 Radar Sensors / Switches: Comparison and Tests
16:11
Andreas Spiess
Переглядів 579 тис.
Shooting laser to measure distance
7:23
nenioc187
Переглядів 256 тис.
Water Your Garden with IoT - Soil Moisture Sensors
54:46
DroneBot Workshop
Переглядів 386 тис.
#203 Best LIDAR Sensors for Makers (Comparison and Test)
16:31
Andreas Spiess
Переглядів 187 тис.
Distance Measurement / Ultrasonic Sensor / AJ-SR04M
6:11
0033mer
Переглядів 2,7 тис.
Уроки Ардуино. ПИД регулятор
28:57
Заметки Ардуинщика
Переглядів 447 тис.
Börek
0:35
HATICE ONCEL
Переглядів 9 млн
Миссия женщины
0:37
Нейроны на миллион с Анастасией А
Переглядів 2,1 млн
Никто не жмёт ему руку 😮
0:28
RenkO
Переглядів 9 млн
Лучшее имя для младшего
0:23
LEFT 4 CAT
Переглядів 653 тис.