Using Ultrasonic Sensor HC-SR04 to calculate the distance

Поделиться
HTML-код
  • Опубликовано: 29 окт 2024

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

  • @tomtamjimjams
    @tomtamjimjams 2 года назад +1

    can SDA SCL connect to the digital pins of the arduino instead? or is using analog pins a must

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

      hi friend,
      and thanks for your question
      You can only do this connection
      ( SCL ==== A5
      && SDA ==== A4)

  • @BeatsByG
    @BeatsByG 2 года назад +1

    thx so much bro, finally a video that a. doesnt require an absolute ton of wiring, and b. actually works! thx! btw its actually accurate( not suprising since its a ultrasonic snesor tho)
    👍

  • @el-motaharistudio
    @el-motaharistudio 3 года назад +2

    بالتوفيق لك خويا 👏👏👍

  • @SoftwareEngHaider
    @SoftwareEngHaider 10 месяцев назад

    can u please provide circuit diagram for your connections for the first two pins you connected 5v to + bread board pin and gnd to _ side of the bread board pin

  • @kawtharrd1623
    @kawtharrd1623 3 года назад +2

    بالتوفيق

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

    Thanks a lot and this was amazing.

  • @jeseyloubayan3837
    @jeseyloubayan3837 11 месяцев назад

    hi! I've successfully uploaded the code to arduino uno but the lcd is still blank. What should I do?

  • @koltenbrown-q4h
    @koltenbrown-q4h 10 месяцев назад

    The site where your code is wont let me download it.

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

    How is it possible to use a servo motor mg996r ?

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

    Good luck

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

    Great gob ☑️👍🏻👍🏻

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

    Can I get the link for code

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

    In your code its showing error in lcd. begin please help

    • @athifsaleem7363
      @athifsaleem7363 10 месяцев назад

      bro go to line 17
      >>>"lcd.begin"
      replace begin with init
      ur line 17 should be
      >>>"lcd.init"

  • @ouasiltechnology7541
    @ouasiltechnology7541  2 года назад +1

    hello friends
    You can watch another video
    ruclips.net/video/Fey9j7PtE44/видео.html

  • @flavioc.422
    @flavioc.422 2 года назад +2

    schema ????

  • @bajiraopatil1515
    @bajiraopatil1515 2 года назад +1

    Op

  • @jahidhasan-ih5fh
    @jahidhasan-ih5fh Год назад

    code ta downlode hosse na

  • @viswanathanairy4556
    @viswanathanairy4556 6 месяцев назад

    your code is not secure.

  • @pzymax1817
    @pzymax1817 2 года назад +1

    Hi! im having problem running it. i get this error message
    Arduino: 1.8.16 (Windows 7), Board: "Arduino Uno"
    sketch_nov29b:3:10: fatal error: LiquidCrystal_I2C.h: No such file or directory
    #include
    ^~~~~~~~~~~~~~~~~~~~~
    compilation terminated.
    exit status 1
    LiquidCrystal_I2C.h: No such file or directory
    This report would have more information with
    "Show verbose output during compilation"
    option enabled in File -> Preferences.

    • @ouasiltechnology7541
      @ouasiltechnology7541  2 года назад +1

      Hello my friend,
      You have to download and install the library.
      first step:
      download the library:
      www.mediafire.com/file/rbx09e2l28pp9bk/Arduino-LiquidCrystal-I2C-library-master.zip/file.
      second step:
      open arduino IDE and go to:
      Sketch ==> include library ==> Add. ZIP Library ==> select the folder.

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

      ​@@ouasiltechnology7541 I have followed your instructions and get this.
      Arduino: 1.8.16 (Windows 7), Board: "Arduino Uno"
      Sketch uses 4232 bytes (13%) of program storage space. Maximum is 32256 bytes.
      Global variables use 283 bytes (13%) of dynamic memory, leaving 1765 bytes for local variables. Maximum is 2048 bytes.
      An error occurred while uploading the sketch
      avrdude: ser_open(): can't open device "\\.\COM6": The system cannot find the file specified.
      This report would have more information with
      "Show verbose output during compilation"
      option enabled in File -> Preferences.

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

      Update: it says Done uploading and got this message:
      Sketch uses 4232 bytes (13%) of program storage space. Maximum is 32256 bytes.
      Global variables use 283 bytes (13%) of dynamic memory, leaving 1765 bytes for local variables. Maximum is 2048 bytes.
      but it seems LED isn't working. it turns on but no display

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

      @@pzymax1817
      go to ==> tools
      board: select "arduino uno" .
      port : select COM(arduino uno)

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

      @@ouasiltechnology7541 in port i only see COM8(Arduino Uno) if i chose it still nothing happen

  • @rohitshirsat3232
    @rohitshirsat3232 2 года назад +1

    we did all the steps, but our LCD is blank. what's the problem

  • @ImVortex740
    @ImVortex740 9 месяцев назад

    Pathetic link to the code . Please do not click it redirects to some virus infected website

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

    so bad