Ultrasonic Sensor HC-SR04 Tutorial with LCD I2C

แชร์
ฝัง
  • เผยแพร่เมื่อ 14 ต.ค. 2024
  • download both of the libraries from these two link given below.
    github.com/JRo...
    www.arduinolib...
    Download sketch and schematics from here
    www.hackster.i...

ความคิดเห็น • 36

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

    where do i find de wire library?

  • @niteshjain1279
    @niteshjain1279 4 ปีที่แล้ว +1

    I don’t have the thing that was stick to lcd

  • @shashankreddy6908
    @shashankreddy6908 3 ปีที่แล้ว +2

    Bro plzz help me, if i measure at 15cm its working fine but after incresing the object place the distance is showing wrong

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

      Is that so? Are you using same code or a different one

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

      @@ArnovSharma same code bro😓

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

      @@ArnovSharma plzz help me, i should submit it by morning🙏🙏🙏

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

      @@shashankreddy6908 🤔 what surface are you trying this measurement thing on? Different materials have different absorption rate so maybe that's the problem here.

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

      @@ArnovSharma cardboard i am using

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

    works bro thanks . from le bucheron and perspicace

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

      Please help me it is not working for me

  • @steffen9442
    @steffen9442 4 ปีที่แล้ว +1

    The library ultrasonicsensor has no correct library, says my Arduino software, what can i do?

    • @AllINONE-fm9qm
      @AllINONE-fm9qm 4 ปีที่แล้ว +2

      Bro...He by Mistake added the wrong library i am giving you link here u can download the correct Library..
      www.arduinolibraries.info/libraries/ultra-dist-sensor
      Enjoy...

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

    what power the circuit? did you connect it to 9V battery?
    if im using CT-Uno, do i need to include 9V battery, and if possible i need to have schematics that include 9V battery

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

      is your CT Uno is an arduino Uno Clone? if yes, then you don't need to add any voltage regulation circuit to your setup... just power it with an 9v battery

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

      @@ArnovSharma i guess so, i dont know how to connect it the 9V to the CT -Uno

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

      @@phynex5555 does your clone board have a VCC or an Raw port? if yes then connect positive terminal to it and ground to ground

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

      @@ArnovSharma i have solved the issue, but now the i cant upload the code because the UltraDistSensor error shows up . It says it is not a type of name'. How to solve it?

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

      and also , i cant install the HCSR04 lib from the link because it said not valid lib

  • @harsh....8993
    @harsh....8993 5 ปีที่แล้ว

    Do I need to do anything extra in the code available online ? Like adding some no's. Etc cause it's not compiling

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

    the lcd is not i2c in the gethub repository.

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

    hi what value of distance should you use if you wanna measure things in meters or feet unit.

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

      i'm using this "reading=mysensor.distanceInCm();" for getting values in cm but you can change " reading=mysensor.distanceInMeter();" or similar function.

  • @harsh....8993
    @harsh....8993 5 ปีที่แล้ว

    But there r no libraries can u pls help

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

    Thanks bro it worked

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

    there is no library called wire

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

      Wire library is an pre-installed library

  • @harsh....8993
    @harsh....8993 5 ปีที่แล้ว

    Bro I need the libraries

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

    I love you

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

    nice