Это видео недоступно.
Сожалеем об этом.

#190

Поделиться
HTML-код
  • Опубликовано: 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.aliexpr...
    JSN-SR04T: s.click.aliexpr...
    US-100: s.click.aliexpr...
    HC-SR04Plus: s.click.aliexpr...
    JSN-SR04T Documeentation: item.taobao.co...
    NewPing: bitbucket.org/...
    OingSerial: github.com/sto...
    NewPing for ESP8266: github.com/jsh...
    Maxbotics: www.maxbotix.c...
    www.nde-ed.org...
    Supporting Material and Blog Page: www.sensorsiot.org
    Github: www.github.com...
    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
    www.facebook.c...
    / spiessa
    www.instructab...
    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....

Комментарии • 419

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

  • @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 6 месяцев назад

      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.

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

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

  • @TheTinkerDad
    @TheTinkerDad 6 лет назад

    Thanks for the comparison! Just recently started playing with ultrasonic sensors, so this will help me a lot.

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

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

  • @KlockworXMusic
    @KlockworXMusic 5 лет назад

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

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

  • @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 лет назад

      :-)

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

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

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

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

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

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

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

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

  • @tinker7722
    @tinker7722 6 лет назад

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

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

  • @pierpa_76pierpaolo
    @pierpa_76pierpaolo 11 месяцев назад +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  11 месяцев назад

      Unfortunately, I have no time for such experiments :-(

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

  • @alcanceweb
    @alcanceweb 6 лет назад

    Excellent comparison. Thank you.

  • @R73CH
    @R73CH 6 лет назад +1

    As always great video. Thank you.

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

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

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

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

  • @tomcraft5306
    @tomcraft5306 5 лет назад

    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  5 лет назад

      Bitte, gern geschehen. Und viel Erfolg!

  • @MrVipulLal
    @MrVipulLal 3 года назад

    Love your videos, mate. Thanks!

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

  • @Yojino
    @Yojino Год назад +1

    I have water ground tank the distance is 5-7 meters, what should I use the sensor prof?

    • @AndreasSpiess
      @AndreasSpiess  Год назад

      I made a video about that topic where I show several sensors to measure fluid levels.

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

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

  • @1powelrainbow2
    @1powelrainbow2 6 лет назад

    Perfect!! Wanted a video like this one!!

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

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

  • @avejst
    @avejst 6 лет назад

    Thanks for sharing 😀👍
    Well done as always 👍

    • @AndreasSpiess
      @AndreasSpiess  6 лет назад

      Thank you for watching and commenting my videos!

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

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

  • @fajaradi294
    @fajaradi294 3 года назад

    Hi Andreas, very good video. thank you.

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

  • @bardenegri21
    @bardenegri21 6 лет назад

    Thank you for another great video!

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

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

  • @therealfox
    @therealfox 6 лет назад

    Thanks for your informative video

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

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

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

  • @66Freestyle888
    @66Freestyle888 2 года назад

    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  2 года назад

      The ESPs have WiFi transmitters built-in. So they might disturb the signals of your sensor. I never had this issue.

  • @johninyork
    @johninyork 5 лет назад

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

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

  • @MaxIme555
    @MaxIme555 6 лет назад

    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  6 лет назад

      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.

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

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

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

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

  • @AlamoCityCello
    @AlamoCityCello 6 лет назад

    Great Video! BRAVO!!

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

  • @dgb5820
    @dgb5820 6 лет назад

    Great video, you the MAN

  • @user-wd5tv9su3g
    @user-wd5tv9su3g 2 года назад

    Google translater can't translate you "100 turkeys per second" I fell under the table

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

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

  • @hmauroy
    @hmauroy 6 лет назад

    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");
    }

  • @FarahNasrallah-xt4yz
    @FarahNasrallah-xt4yz 4 месяца назад

    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  4 месяца назад

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

    • @FarahNasrallah-xt4yz
      @FarahNasrallah-xt4yz 4 месяца назад

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

  • @aldercamper9430
    @aldercamper9430 5 лет назад

    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  5 лет назад

      RUclips is my hobby and unfortunately, I have no time for consulting :-(

    • @aldercamper9430
      @aldercamper9430 5 лет назад

      @@AndreasSpiess I can buy you a drink ;-) But I understand your business. And again, thank you. You doing good videos.

  • @MrPlastkort
    @MrPlastkort 2 месяца назад

    I am looking for a way to create a ultrasonic water agitator, can one of these work for this task? no need to receive signal. but how many would I need to have a reaction?

    • @AndreasSpiess
      @AndreasSpiess  2 месяца назад

      These are used in ultrasonic cleaners. So I assume they move the water in a small range.

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

  • @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 6 лет назад

      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

  • @shashankreddy6908
    @shashankreddy6908 3 года назад +1

    Hello I want the ultra sonic sensor of range 10 meters, give me the model name as fast as possible, please

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

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

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

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

  • @kenkenken115
    @kenkenken115 6 лет назад

    Thanks man!!! Would you mind to share the code for US42V2 module??

  • @fraserstewart7359
    @fraserstewart7359 2 года назад

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

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

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

  • @mayankraichura
    @mayankraichura 6 лет назад

    Waterproof transducer can be used for water level sensor inside tanks

    • @AndreasSpiess
      @AndreasSpiess  6 лет назад

      I am not sure if it is powerful enough.

    • @mayankraichura
      @mayankraichura 6 лет назад

      Andreas Spiess I have tested it with HC-SR04. As water level decreases, the distance keeps increasing. I'm yet to test with waterproof sensor as I don't have one but the principle should be same. Using ESP8266 and a waterproof u/s sensor we could make a water consumption logger and using some level software (node-red)we can auatomate pumps as well.

    • @AndreasSpiess
      @AndreasSpiess  6 лет назад

      Aha. It, of course, works if you place it above the water. I thought you want to place it in the water...

    • @mayankraichura
      @mayankraichura 6 лет назад

      Andreas Spiess Yes. Place it above the water level, preferably at the top of the water tank, looking down. Then log the distance over interval.

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

  • @soldierp1101
    @soldierp1101 4 года назад

    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  4 года назад

      I do not know what quadcopters need :-(

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

  • @KadirErturk
    @KadirErturk 3 года назад

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

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

  • @utkalpatel6815
    @utkalpatel6815 4 года назад

    Need a small one for my project.

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

  • @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 ruclips.net/video/N42Y-QOqwtA/видео.html ?

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

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

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

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

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

  • @K2teknik.
    @K2teknik. 6 лет назад +1

    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

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

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

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

  • @Zhaymoor
    @Zhaymoor 6 лет назад

    Thank you so much technically you are really awesome

  • @Hobypyrocom
    @Hobypyrocom 6 лет назад +1

    you add salt to soften the water? how does adding more salts to water makes the water softer? i thought softer water means less dissolved stuff in it... for what do you use that "softer" water?

    • @AndreasSpiess
      @AndreasSpiess  6 лет назад +1

      We do not add it. I am no chemist. Here an explanation I found: Salt-Based Ion Exchange Softener. This type of water softenercycles household water through two tanks: one with special resin beads and the other filled with brine. It works on the principle of ion exchange, softening hard water by substituting sodium (salt) for hard minerals such as calcium, magnesium, and iron.

    • @northshorepx
      @northshorepx 6 лет назад +1

      ruclips.net/video/Vci4-jEU4Fo/видео.html

    • @Hobypyrocom
      @Hobypyrocom 6 лет назад

      northshorepx thanks for the great explanation video... so there is no contamination of sodium salt in the water output? the salt water is just used for washing off the filter?

    • @Hobypyrocom
      @Hobypyrocom 6 лет назад

      Andreas Spiess if you are replacing the minerals in the water with salt then thats even worse than the hard water, but if it is as explained in the video that northshorepx shared and the salt water is used only to wash those resin beads then i guess its ok...
      if you think about it this system might remove all the micro minerals we need and we can only get thru the water which is bad and might remove all the oxygen dissolved in the water which is also bad... dont know i am not an chemist also, our tap water is purer than bottled water and noone ever had any problem because of drinking it so...

    • @bardenegri21
      @bardenegri21 6 лет назад

      Is it cheaper than an osmosis filter?