#190

แชร์
ฝัง
  • เผยแพร่เมื่อ 17 มี.ค. 2018
  • 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 ปีที่แล้ว +11

    Here you find the corrected overview chart: www.sensorsiot.org/transferFiles/UltrasonicSensorsComparison.pdf

    • @K2teknik.
      @K2teknik. 6 ปีที่แล้ว +3

      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 ปีที่แล้ว +4

      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 ปีที่แล้ว +2

      boo.. 404

  • @omaryanas435949
    @omaryanas435949 6 ปีที่แล้ว +11

    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.

  • @longdongsilver4719
    @longdongsilver4719 3 ปีที่แล้ว +1

    As always: useful and precise. I love the way you cover your subject: well documented and practical.

  • @abQUINTON1
    @abQUINTON1 6 ปีที่แล้ว +1

    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 ปีที่แล้ว +1

      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.

  • @tinker7722
    @tinker7722 6 ปีที่แล้ว

    perfect summary, Andreas!👍👍😁
    this saves me a lot of time to choose the right sensor!

  • @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 ;-)

  • @KlockworXMusic
    @KlockworXMusic 5 ปีที่แล้ว

    This was extremely helpful as I couldn't find much online about the gy-us42 v2 sensor.

  • @joaofgf
    @joaofgf 6 ปีที่แล้ว +2

    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 ปีที่แล้ว +1

      This seems to be an important application. Here, water is not so rare so we do not care much about it...

  • @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 ปีที่แล้ว

      :-)

  • @sichel94sam
    @sichel94sam 6 ปีที่แล้ว +2

    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.

  • @R73CH
    @R73CH 6 ปีที่แล้ว +1

    As always great video. Thank you.

  • @avejst
    @avejst 6 ปีที่แล้ว

    Thanks for sharing 😀👍
    Well done as always 👍

    • @AndreasSpiess
      @AndreasSpiess  6 ปีที่แล้ว

      Thank you for watching and commenting my videos!

  • @alcanceweb
    @alcanceweb 6 ปีที่แล้ว

    Excellent comparison. Thank you.

  • @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...

  • @johncherry108
    @johncherry108 6 ปีที่แล้ว +14

    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 ปีที่แล้ว +2

      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.

  • @1powelrainbow2
    @1powelrainbow2 6 ปีที่แล้ว

    Perfect!! Wanted a video like this one!!

  • @bardenegri21
    @bardenegri21 6 ปีที่แล้ว

    Thank you for another great video!

  • @peterl1699
    @peterl1699 6 ปีที่แล้ว +1

    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...

  • @MrVipulLal
    @MrVipulLal 2 ปีที่แล้ว

    Love your videos, mate. Thanks!

  • @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 6 ปีที่แล้ว

      Andreas Spiess it's 5000 litres 😀

    • @ollieb9875
      @ollieb9875 6 ปีที่แล้ว

      Andreas Spiess thank you for the kind reply. Be well, friend. ❤

  • @therealfox
    @therealfox 6 ปีที่แล้ว

    Thanks for your informative video

  • @dgb5820
    @dgb5820 6 ปีที่แล้ว

    Great video, you the MAN

  • @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?

  • @northshorepx
    @northshorepx 6 ปีที่แล้ว +5

    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 ปีที่แล้ว +1

      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 ปีที่แล้ว +1

      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 ปีที่แล้ว +1

      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 !

  • @simonmerrett
    @simonmerrett 6 ปีที่แล้ว +2

    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 ปีที่แล้ว +1

      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 ปีที่แล้ว +1

      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).

  • @fajaradi294
    @fajaradi294 3 ปีที่แล้ว

    Hi Andreas, very good video. thank you.

  • @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.

  • @rbmwiv
    @rbmwiv 6 ปีที่แล้ว

    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  6 ปีที่แล้ว

      I did not test the range. Usually, it is around 5 meters. So do not drive your car too fat ;-)

  • @Take5Instead4
    @Take5Instead4 6 ปีที่แล้ว +1

    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 ปีที่แล้ว +1

      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)

  • @aswinbalasubramanian5753
    @aswinbalasubramanian5753 5 ปีที่แล้ว +1

    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  5 ปีที่แล้ว

      I never tried this situation. So you have to test yourself.

  • @AlamoCityCello
    @AlamoCityCello 6 ปีที่แล้ว

    Great Video! BRAVO!!

  • @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.

  • @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

  • @Zhaymoor
    @Zhaymoor 6 ปีที่แล้ว

    Thank you so much technically you are really awesome

  • @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!

  • @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

  • @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

  • @Phoen1x883
    @Phoen1x883 6 ปีที่แล้ว +2

    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

  • @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.

  • @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?.

  • @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...

  • @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 TH-camr 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

  • @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.

  • @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.

  • @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...

  • @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 ปีที่แล้ว

      TH-cam 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.

  • @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

  • @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.

  • @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.

  • @ElmerFuddGun
    @ElmerFuddGun 6 ปีที่แล้ว +1

    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.

  • @kvihijar
    @kvihijar 6 ปีที่แล้ว +3

    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

  • @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

  • @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

  • @FarahNasrallah-xt4yz
    @FarahNasrallah-xt4yz 24 วันที่ผ่านมา

    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  24 วันที่ผ่านมา

      If you google you will find such jamming devices. But with 25kHz sensors, not tthe 40kHz I used here.

    • @FarahNasrallah-xt4yz
      @FarahNasrallah-xt4yz 24 วันที่ผ่านมา

      @@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.

  • @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...

  • @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

  • @pierpa_76pierpaolo
    @pierpa_76pierpaolo 7 หลายเดือนก่อน +1

    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 :-(

  • @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;-)

  • @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 ปีที่แล้ว +1

      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.

  • @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.

  • @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.

  • @lezbriddon
    @lezbriddon 6 ปีที่แล้ว

    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

  • @johninyork
    @johninyork 5 ปีที่แล้ว

    I used the water proof sensor to measure ground water in a sump outside.

  • @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.

  • @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.

  • @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.

  • @khomo12
    @khomo12 2 หลายเดือนก่อน

    Nice!👍👍👍

  • @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.

  • @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.

  • @thesimbon
    @thesimbon 6 ปีที่แล้ว +3

    I've seen quite some people using these sensors for detecting if the car is parked in the garage, others for measuring the water in a water tank (especially those living off grid)

    • @AndreasSpiess
      @AndreasSpiess  6 ปีที่แล้ว +1

      The one with the garage is new for me. Interesting. We only have one car and therefore we usually know where it is parked ;-)

    • @thesimbon
      @thesimbon 6 ปีที่แล้ว

      Andreas Spiess if you want to see some more projects, visit mysensors.org forum and openhardware.io. I know there are a lot of projects using the 328p but there are some for esp8266 that you usually prefer.

    • @thesimbon
      @thesimbon 6 ปีที่แล้ว

      Mark Bolton there have been some projects, even battery powered, to measure water level of different shaped tanks.

    • @m00st
      @m00st 6 ปีที่แล้ว

      The ‘detecting a car in the driveway’ was my plan as well. In addition, i am considering using one or more to trigger camera snapshots and moving a ptz into the direction of where the action is. But for the latter, i could use (cheaper) microwave sensors in a weatherproof box.

    • @maairas
      @maairas 6 ปีที่แล้ว

      Could you make tank level measurements through the top of the tank? If so, they'll be great as boat tank level meters!

  • @fernandohood5542
    @fernandohood5542 3 ปีที่แล้ว

    I would really like to see the test actual range verses the advertised range.

    • @AndreasSpiess
      @AndreasSpiess  3 ปีที่แล้ว

      Maybe in the meantime somebody did it.

  • @mschluetter
    @mschluetter 6 ปีที่แล้ว

    Project idea for the JSN-SR04T: safe passing distance measurement concerning bicycle vs car: mount the sensor in the handlebar, log unsafe passing (

    • @AndreasSpiess
      @AndreasSpiess  6 ปีที่แล้ว

      Interesting... Maybe a big horn would be better or a camera to document.

    • @AndreasSpiess
      @AndreasSpiess  6 ปีที่แล้ว

      Instead of the LoRa, of course...

    • @mschluetter
      @mschluetter 6 ปีที่แล้ว

      Andreas Spiess in my experience as a bike messenger, trying to educate the car drivers doesn't work well. Documentation and showing the city planners that the problem exists and where it exists (GPS) is the better way to tackle the problem. With this information, they may overhaul bike lanes in dangerous areas.

    • @AndreasSpiess
      @AndreasSpiess  6 ปีที่แล้ว +1

      Good Idea!

  • @KadirErturk
    @KadirErturk 3 ปีที่แล้ว

    great video as always. btw does anyone knows if 40Khz reflects from water?

  • @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 :-(

  • @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.

  • @richardgrier4721
    @richardgrier4721 6 ปีที่แล้ว +1

    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 ปีที่แล้ว +1

      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.

  • @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.

  • @Joe_Galaska
    @Joe_Galaska 6 ปีที่แล้ว +3

    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.

  • @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.

  • @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.

  • @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.

  • @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.

  • @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.

  • @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.

  • @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.

  • @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.

  • @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.

  • @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/

  • @fraserstewart7359
    @fraserstewart7359 2 ปีที่แล้ว

    Can you use these sensors for measuring liquid in a fuel tank?

  • @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.

  • @utkalpatel6815
    @utkalpatel6815 4 ปีที่แล้ว

    Need a small one for my project.

  • @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

  • @jeanyvespochez
    @jeanyvespochez 6 ปีที่แล้ว +1

    be careful, it seems that the waterproof sensors can only measure down to 40cm. it's because the module has to be blind between trigger and echo pulses, because it has only one sensor that does all. I'm looking for a waterproof sensor with two sensors, but did not find them. was thinking to try to replace the sensors on a SR04 with the waterproof ones to test it. that way, measuring water level in small tanks would be possible.

    • @maicod
      @maicod 6 ปีที่แล้ว

      so that is why my car thinks it hits another car while there's plenty of room left ;)

    • @AndreasSpiess
      @AndreasSpiess  6 ปีที่แล้ว

      I did not test the rang this time. Thanks for the feedback. Then maybe the application in the salt tank is endangered.

    • @jeanyvespochez
      @jeanyvespochez 6 ปีที่แล้ว

      in fact it is 20cm from the JSN-SR04T-2.0 datasheet. other 2 sensors modules indicate around 2cm.

    • @rhyslbw
      @rhyslbw 6 ปีที่แล้ว +1

      Andreas Spiess There’s a lot of people looking for a solution to this problem, maybe a future video could explore this? I’m wondering if two JSN-SR04T can be used to separate the sending and receiving responsibilities to reduce the min distance threshold.

    • @virtual-identity
      @virtual-identity 5 ปีที่แล้ว

      Did you make progress with your salt tank project? I’m using a JSN-SR04 for sensing the salt level. I have difficulties to get a stable signal. When there is only little salt left (ca. 80cm measuring distance) it works fine. Then I filled in salt into the tank and the distance readings vary between 20cm and -200cm.
      I wonder if the fine salt grains disturb the measuring and I should switch to salt pellets. Do you think, optical sensors are more suitable?
      I’d appreciate if you can share your experiences.
      Greetings from Magden

  • @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 th-cam.com/video/N42Y-QOqwtA/w-d-xo.html ?

  • @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.

  • @Yojino
    @Yojino 10 หลายเดือนก่อน +1

    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.

  • @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.

  • @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...

  • @StevePotter
    @StevePotter 6 ปีที่แล้ว

    I got the JSN-SR04T-2.0 and tested it in Mode3 with 120k resistor in R27. This waits for a 0x55 signal and returns the distance in mm as a 4-byte frame. Unfortunately, the device rounds this mm measurement to the nearest 17 mm! Not very good precision. The absolute accuracy seemed to be off by about 2cm also, indicating less than the actual distance. With Mode1, I could see only about 10microsec of jitter in the pulse length which I think is less than 2mm, so it should be able to do much better in serial mode than it does. Getting the Arduino (DUE in this case) to measure the pulse accurately in Mode1 seems also to be a limitation, using the pulseIn() function.

    • @AndreasSpiess
      @AndreasSpiess  6 ปีที่แล้ว

      Thank you for your feedback. I did not know of this rounding to the nearest 17 mm.
      The offset is not a big problem for me because you anyway have to adjust for the plane you want to use as a reference.