#190

  Переглядів 99,167

Andreas Spiess

Andreas Spiess

6 років тому

Today we will look at different new ultrasonic sensors and compare them: US42V2, JSN-SR04T, and US-100.
As usual, this should help you decide if you need distance sensing in one of your next projects.
In mailbag videos # 186 and 187 I asked you which parts I should use first for a video. The verdict was clear: The RAK831 LoRa gateway and the Ultrasonic distance sensor.
This is not my first video about these sensors: You find an introduction and test in video #40 and a three-way sensor using an ATtiny and a home-made I2C interface to connect to the MPU in video #42. If you are interested in the basics, maybe you want to watch them first. There I used the commonly available and cheap HC-SR04, HY-SRF05, US-015.
Links:
Correct overview Chart: bit.ly/2FKajGb
GY-US42V2: s.click.aliexpress.com/e/qBUbEqr
JSN-SR04T: s.click.aliexpress.com/e/rz7UR3B
US-100: s.click.aliexpress.com/e/YrNVvfm
HC-SR04Plus: s.click.aliexpress.com/e/nYR7qJi
JSN-SR04T Documeentation: item.taobao.com/item.htm?id=1...
NewPing: bitbucket.org/teckel12/arduin...
OingSerial: github.com/stoduk/PingSerial
NewPing for ESP8266: github.com/jshaw/NewPingESP8266
Maxbotics: www.maxbotix.com/documents/I2...
www.nde-ed.org/EducationResou...
Supporting Material and Blog Page: www.sensorsiot.org
Github: www.github.com/sensorsiot
My Patreon Page: / andreasspiess
If you want to support the channel, please use the links below to start your shopping. No additional charges for you, but I get a commission (of your purchases the next 24 hours) to buy new stuff for the channel
For Banggood bit.ly/2jAQEf4
For AliExpress: bit.ly/2B0yTLL
For ebay.com: ebay.to/2DuYXBp
profile.php?...
/ spiessa
www.instructables.com/member/...
Please do not try to Email me or invite me on LinkedIn. These communication channels are reserved for my primary job
Equipment in my lab: www.sensorsiot.org/my-lab/

КОМЕНТАРІ: 421
@AndreasSpiess
@AndreasSpiess 6 років тому
Here you find the corrected overview chart: www.sensorsiot.org/transferFiles/UltrasonicSensorsComparison.pdf
@K2teknik.
@K2teknik. 6 років тому
I think that the chart is missing the measurement distance for the sensors, it is in some way a key parameter for a distance measurement device .
@AndreasSpiess
@AndreasSpiess 6 років тому
I did not test it this time
@13bacho13
@13bacho13 6 років тому
I was waiting for these tests, because the interested distance measurement for the sensor "US42V2" :(
@kadekbalian
@kadekbalian 6 років тому
Hi Andreas, this link currently points to a 404 page not found. I just really wish to find out the detection angle of the GY-US42V2. They claim it's a replacement for MB1242 and SRF02 but those two have wildly different FOV.
@skoblenick
@skoblenick 6 років тому
boo.. 404
@omaryanas435949
@omaryanas435949 6 років тому
Thanks for the awesome video andreas, I really appreciate what you're doing for the community, I wish the world had more people like you man.
@AndreasSpiess
@AndreasSpiess 6 років тому
Thank you!
@longdongsilver4719
@longdongsilver4719 3 роки тому
As always: useful and precise. I love the way you cover your subject: well documented and practical.
@AndreasSpiess
@AndreasSpiess 3 роки тому
Thank you very much!
@abQUINTON1
@abQUINTON1 6 років тому
Thanks for the Reddit AMA, looks like I missed it and haven't had time to look at it. Keep up the great work, been a long time fan and found out about LoRa from you and now I'm building a gateway
@AndreasSpiess
@AndreasSpiess 6 років тому
You are welcome. I did not use Reddit so far. Enjoy your gateway!
@TheTinkerDad
@TheTinkerDad 6 років тому
Thanks for the comparison! Just recently started playing with ultrasonic sensors, so this will help me a lot.
@AndreasSpiess
@AndreasSpiess 6 років тому
:-)
@KlockworXMusic
@KlockworXMusic 5 років тому
This was extremely helpful as I couldn't find much online about the gy-us42 v2 sensor.
@AndreasSpiess
@AndreasSpiess 5 років тому
:-)
@joaofgf
@joaofgf 6 років тому
thank you for another great video! just another idea, you can use the waterproof sensor to check the water level of a well.
@AndreasSpiess
@AndreasSpiess 6 років тому
This seems to be an important application. Here, water is not so rare so we do not care much about it...
@Joe_Galaska
@Joe_Galaska 6 років тому
Another well done and informative video. Thank you. The use of a ultrasonic sensor in the garage to help prevent parking the car too close where the bumper may damage stored items or even the wall. Sometimes a car barely fits into the garage to permit the garage door to close properly. America has had a long love affair with big cars (that barely fit in the garage). Here is a link to one example of a garage parking sensor. By the way, adding a light to your Google calendar reminder device to add the salt to your softener triggered by your ultrasonic sensor might help keep the wife happy.
@Joe_Galaska
@Joe_Galaska 6 років тому
Here is the link: www.autosportcatalog.com/catalog/product.aspx?product_id=58048&gclid=CjwKCAjwnLjVBRAdEiwAKSGPI7sLmQjwxwy1Am4GCbucUxVkbOHmk1FWZ7bEPlpXpmrcxqRwBFAX_BoC69YQAvD_BwE
@AndreasSpiess
@AndreasSpiess 6 років тому
Aha. Here, we usually drive smaller cars ;-)
@tinker7722
@tinker7722 6 років тому
perfect summary, Andreas!👍👍😁 this saves me a lot of time to choose the right sensor!
@AndreasSpiess
@AndreasSpiess 6 років тому
:-)
@sichel94sam
@sichel94sam 6 років тому
Hey Andreas thank you for your nice videos. Really like it how simple and effective your explanations are. An idea for outdoor us sensor usage: I want to build a parking helper inside my garage. Consisting of 3 us devices it can sense horizontal offset inside the garage, skew of the car and of course how far you are in (as i am consistently hitting the wall :D ) and show it with bright led lights
@AndreasSpiess
@AndreasSpiess 6 років тому
Another commenter left a link for such a device. I did not know they exist.
@MkmeOrg
@MkmeOrg 6 років тому
Love the salt level alert idea. Most people here on wells run a softener. I had one in my previous residence and was always filling it when I noticed the water went hard due to running out :) Great video
@AndreasSpiess
@AndreasSpiess 6 років тому
At least you knew it worked when the difference was visible ;-)
@MkmeOrg
@MkmeOrg 6 років тому
Oh yeah- huge difference. Only need half the soap to do the dishes...
@AndreasSpiess
@AndreasSpiess 6 років тому
:-)
@johncherry108
@johncherry108 6 років тому
The word "transducer" can be used for both a microphone and a speaker, so you could say some of the sensors have a 'combined transducer'.
@AndreasSpiess
@AndreasSpiess 6 років тому
Thank you for the clarification! I did not know this word.
@MotoG-ub3lw
@MotoG-ub3lw 3 місяці тому
The correct word is: transceiver (TRANSmitter + reCEIVER). Transducer is a device that converts some form of energy (e.g. mechanical energy) to another form of energy (e.g. electrical energy). Examples of transducers: LED, light sensor, microphone, speaker, thermometer.
@YigalBZ
@YigalBZ 6 років тому
Thank you Andreas for another good video. I also liked the table - brings a quick overall view. Maybe you could also present the "choice of the editor". I am just finishing a train control system based on 2 Arduino nanos, each with an Aultrasonic sensor, and they message the distance to a motor control using I2C. The design was done before I knew about Attiny. I chose the US-015 following your previous video. I also found out it is more accurate. The idea of ultrasonic sensor with I2C can be interesting.
@AndreasSpiess
@AndreasSpiess 6 років тому
Seems to be an interesting project. The ATTiny can manage my three sensors without problems...
@R73CH
@R73CH 6 років тому
As always great video. Thank you.
@AndreasSpiess
@AndreasSpiess 6 років тому
You are welcome!
@alcanceweb
@alcanceweb 6 років тому
Excellent comparison. Thank you.
@AndreasSpiess
@AndreasSpiess 6 років тому
Thanks!
@peterl1699
@peterl1699 6 років тому
Great video. Very informative! Would be really intresting to see if you could do under water sonar. Passive and active sonars
@AndreasSpiess
@AndreasSpiess 6 років тому
I am not sure how far the power would reach...
@avejst
@avejst 6 років тому
Thanks for sharing 😀👍 Well done as always 👍
@AndreasSpiess
@AndreasSpiess 6 років тому
Thank you for watching and commenting my videos!
@rafaellindarte6052
@rafaellindarte6052 3 роки тому
Hey great video. I'd like to implement a ultrasonic water meter for domestic use. What kind of transducer could be use for measuring water flow?.
@bardenegri21
@bardenegri21 6 років тому
Thank you for another great video!
@AndreasSpiess
@AndreasSpiess 6 років тому
:-)
@1powelrainbow2
@1powelrainbow2 6 років тому
Perfect!! Wanted a video like this one!!
@AndreasSpiess
@AndreasSpiess 6 років тому
:-)
@ollieb9875
@ollieb9875 6 років тому
Thanks for this rundown of the sensors.. My plan was to somehow connect one of these to the inside of our oil tank to measure the distance the surface of the oil was from the top, giving a level and the esp266 to report back wirelessly to a little display in the kitchen saying how much was left. Don't know if I can do it though.. water might be safer! 😂😀
@AndreasSpiess
@AndreasSpiess 6 років тому
Oil does not burn very easy... Another possibility could be a pressure sensor at the bottom of the tank.
@ollieb9875
@ollieb9875 5 років тому
Andreas Spiess it's 5000 litres 😀
@ollieb9875
@ollieb9875 5 років тому
Andreas Spiess thank you for the kind reply. Be well, friend. ❤
@Take5Instead4
@Take5Instead4 6 років тому
Thx for this very nice video, excellent work! I'm thinking about monitoring the level of a rainwater tank. Could this be a useful application for the JSN-SR04T?
@AndreasSpiess
@AndreasSpiess 6 років тому
I think so. Viewers commented that is has a minimal detection range. Below that it does not work any more
@valentinandreibanu
@valentinandreibanu 3 роки тому
It depends....jsn- sr04t has a very wide spread of it's beam( about 75°! ). So unless your water tank has quite a wide opening I would not recommend this sensor. In comparison, the HC- SR04 has only a 15° beam, but unfortunately it is not waterproof and the mere water vapor can damage it( I used one for a similar project and lasted about 2 months after which the tiny metal plates inside the transducers were almost completely oxidated)
@MrVipulLal
@MrVipulLal 2 роки тому
Love your videos, mate. Thanks!
@AndreasSpiess
@AndreasSpiess 2 роки тому
Thanks for watching!
@jumadhaheri
@jumadhaheri 6 років тому
Thank you this great. Now I am building one to check on the water level at my home water tank with a wemos and push to mqtt
@AndreasSpiess
@AndreasSpiess 6 років тому
Sounds like a good project in your area ;-) Maybe you saw the other comments about this application?
@ma6cb
@ma6cb 6 років тому
Hi Andreas! Another wonderful video. It made. Me wonder; does the "waterproof" sensor (if the connections were encased in glue/epoxy) work underwater and what effect does that have? I wondered if it could be used to map activity of fish in a pond for instance?
@AndreasSpiess
@AndreasSpiess 6 років тому
There are projects like that but with much more powerful transducers
@therealfox
@therealfox 6 років тому
Thanks for your informative video
@AndreasSpiess
@AndreasSpiess 6 років тому
:-)
@rbmwiv
@rbmwiv 5 років тому
Use the sensors in front of the car and make a collision avoidance system. I’m starting on one for my car. What is the range on the waterproof sensors for cars? Awesome video.
@AndreasSpiess
@AndreasSpiess 5 років тому
I did not test the range. Usually, it is around 5 meters. So do not drive your car too fat ;-)
@northshorepx
@northshorepx 6 років тому
Thank you Andreas for another insight into engineering thinking. And also thank you for summarising the information into that table. That is the kind of thing newbies and experienced will thank you for a long time. One question however. I wonder how good do you think sensors are against say water or other liquids as the reflective surfaces? Could these be used to detect for instance flooding in underground rooms?
@cmorda11
@cmorda11 6 років тому
I have researched this for the application of a tank level sensor. It is already available in a commercial product senix.com/ultrasonic-tank-level-sensor-applications/ I think your idea of a flooding sensor is a good one.
@Peter_S_
@Peter_S_ 6 років тому
I have used ultrasonic reservoir level sensors industrially. They work exceptionally well with water levels. The reflection off water is quite a bit stronger than flat, smooth concrete.
@AndreasSpiess
@AndreasSpiess 6 років тому
Thanks Peter for sharing his experience. Concerning flood sensor: If you want to wait for an alarm till the water is already high, you can use these sensors. Maybe I would use a simple moisture sensor, even a cheap one. Because it is not wet during most of the time also these do not corrode. And I assume they start with very low water levels.
@northshorepx
@northshorepx 6 років тому
thank you guys.
@alexisfyra
@alexisfyra 6 років тому
In my case (using US100 to measure oil leve) the results perfect. If you have no obstacles between the sensor and the liquid the measurement is perfect !
@aldercamper9430
@aldercamper9430 4 роки тому
Andreas! Thank you a lot for you work. I found out that this video is most competent of all other. A bagging you to help me. I'm in a middle of building my own camper-trailer and really want to make ultrasonic parking assist for it, also I want to this system works as security system. I suppose it might contain 12-16 those waterproof sensors. But I have no idea how to arrange them into reasonable system. Could you please give me advice on this???
@AndreasSpiess
@AndreasSpiess 4 роки тому
UKposts is my hobby and unfortunately, I have no time for consulting :-(
@aldercamper9430
@aldercamper9430 4 роки тому
@@AndreasSpiess I can buy you a drink ;-) But I understand your business. And again, thank you. You doing good videos.
@fajaradi294
@fajaradi294 3 роки тому
Hi Andreas, very good video. thank you.
@AndreasSpiess
@AndreasSpiess 3 роки тому
You are welcome!
@MaxGoddur
@MaxGoddur 6 років тому
Appreciate your videos it leaves me room to experiment in the future once I complete my current project. Leading me to my question recently I used the DHT11 in my project and it performed without flaw. Well until the second day when the temperature was being reported incorrectly. After searching the web I found a fellow UKpostsr state the DHT11 are not for outside use the moisture build-up can cause them to malfunction. Have you run into this and do you know of a direct replacement. Would be nice if a direct replacement could be used without changing the library supporting the DHT11.
@AndreasSpiess
@AndreasSpiess 6 років тому
There are a few alternatives which use the same library. But I do not know if they last longer
@aswinbalasubramanian5753
@aswinbalasubramanian5753 4 роки тому
Thanks for the video Andreas I'moing a project on measuring water level in a submerged water tank. I got some false readings when I used the HC-SR04 due to the humidity inside the tank which forms drops on the transmitting and receiving area of the sensor. Would you recommend JSN SR04 sensor for my project or is there any other sensor suitable for it?
@AndreasSpiess
@AndreasSpiess 4 роки тому
I never tried this situation. So you have to test yourself.
@simonmerrett
@simonmerrett 6 років тому
Andreas Spiess my vote would be for a fluid flow meter using perhaps two of the combined transducer models. Could you use the doppler effect to tell when fluid is moving through a pipe/duct? I have heard of people also using these sensors to make a solid state anemometer (three of them facing each other) , which could be a good application for your waterproof units.
@AndreasSpiess
@AndreasSpiess 6 років тому
I never tried the doppler with water. Seems to be interesting. And the anemometer is also an interesting application. I played with it once when I built my wind tunnel. But I used different technologies.
@gavinsmalley1513
@gavinsmalley1513 6 років тому
Simon Merrett I have seen people talk of measuring water flow with these sensors too but have not seen it actually done. Have you tried it? I would like very much to be able to detect if water is flowing in a particular pipe non-invasively. Not bothered really about the amount, just the difference between still or moving.
@simonmerrett
@simonmerrett 6 років тому
Gavin Smalley I haven't but it would be very valuable discovery to measure or even detect flow non-invasively. For example, in order to understand and reduce energy use in buildings or industrial processes, knowing flow rates is very helpful and the system downtime and labour costs seem prohibitive for invasive techniques. I wonder if there would be any opportunity to observe constructive and destructive interference, like an (ultra)sonic Moire pattern, as the sound will be transmitted through both the pipe material (speed of propagation stays relatively constant) and the fluid (speed of sound propagation relative to the pipe changes with flow).
@dgb5820
@dgb5820 6 років тому
Great video, you the MAN
@AndreasSpiess
@AndreasSpiess 6 років тому
:-)
@Phoen1x883
@Phoen1x883 6 років тому
I've been thinking about doing a similar project for my softener salt tank, but I'm not really sure how to protect the components against corrosion from the humidity and salt. Any ideas on how to go about doing this? Maybe conformal coating, or a sealed enclosure?
@AndreasSpiess
@AndreasSpiess 6 років тому
The sensor I showed is sealed against humidity. But it looks like it is aluminum. Maybe a clear color could help. I do not know yet.
@abQUINTON1
@abQUINTON1 6 років тому
I'd try conformal coating if just the bare device car backup device doesn't work ( with the electronics out of the way). I've used an older "waterproof distance sensor" with no additional coating from aliexpress as the level gauge for a reef aquarium and reef sump, worked reliably for years until I got rid of the tanks. That's some serious heat and corrosive liquid. I think one was at 80C 12 hours a day right near the reef lights pointing down
@artemborodkin
@artemborodkin 5 років тому
Thank you for comparison. I have a question. The GY-US42V2 sensor has the strange contacts on the back side with letters H and L. Could this be the i2c address changers?
@AndreasSpiess
@AndreasSpiess 5 років тому
I do not know and I did not find information about it with my short search
@jorgedelcastillo2811
@jorgedelcastillo2811 5 років тому
Do you know the sensors with ToF technology like the VL53L0X ?. Congratulations on your channel. Greetings from Madrid
@AndreasSpiess
@AndreasSpiess 5 років тому
I did a video with one of these VL chips. But then it only reached 1m and only inside.
@kluzz
@kluzz 6 років тому
Andreas, one of the pictures you include in the video around 7:34 says "Replace R27 to changes the operating mode". I'm guessing you can just short those two pads to enable serial mode?
@AndreasSpiess
@AndreasSpiess 6 років тому
If I remember right it needs a 47k resistor. Check the link in the description
@uthmanabdullahi4118
@uthmanabdullahi4118 2 роки тому
Thanks for the great video. Can the ultrasound penetrate through metal ? For instance, if i want to measure the level of liquid in a metal cylinder, can i place the sensor on the bottom and isolate the echo that reflects the one i am interested in. There are at least two boundaries the ultrasound must cross (thus reflection occurs) 1. The metal -liquid 2. The liquid -gas ( I am interested in this distance) Or what kind of sensor will be capable of achieving this ? Thanks again
@AndreasSpiess
@AndreasSpiess 2 роки тому
It will not penetrate metal. Often pressure sensors are used inside tanks to measure water levels.
@maxa.kottwitz6226
@maxa.kottwitz6226 4 роки тому
Thank you verry much for your excelent videos. Searching for waterproof distance sensor I found your chanel. For my planed project the angel of the JSN-SR04T is too wide. Now I am wondering if I could install the sensor into a tube to reduce the angel. Do you think this works? Or maybe you know another waterproof sensor with taler angel?
@AndreasSpiess
@AndreasSpiess 4 роки тому
I do not know. Maybe you try? There is a chance it will work.
@AlamoCityCello
@AlamoCityCello 6 років тому
Great Video! BRAVO!!
@AndreasSpiess
@AndreasSpiess 6 років тому
:-)
@RP6conrad
@RP6conrad 6 років тому
One big advantage from the combined transmitter/receiver sensors is that the range is also limited at short distances : below 10 cm they are unreliable (my experience with a max-sonar). Reason is that after sending, the transmitter need some time to swing out.
@AndreasSpiess
@AndreasSpiess 6 років тому
Thank you for this feedback. I did not do explicit range testing this time.
@zulfiqarahmad9394
@zulfiqarahmad9394 6 років тому
Thanks. Please also do video on esp-idf on vscode/ visual studio
@AndreasSpiess
@AndreasSpiess 6 років тому
I will stick with the Arduino IDE because most of my viewers use it, not because it is the best solution...
@kvihijar
@kvihijar 6 років тому
Hi! Could you do a video about underwater ultrasonic sensors? It would be intetesting to see how to measure water depth of some lake (0-100 meters...). :)
@AndreasSpiess
@AndreasSpiess 6 років тому
Interesting idea. But I am no "water guy" and we do not have deep waters around me. So I am not sure I will do it...
@enamanagandlakarthik6800
@enamanagandlakarthik6800 5 років тому
could you tell me the number/ other specifications of the under water ultrasonic sensor
@pierpa_76pierpaolo
@pierpa_76pierpaolo 7 місяців тому
I would like to give this obstacle proximity module a try. I am interested in using it as an ultrasonic microphone using the ECHO pin (output) and obviously powering the module without Arduino. I don't have the 'stuff at home otherwise I would try. Please let me know. regards.
@AndreasSpiess
@AndreasSpiess 7 місяців тому
Unfortunately, I have no time for such experiments :-(
@stevelenehan7695
@stevelenehan7695 6 років тому
Hi - Is the table at 7:32 correct - I thought it was the US100 that had the temperature sensor and not the JSN-SR04. It wouldnt seem to make any sense to have one on the board of the JSN as by design it is mounted in a separate location from the sensor.
@AndreasSpiess
@AndreasSpiess 6 років тому
You are right. My mistake. I will put a link to the corrected sheet in the description
@Zhaymoor
@Zhaymoor 6 років тому
Thank you so much technically you are really awesome
@AndreasSpiess
@AndreasSpiess 6 років тому
You are welcome!
@andrejipavec1015
@andrejipavec1015 3 роки тому
Hi Andreas, great video. Does JSN-SR04T works under water for measuring the distance?
@AndreasSpiess
@AndreasSpiess 3 роки тому
I do not think so. It is probably too weak and probably also not completely waterproof
@ytfp
@ytfp 6 років тому
I always appreciate your videos, however I don't think this one is complete. I would have expected a range comparison of the modules.Closest range detected and farthest range detected would have been really awesome. Especially "actual" range detected, using individual models so there is no interference. How close a module detects is also just as important as how far. I felt you did a way better job on your radar sensor video by showing consumption in Milliamps and distance. Its not a demand, its just I love your usual attention to detail and maybe I got spoiled by it :)
@AndreasSpiess
@AndreasSpiess 6 років тому
I did a range test in a previous video and did not find a big difference. That is why I decided to omit it this time. But you are not alone "complaining" ;-). My mistake
@neail5466
@neail5466 6 років тому
What are the range determining factors without voltage??? I didnt get that?? Are all including sr04 has same max range....about the 1cm less range , did you had the diaphragm distance considered.???... Because its nearly 1cm inside.. Thank you for these new info..
@AndreasSpiess
@AndreasSpiess 6 років тому
I talked about the maximum possible range, which is shorter if you run your devices on 3.3 volt.
@ServioUribe
@ServioUribe 4 роки тому
Can you do a maximum wiring distance when using common transmitters? Like how long a wire I can use connecting a temperature transmitter to an Arduino mega? Thanks.
@AndreasSpiess
@AndreasSpiess 4 роки тому
I never tried, so I do not know.
@FarahNasrallah-xt4yz
@FarahNasrallah-xt4yz 10 днів тому
hello Andreas , Thanks for the comparison, do yo believe that ultrasonic sensors (transmitters) may have impact on microphones surrounding? as a jamming device to prevent eavesdropping .
@AndreasSpiess
@AndreasSpiess 10 днів тому
If you google you will find such jamming devices. But with 25kHz sensors, not tthe 40kHz I used here.
@FarahNasrallah-xt4yz
@FarahNasrallah-xt4yz 10 днів тому
@@AndreasSpiess thank you for your reply, In fact, I am currently seeking professional counseling for our startup, which is in its early stages of development. I would greatly appreciate it if you could provide me with a contact where I can reach out to you privately if interested.
@kentharris7427
@kentharris7427 2 роки тому
I want to use the HC-SR04 as a parking sensor. I want to install 3 LEDs Green, Yellow, & Red so when I get to the the exact spot before I hit the curb in the garage. It is an indoor garage so don't need to worry about the sensor getting wet. Like the idea about the Water softener.
@AndreasSpiess
@AndreasSpiess Рік тому
Cool project!
@ElmerFuddGun
@ElmerFuddGun 6 років тому
I was wondering why would they interfere with each other? Initially I thought you must be triggering them all at the same time but looking at your code at 7:56 I can see that you switch between each without delay except after the last one. It could be that a small echo can still be heard bouncing around from the previous sensor that is tripping the next sensor in the loop. I would have put a bit of a delay between each sensor call instead of just a larger 500ms delay at the end. That should fix the odd errors that pop up showing low distances.
@AndreasSpiess
@AndreasSpiess 6 років тому
I did not investigate. Maybe they do not wait for the command and do some "freewheeling" measurements? I think, at least some sensors seem to offer this possibility.
@ElmerFuddGun
@ElmerFuddGun 6 років тому
I thought the ones with a "start" pin didn't send a ping until asked to do so. That's how multiple sensors of that type can be used without interference on a robot pointing them in slightly different directions. Freewheeling sensors would allow for "instant" replies to the computer (whatever) but would severely limit the proximity to other sensors due to interference.
@manickn6819
@manickn6819 6 років тому
Andreas I have used the JSN board as a daughter board on an integrated product. This was done to a proper level with the intention of commercializing. Unfortunately I was not able to get the product out even with me supplying at my cost, installing and operating. I required approval from businessmen and in a third world country its amazing. I am taking all the risk and bearing all the cost and I cannot even get a meeting. I am now in a different third world country but I did document the project before leaving. I intend to put up some info on it in the next few months time permitting. If you or other viewers are interested I will put a link.
@AndreasSpiess
@AndreasSpiess 6 років тому
Please put the link below this video if ready
@manickn6819
@manickn6819 6 років тому
I have the raw footage but I need to edit and explain the project from concept to finished. I figure 3 weeks or a little more before I get the time to complete the 3 or 4 videos needed. The last one will have the JSN board in it. I will link when complete.
@kenkenken115
@kenkenken115 5 років тому
Thanks man!!! Would you mind to share the code for US42V2 module??
@AndreasSpiess
@AndreasSpiess 5 років тому
I have no particular code for that.
@alexandruandries864
@alexandruandries864 4 роки тому
Hey Andreas, great video as always but how about creating a Collision Warning system using the water resistant ultrasonic sensor? do you think is doable? I think will be helpful with avoiding minor car crashes and even crashes where people are involved if we could create it and put it free on github.
@AndreasSpiess
@AndreasSpiess 4 роки тому
Just think about speed, distances, and reaction times before you start your project
@alexandruandries864
@alexandruandries864 4 роки тому
also weight, efficiency of tires on different conditions and few more. I'm waiting for a TF mini to arrive for testing. will let you know when is ready.
@marijneken
@marijneken 6 років тому
Would it be possible to use such a sensor as an alternative to a PIR? I'm working on automating my house and I want to add motion detection. But I want a bit more precision than just "something moved in the sight of this sensor". I was thinking that maybe this kind of sensor could be used instead and give some indication of how far a person is and maybe in what direction they are moving. Or is that nonsense and should I look at radar sensors instead? I guess people don't reflect sound that well. Also, what kind of range can you expect with these sensors?
@AndreasSpiess
@AndreasSpiess 6 років тому
Radar gives similar on/off signals like PIR. Measuring distance could be interesting. But the beam is quite narrow.
@lezbriddon
@lezbriddon 5 років тому
so which sensor can do greatest distance off your wall? which sensors is best at really small distances? maybe revisit this at some time and even compare to the cheap lidar sesnors
@AndreasSpiess
@AndreasSpiess 5 років тому
Maybe in the future...
@tomcraft5306
@tomcraft5306 4 роки тому
Vielen Dank für das Video...hab mir direkt während des Videos US-100 und US-015 bestellt. Ich bastle mit Raspberry und HC-SR04 eine Garagentor Stellungs Übersicht. Leider messen die HC-SR04 nur bis 70 cm akurat und hoffe mit dem US-100 geht es besser bei gleichzeitiger Entlastung des RaPI's Super Video !
@AndreasSpiess
@AndreasSpiess 4 роки тому
Bitte, gern geschehen. Und viel Erfolg!
@ColinMill1
@ColinMill1 2 роки тому
Out of curiosity I had a look at the HC-SR04 I have on the shelf. I see that the transmitter is driven using a MAX3232 (RS232 chip) so uses the dual charge-pump in that chip to give significantly more than 5v to excite the transmitter (quite an interesting non-standard use of the MAX3232 I think). It would be interesting to arrange a small flyback converter to supply say 200v to drive the transmitter to see if that gave a significant improvement in range.
@AndreasSpiess
@AndreasSpiess 2 роки тому
I never looked inside a transducer and do not know when you will fry it. So it is an interesting experiment!
@ColinMill1
@ColinMill1 2 роки тому
@@AndreasSpiess Many thanks for the reply. I never took one apart either but while I was having a shot at making an ultrasonic anemometer (using cross correlation to improve resolution which was very interesting) my wife was having difficulty with low humidity in her greenhouse so I had a go at driving one of the transducers till it produced a mist when immersed. Amazingly, despite not being designed for this purpose it worked (though not well enough to humidify a greenhouse!). I don't recall how hard I drove it but 200v p-p at least. With this level of abuse I was expecting it might reveal its inner working to me but it remained intact. BTW, the humidification was done eventually using a spinning disc driven by an electric flight motor. - effective but noisy. As an aside, I found a web page where someone investigating the HC-SR04 found that the receive filter was centred on 18kHz rather than 40kHz and that changing two components to correct this improved its performance:- uglyduck.vajn.icu/ep/archive/2014/01/Making_a_better_HC_SR04_Echo_Locator.html
@AndreasSpiess
@AndreasSpiess 2 роки тому
Thank you for the info and the link. Some interesting insights!
@ColinMill1
@ColinMill1 2 роки тому
@@AndreasSpiess I laughed when I read about the filter issue. I'm sure you have met products with similar design errors during your career. I developed a useful line of consultancy by finding that an electronic cat-flap I had bought had a filter not tuned to 30kHz that it was designed to operate on but about 200kHz - an unfortunate error indeed when the UK has such a powerful 200kHz transmitter in the middle of the country.
@user-ne2vy9if9x
@user-ne2vy9if9x 6 років тому
Great video as always !! I have a question / idea. Is it possible to use ultrasonic sensors (any model) for detecting changes of volume area in a box ? Imagine a cabinet in a sports facility, that customers are putting their staff inside. At the end of the day the owner coulde see if there are any forgotten things inside a cabinet. Something like a car alarm system. If it detects anything withinh the area that is covered from sensors, then alarm is generated. So with the same principle, "alarm" could be generated upon presense of e.g a wallet or a watch inside the cabinet. Do you think that this is duable? Thank you in advance. Keep up this excelent presentation style of yours.
@AndreasSpiess
@AndreasSpiess 6 років тому
If the things you want to detect are big enough it should work.
@electron-1979
@electron-1979 6 років тому
I hope they are putting stuff in the cabinet and not their staff!
@user-ne2vy9if9x
@user-ne2vy9if9x 6 років тому
Xaxaxaaa, OK my mistake
@SandeepSolankis
@SandeepSolankis 6 років тому
I have used HC-SR04 in my 1000 ltrs water tank to monitor the water level. If the water level goes down the water motor/pump automatically starts and once the tank is full, motor automatically stops.. I have used Esp8266-12E and a relay. I also send the water consumption of the tank to my cloud and from there i show the water consumption summary to my customsrs. Just a small step towards 'Save Water'
@AndreasSpiess
@AndreasSpiess 6 років тому
Good idea. How about the longevity of the sensor? Another commenter wrote that the sensor corroded quite fast.
@SandeepSolankis
@SandeepSolankis 6 років тому
I've been using it since last 2 months, and its working absolutely fine.. Summer is starting now in Delhi, so i need to keep a close watch now..since there will be lot of humidity inside the water tank
@jschaeke
@jschaeke 6 років тому
Sandeep Solanki for me the problem with this setup above my water tank the grill of the 2 sensors filled up with water due to moist giving way off readings, after I dried it with paper towel it would work again for a couple days...
@MaxIme555
@MaxIme555 5 років тому
Am using a ultrasonic sensor to display the water level in my opaque water tank. It shows the level on a 16x2 lcd display + it makes sure the water pump is stopped when tank is full (using a ssr on the pump).
@AndreasSpiess
@AndreasSpiess 5 років тому
Nice project!
@keithallred439
@keithallred439 5 років тому
Are you interested in teaching me how you did this? I want to hire someone to help me build a water level sensor that can control an on/ off pump.
@KadirErturk
@KadirErturk 3 роки тому
great video as always. btw does anyone knows if 40Khz reflects from water?
@AndreasSpiess
@AndreasSpiess 3 роки тому
I assume it does.
@alexisfyra
@alexisfyra 6 років тому
Hello Andreas, thank you for another interesting video. I have a question for you, or anyone who might know sth about it. I use a US100 (3.3V) with an esp8266 to measuse the oil level of my 1.5m by 1m oil tank. Everything is working fine until oil height drops below the middle of the tank where there is a metal grid formed by 50cm by 50cm squares and is part of the tank stracture. The sensor placed at the top of the tank senses the squares and stops "seeing" the oil below that point. Is there a way to norrow the sesor beam and measure the oil through the grid square? I was wondering if the newer laser sensors would do, but would they work on the black oil surface? Thanks in advance for any help.
@AndreasSpiess
@AndreasSpiess 6 років тому
This topic needs a lot of experimentation, because it is a one off case. Maybe a thinner grid in some places or maybe a second device which triggers later and listens to the second echo which should come from the oil. Lasers are probably more focused, but have a short range
@alexisfyra
@alexisfyra 6 років тому
Andreas Spiess thank you Andreas.
@simkuroman
@simkuroman 5 років тому
super video. and what about measurent angle? i want to measure the water level in water well with diameter of 1 meter. is it possible?
@AndreasSpiess
@AndreasSpiess 5 років тому
If I remember right the opening angles are about 30 degrees.
@marekjuros7104
@marekjuros7104 5 років тому
Nice video. I want use ultrasonic sensor in water level but need distance between 3cm to 30cm. JSN-SR04T minimum is 20cm that is not for me. Is any water resistant sensor for this range? Thanks
@AndreasSpiess
@AndreasSpiess 5 років тому
AFAIK you need a lot of power under water. I never tried
@marekjuros7104
@marekjuros7104 5 років тому
@@AndreasSpiess I have tank with 30cm height and I can use HC-SR04 because I dont add sensor down to water but only want know level distance. I use this sensor because I want know how many % of water have in tank.
@johninyork
@johninyork 5 років тому
I used the water proof sensor to measure ground water in a sump outside.
@AndreasSpiess
@AndreasSpiess 5 років тому
Thank you for the feedback!
@Jdpdmw
@Jdpdmw 5 років тому
Is it possible to show the V2.0 of the JSN-SR04T please? Especially mode 2 and 3?
@AndreasSpiess
@AndreasSpiess 5 років тому
I do not have one, I think. Maybe you want to watch ukposts.info/have/v-deo/hmRjjWOIhqeo1XU.html ?
@lowisl289
@lowisl289 3 роки тому
hello sir, can do the explanation of ultrasonic sensor that uses i2c bus like KS103 ultrasonic sensors, I noticed no one make information/learning about that sensor.
@AndreasSpiess
@AndreasSpiess 3 роки тому
I have no such plans.
@ricardocavalcanti3790
@ricardocavalcanti3790 5 років тому
Hi, i need to measure a milk tank level (until 3 liters). Do you think this ultrassonici sensor (the waterproof ) will be useful? In cant mesure the flow rate because this have a lot of air.
@AndreasSpiess
@AndreasSpiess 5 років тому
I do not know. Maybe you spend the few dollars to try yourself in your particular situation. This sensor does not measure very short (
@ritesht877
@ritesht877 5 років тому
Maybe try this one www.ebay.com/itm/253978673298
@66Freestyle888
@66Freestyle888 Рік тому
I see a lot of problems with distance jumps, from the correct distance to the minimum distance which is around 23cm with the sensor JSN-SR04T. The sensor is very constant if no cable is nearer then 1cm around the transformator, as soon a usb cable for power the esp32 or esp8622, or the esp itself, then the signal beginns to jump very often. Perhaps it is something that you can show or prove with a video. Kind regards
@AndreasSpiess
@AndreasSpiess Рік тому
The ESPs have WiFi transmitters built-in. So they might disturb the signals of your sensor. I never had this issue.
@soldierp1101
@soldierp1101 3 роки тому
which sensor would be better for quadcopters (sr04 and fr05 or GY-US42) because they have the same function. I use pixhawk 4 Plz answer my question
@AndreasSpiess
@AndreasSpiess 3 роки тому
I do not know what quadcopters need :-(
@catsafeguard6921
@catsafeguard6921 2 роки тому
are these sensors easily affected by wind? I set a AJ SRT-04M sensor up on a fixture. It measured a particular distance to the floor. I then set up a floor fan directly (maybe 8 inches) in front of the sensor and turned it on HIGH. The reading did not change. Any idea why not?
@AndreasSpiess
@AndreasSpiess 2 роки тому
It should not be influenced by moving air. Maybe there is another reason like the movement of the blades.
@catsafeguard6921
@catsafeguard6921 2 роки тому
Thank you for taking the time to reply to my comment regarding your 4 year old video. As it turns out I had a problem with my firmware. I found it shortly after I posted my comment. Keep up the good work.
@kingearwig
@kingearwig 6 років тому
do the water proof sensors give any useful information when used underwater?
@AndreasSpiess
@AndreasSpiess 6 років тому
I never used them underwater, I never had a need for that.
@Wildniswerke
@Wildniswerke 4 роки тому
Wie messen die Sensoren kurze Distanzen? Möchte ein 5 Liter Vorratsglas automatisch von meiner Umkehrosmose Filteranlage füllen lassen wenn ein bestimmter Wasserstand erreicht ist (etwa so niedrig dass ich gerade noch ein kleines Glas zapfen kann). Der Sensor soll in den Deckel und erst ein, zwei höchstens 3-4 cm unterhalb des Deckels den Füllvorgang abbrechen. Bei dem Wasserdichten Sensor stand aber irgendwo was, dass er erst ab 25cm misst... Hast du da Erfahrungen oder nen Tipp?
@AndreasSpiess
@AndreasSpiess 4 роки тому
Ich erinnere mich nicht mehr genau. Vielleicht schaust do mal in die Spezifikationen der Sensoren. Ausserdem würde ich die Sensoren VL53L0X /VL53L1X anschauen.
@Yojino
@Yojino 10 місяців тому
I have water ground tank the distance is 5-7 meters, what should I use the sensor prof?
@AndreasSpiess
@AndreasSpiess 10 місяців тому
I made a video about that topic where I show several sensors to measure fluid levels.
@hmauroy
@hmauroy 5 років тому
Thank you for figuring out how to control this sensor. I copied your code but it seems like your implementation of the timing for updates to the US-100 crashes whenever your unsigned ints get out of bounds! I changed to the usual timing code (found everywhere) and now it does not crach anylonger. // Talk to US-100 to update distance and temperature currentMillis= millis(); if(ping_enabled && currentMillis - PreviousMillisDistance >= pingSpeed) { PreviousMillisDistance = currentMillis; // saves the time us100.request_distance(); //Serial.println("Distance requested"); }
@AndreasSpiess
@AndreasSpiess 5 років тому
Thank you for your correction.
@Mr17luchin
@Mr17luchin 6 років тому
hello andreas, I'm from Panama and wanted to know if you could help me install or connect my hc-sr04 four pins to my controller apm 2.7 of my drone since I want to use it to have softer landings
@AndreasSpiess
@AndreasSpiess 6 років тому
I am a UKpostsr and have no time for consultantcy. Maybe you find somebody who did what you want using Google.
@filzli
@filzli 6 років тому
Have you encountered any sensors that would allow to sense motion through walls (12cm bricks for example)? I bought a motion detecting lamp off Ali and it triggers easily through walls. Now I'm actually looking for a sensor like that..
@AndreasSpiess
@AndreasSpiess 6 років тому
Maybe your lamp has a radar sensor. I made a video about them.
@filzli
@filzli 6 років тому
Yeah, (#135) - I tried it with the HFS-DC06, but either it was either constantly sensing movement when there was none or it did not penetrate the wall. I will give it a few more tries..
@Giblet535
@Giblet535 6 років тому
OK, it's not these sensors, specifically, but I have an interesting use for range sensing you might appreciate. Solar, too. ESP8266es, etc. We have a remote home. None of the usual municipal services people take for granted are available out here. That's a good thing. Get a glass of tap water. Hold it up to a light. See that stuff swirling around in there? You know what that is. Lol. Anyway... Maxbotics sells units that are IP-67 rated, and a bit expensive. They are easily switchable between operating modes (echo, PW, serial, etc). I put one of their MB7060 sensors in a cistern to monitor the water level. Meanwhile, in a distant field far below, a solar panel drives a low volume water pump to lift small quantities (4-18GPH) of water from a deep well into the cistern whenever the sun is shining && the sensor indicates that the cistern is not full. The cistern provides gravity-feed water pressure to our house. Crystal clear water. The cistern and well are 1km apart, connected by a buried PEX tube and a shielded CAT6 cable. The cable is for a different purpose and couldn't be shared for the water project, so a D1 Mini on the cistern communicates with the well electronics via LoS nRF24 link. The ESP also controls a stepper driven peristaltic pump which doses the cistern with sodium hypochlorite to hold the water at 0.03% chlorination. So, yeah. Ultrasonic range sensing is key to our drinking water. Our clean, clear water that has no ... tiny bits of paper floating in it. ;o) I keep promising myself I'll make a blog or vlog of the overall system and, more importantly, document the pitfalls and miscalculations I overcame so that others can work straight toward their goal.
@AndreasSpiess
@AndreasSpiess 6 років тому
Sounds like a nice place you have. And a good application for such a sensor.
@steefant
@steefant 6 років тому
Just 2 cents about a point in the summary: If one requires real-time capabilities (e.g., for balancing robots) I would never recommend relying on the offloading and serial protocols. They would most likely introduce delays and more importantly jitter that have very negative consequences on control algorithms. The AVR GP timers can easily spare the CPU core from measuring the time between trigger and echo if used correctly - no idea if there are Arduino libraries for that though but I would not recommend Arduino for such projects either ;) Also, the column of waterproofness in the comparison table is rather useless as is ;)
@AndreasSpiess
@AndreasSpiess 6 років тому
I used I2C for mine and it works fine. The three sensors always measure distance and if I read it, I always get the latest value. Very fast. The timing of different ultrasonic sensors is not simple because they can disturb each other. This is why I do not want to have it in my main loop. There I have many other time-critical things like the control of the steppers.
@AndreasSpiess
@AndreasSpiess 6 років тому
And thank you for your hint concerning the sheet. I added a link to a better one;-)
@sheikhmaryam9682
@sheikhmaryam9682 5 років тому
can you please tell me what is the angle view if max sonar device, I want to use it for obstacle detection for blind people so i want it to cover the whole body.... and please tell me have you worked with lidar sensors
@AndreasSpiess
@AndreasSpiess 5 років тому
You find videos about Lidar sensors on this channel. The opening angle depends on which device you use. Maybe you consult the data sheet?
@azaltura999
@azaltura999 6 років тому
Hi, can this sensors be used for checking water flow in pipes?
@AndreasSpiess
@AndreasSpiess 6 років тому
I do not think so
@Joe_Galaska
@Joe_Galaska 6 років тому
Mr. Spiess, I contacted the AliExpress vendor for the GY-US042 Ultrasonic Module and they provided me with a Instruction Manual in Chinese. I used google translate to concert the document to English. I have the document in Adobe PDF format but I do not know how to post it here. If you would like to receive the translated document please provide me with eMail address or other means of sending you the document. The manual discusses the three communication methods available, I2C, PWM, and serial.
@AndreasSpiess
@AndreasSpiess 6 років тому
I think, in the meantime, I also got a documentation and put a link into the description. Maybe you check if yours is different. I am on Twitter and Facebook.
@mljw_
@mljw_ 5 років тому
hi, i would like to receive the translated document of the GY-42US module, may i know how is it possible to receive this?
@swishpan
@swishpan 5 років тому
Maybe you can post instructions on some file sharing or email me and I can post it? The original instructions from Maxbotic doesnt cover PWM output.
@shikharvijay7872
@shikharvijay7872 6 років тому
Sir , i am use JSN-SR04T sensor for sefty device in open space area but in this sensor we phased many probs. like anwanted sensing if you suggest any other more realiable sensor and water proof or any changes in this sensor pls suggest ,is very usefull for me, i am waiting for your reply....
@AndreasSpiess
@AndreasSpiess 6 років тому
I do not know of another ultrasonic sensor which is waterproof.
@fraserstewart7359
@fraserstewart7359 2 роки тому
Can you use these sensors for measuring liquid in a fuel tank?
@AndreasSpiess
@AndreasSpiess 2 роки тому
I think so.
@Poduhvat
@Poduhvat 5 років тому
Hello Andreas, did you tested XL-MaxSonar-WRUC outodor sensor? If you didn't can you do that? Also you had noticed that it is not good when several ultrasonic sensors works in parallel, but what about LIDAR sensors? Can you make a test with two TF mini lidar senors at 20 cm parallel distance from each other?
@AndreasSpiess
@AndreasSpiess 5 років тому
I only have one TF mini. It should be easy to synchronize them that they do not disturb each other. Maybe you watch my video about Lidars?
@Poduhvat
@Poduhvat 5 років тому
Yes I did thank you.
@richardgrier4721
@richardgrier4721 6 років тому
Transducer is the name of a component that combines transmitting and receiving hardware inside the same envelope.
@AndreasSpiess
@AndreasSpiess 6 років тому
Thank you for helping me out.
@kennethnilsson6976
@kennethnilsson6976 6 років тому
Transceiver comes to mind as well.
@richardgrier4721
@richardgrier4721 6 років тому
Transducer it best, IMO. en.wikipedia.org/wiki/Transducer
@electron-1979
@electron-1979 6 років тому
Sorry, I agree with Kenneth. A transducer converts one form of energy to another, such as an ultrasonic transmitter or receiver. When It does both, it's a transceiver (acts as a transmitter and/or receiver).
@richardgrier4721
@richardgrier4721 6 років тому
A transceiver is the TOTAL electronics system that sends and receives. The transducer is the device that converts energy from one form to another, and makes up a portion of that system. Andreas was "wondering" out loud about the what the ultrasonic portion of the system should be called, I think, not the entire board.
@koz
@koz 6 років тому
Interesting. It never occurred to me before that if I was being chased by a robot which used some of these sensors, I could confuse it by "firing" loads of other sensors back at it. ;)
@AndreasSpiess
@AndreasSpiess 6 років тому
It is very easy to confuse these sensors. Just offer them a surface which does not reflect the sound in their direction.
@BelSei
@BelSei 6 років тому
What I'd like to know - if possible - are basically two things; How wide or narrow the sound beam is - could it be used as a direction finder (assuming an array with multiple sensors in various directions). Second issue is - does the sensor have to be in the open, or could it be hidden inside a housing (glass fibre).
@AndreasSpiess
@AndreasSpiess 6 років тому
1. Maybe you watch my first video about these sensors. There I show the angles. 2. I doubt they will work inside a case because the case will reflect the sound.
@BelSei
@BelSei 6 років тому
Thanks, I realised that after watching the first video, I'm now considering a radar application, I just have to try to narrow the beams to achieve some kind of directional sensing. Seems the HFS DC06 is closer to that than any other I've seen so far. Looking forward to this challenge, I have yet to buy my first Arduino...
@K2teknik.
@K2teknik. 6 років тому
I would like to know if I can use these to measure distance up to 10 meters, any one know which device to use for this?
@AndreasSpiess
@AndreasSpiess 6 років тому
The rangge tests in the firs video showed a range of about 5 meters. If. You need more you have to increase sending power increase sensitivity of the Receiver
@SteveWrightNZ
@SteveWrightNZ 6 років тому
it would be interesting to see PRN code sent underwater for a dive positioning system.
@AndreasSpiess
@AndreasSpiess 6 років тому
I ordered a strong resonator (60 watt) for some water tests.
@utkalpatel6815
@utkalpatel6815 4 роки тому
Need a small one for my project.
@shibbir_ahmed
@shibbir_ahmed 3 роки тому
At 5:29, You showed the GY-US42 sensor code alongside the others. Can you please help me with the specific code for that sensor. May be share a link. Thanks.
@AndreasSpiess
@AndreasSpiess 3 роки тому
This code is specific to the sensor. Gogle shows me this: www.instructables.com/ANALOG-ULTRASONIC-SENSOR-for-DISTANCE-MEASURMENT/
@shibbir_ahmed
@shibbir_ahmed 3 роки тому
@@AndreasSpiess Thanks for reply! I have seen that before. I was looking for a simple I2C connection code for this sensor, such simply using a library and defining a name. Because am trying to use 3/4 sensor to approve an algorithm. Writing code for this 3 or 4 sensor with that code becoming complex.
@AndreasSpiess
@AndreasSpiess 3 роки тому
I made once a video where I built I2C adapters for standard ultrasonic distance meters using ATTiny chips
@shibbir_ahmed
@shibbir_ahmed 3 роки тому
@@AndreasSpiess Can you please share the link? I bought 4 sensors and tried to use I2C addresses, but unfortunately all sensor's address is same 0x70! -_-
@cameron20020
@cameron20020 6 років тому
Can you do a test with oem vehicle sensors? Bosch makes some nice ones - good price with resistance to harsh environments... just obscure to talk to.
@AndreasSpiess
@AndreasSpiess 6 років тому
Where I would get such devices?
@cameron20020
@cameron20020 6 років тому
Andreas Spiess Try aliexpress. They're used in many modern cars: www.aliexpress.com/item/100-Work-original-Auto-Parts-Parking-Sensor-For-307-308-407-Partner-C4-C5-C6-PSA/32842541923.html?shortkey=NBvYJVbq&addresstype=600 Not for the feint of heart, you might end up writing your own software to interface. Someone succeeded before, but not on arduino: www.instructables.com/id/Hacking-Automotive-Ultrasonic-Sensors/
@AndreasSpiess
@AndreasSpiess 6 років тому
Thank you for your links. Maybe in the future...
@syedumarjunaid5499
@syedumarjunaid5499 3 роки тому
Hi, Andreas, I think there is a problem with the comparison chart because you mentioned JSN-SR04T and JSN-SR04T V2.0 as not waterprooff in the chart, while actually, they are waterproof.
@AndreasSpiess
@AndreasSpiess 3 роки тому
The chart I saw when I pressed the link showed they are waterproof.
@foxpup
@foxpup 6 років тому
If these had enough resolution they could be used to detect wind speed, but it looks like they don't if I'm seeing what I think I'm seeing. 1cm resolution. It would take some pretty strong winds for even a 1cm deviation in a 1m range measurement.
@AndreasSpiess
@AndreasSpiess 6 років тому
Interesting concept to use ultrasonic sensors for measuring wind speed
@foxpup
@foxpup 6 років тому
Actually its nothing new, but I'm surprised its not more common. :-) 🦊 hackaday.com/2013/08/21/ultrasonic-anemometer-for-an-absurdly-accurate-weather-station/
@ljl451
@ljl451 6 років тому
A good application for a water resistant ultrasonic sensor is the measurement of the level of the liquid contained in a tank. The sensor can be placed at the top of the tank facing the bottom. When the tank is empty, the measured distance will be the entire height of the tank. When the tank is full, the measured distance will be zero and the sensor will be wet, with no harm.
@AndreasSpiess
@AndreasSpiess 6 років тому
A few other commenters also use it for this purpose. However, the minimum distance seems not to be 0 cm
@ljl451
@ljl451 6 років тому
Yes, that's a good point. Anyway, there is generally a full level that is placed somewhat lower than the top of the tank. In case of a rain barrel, that's the level where water starts to flow outside of the barrel. In other cases that is the level where you stop filling the tank.
@rhyslbw
@rhyslbw 6 років тому
The combined transducer module has a min range of 20cm
@ljl451
@ljl451 6 років тому
I have never used that module, but 20 cm is definitely too much as min range. The "traditional" hc-sr04 has a min range of 2 cm.
@mastiff1995
@mastiff1995 6 років тому
Has anyone seen Waterproof/resistant version of the HC-SR04 ? in order to get the close distance like, you need to have separate transmitter and receivers.
Radar Sensors from $3 to over $100: Which one is Best?
14:31
Andreas Spiess
Переглядів 145 тис.
Waterproof Ultrasonic Distance Sensors - JSN-SR04T & A02YYUW 💧☔
32:11
DroneBot Workshop
Переглядів 163 тис.
Help Herobrine Escape From Spike
00:28
Garri Creative
Переглядів 54 млн
BRAWLER MUTATIONS WILL BREAK THE GAME! - Brawl Talk
09:34
Brawl Stars
Переглядів 23 млн
The Basics of Ultrasonic Sensors
4:49
CUI Devices
Переглядів 12 тис.
HC-SR04 Ultrasonic Distance Sensor and Arduino (Lesson #9)
5:28
Science Buddies
Переглядів 54 тис.
Use the very attractive new ATTINY chips for your projects
14:34
Andreas Spiess
Переглядів 187 тис.
Sensors - which one to use
17:06
Electronoobs
Переглядів 1,3 млн
The BEST Ultrasonic distance sensor US-100 vs. HC-SR04 vs. HC-SR05
5:44
DIY TECH BROS
Переглядів 32 тис.
Experimental Drone Positioning System
17:36
James Bruton
Переглядів 202 тис.
Arduino Underwater Ultrasonic Senor
4:57
Martin
Переглядів 23 тис.
Waterproof Ultrasonic Sensor with Arduino for distance measurement
11:17
Electronic Clinic
Переглядів 19 тис.
12 Useful & Interesting ESP32 Projects for Beginners!
9:41
ToP Projects Compilation
Переглядів 561 тис.
#207 Why most Arduino Soil Moisture Sensors suck (incl. solution)
10:59
Andreas Spiess
Переглядів 467 тис.
Result of the portable iPhone electrical machine #hacks
1:01
KevKevKiwi
Переглядів 2,1 млн
Какой MacBook выбрать в 2024 - М1, М2 или М3?
24:56
Result of the portable iPhone electrical machine #hacks
1:01
KevKevKiwi
Переглядів 2,1 млн
Сомнительно... Ну Окэй... Распаковал Nothing Phone (2a)
16:19
РасПаковка ДваПаковка
Переглядів 48 тис.