Arduino distance measurement using Ultrasonic HC-SR04 Sensor

Поділитися
Вставка
  • Опубліковано 18 гру 2024

КОМЕНТАРІ • 14

  • @cybercifer8221
    @cybercifer8221 Рік тому +1

    You can use temperature and humidity sensor for more accurate measurements as temperatures effect the sound speed

    • @cybercifer8221
      @cybercifer8221 Рік тому

      This is for those they are just learning of course not for the creators of the video 😅

  • @playstationrepairtacloban5959
    @playstationrepairtacloban5959 2 місяці тому

    How did you split 1 male into 2 female?

  • @ajitkumarram7991
    @ajitkumarram7991 2 дні тому

    Not showing on screen

  • @AkhilscollectionOfficial
    @AkhilscollectionOfficial 10 місяців тому +1

    Code is not opening 💀
    Please🙏 write in the comment
    Please fast !

    • @kiettieuvinh
      @kiettieuvinh 5 місяців тому +2

      #include
      LiquidCrystal_I2C lcd(0x3F, 2, 1, 0, 4, 5, 6, 7, 3, );
      const int trigPin = 12;
      const int echoPin = 11;
      long duration;
      int distance;
      void setup()
      {
      pinMode(trigPin, OUTPUT);
      pinMode(echoPin, INPUT);
      Serial.begin(9600);
      lcd.begin(16,2);
      }
      void loop()
      {
      lcd.setCursor(0,0);
      lcd.print("No object");
      digitalWrite(trigPin, LOW);
      delayMicroseconds(7);
      digitalWrite(trigPin, HIGH);
      delayMicroseconds(10);
      digitalWrite(trigPin, LOW);
      duration = pulseIn(echoPin, HIGH);
      distance= duration*0.034/2;
      if (distance

    • @kiettieuvinh
      @kiettieuvinh 5 місяців тому

      Here thev code

  • @sudhirpal5218
    @sudhirpal5218 Місяць тому +1

    Sir you make a weighting sensor like batman distance machine😊🎉🎉🎉🎉❤😊😊😊 ple ple ple ple ple ple

  • @PasunuriSrinidhi
    @PasunuriSrinidhi 2 місяці тому

    Error is showing in second line broh how to debug it

  • @rudradeepchatterjee3640
    @rudradeepchatterjee3640 2 роки тому

    Error compiling code showing 'POSITIVE' was not declared in this scope

    • @skynet-robotics
      @skynet-robotics  2 роки тому +2

      drive.google.com/file/d/1Qnqmi5F4EEX6962EfjBkp1RddJ406zc0/view?usp=drivesdk
      👆You need to Include library for LCD newliquidcrystal.zip

    • @wernerweber7823
      @wernerweber7823 Місяць тому

      @@skynet-robotics it still dont work