Arduino Distance Meter | OLED Display | Ultrasonic Sensor HC SR04

แชร์
ฝัง
  • เผยแพร่เมื่อ 23 ส.ค. 2019
  • Hey friends in this video I will show you how to make a Distance Measuring Meter using Ultrasonic sensor and Arduino
    Visit my Website to Download Codes and Circuit Diagrams:- www.viralsciencecreativity.co...
    Materials:-
    Arduino
    HC-SR04 Ultrasonic Sensor
    OLED Display
    BreadBoard
    Jumpers
    Follow me on:-
    Website:- www.viralsciencecreativity.com
    Facebook:- / viralscience20
    Facebook:- / viral.dodhia.73
    Instagram:- / viral_dodhia_
    Twitter:- / viral_science_
    --------- VIRAL SCIENCE © ----------
  • วิทยาศาสตร์และเทคโนโลยี

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

  • @megatron3265
    @megatron3265 4 ปีที่แล้ว +3

    Great video bro 👌
    Keep up the good work

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

    Amazing bro really you are amazing!!!

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

    Very nice project 👍

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

    Amazing bro
    Please make water tank indicator with motor controller

  • @MrDenisJoshua
    @MrDenisJoshua 4 ปีที่แล้ว +6

    Great video... do you think will work also with the water level ? thanks

  • @SakthiVel-oj1dc
    @SakthiVel-oj1dc 4 ปีที่แล้ว

    Super bro

  • @fenixluxor8173
    @fenixluxor8173 10 วันที่ผ่านมา

    great video, but i'm using 0.96inch waveshare displey and it does not show anything but sensor is working perfectly. Any advice plsss

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

    Hey bro please update which projects those are very simple

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

    Sir, water level project...altra sonic sensor LED-12345...indicator

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

    Please reply quick i need this for my school project!

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

    please make a electronic circuit breaker

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

    hi brother can you please help me to make a cnc machine from using this parts uln2003 stepping motor ,her motor driver ,including lcd or oled display and make ot from arduino nano please brother can't you help me make ....please......your bigfan .

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

    Make a robotic arm controlled by ps2 plz...

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

    What is the total distance upto which it can measure

  • @jman4715
    @jman4715 3 หลายเดือนก่อน

    The code seems to be missing from the web site

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

    is this possible with mini BreadBoard. means pocket size.

  • @MKG2.0
    @MKG2.0 4 ปีที่แล้ว

    Maximum distance measurements

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

    *Is your channel monitized bro?*

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

    Which software use in circuit diagram in this video?

  • @Arpit.Jacob_805
    @Arpit.Jacob_805 4 ปีที่แล้ว +2

    Sir aapne ye diagram kaise banaya. How did you make this diagram

    • @Arpit.Jacob_805
      @Arpit.Jacob_805 4 ปีที่แล้ว +1

      Bro please answer i know that you are ingnoring me

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

      @@Arpit.Jacob_805
      Fritzing app

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

    Display ka link dedo

  • @md.mahbubchowdhury9330
    @md.mahbubchowdhury9330 3 ปีที่แล้ว

    Project is working fine however sensor distance measurement is not accurate. I am so disappointed as most of the Sensor data are incorrect ex MQ 2 and MQ 7 gas sensor. If sensor data are incorrect then no point to do any project .

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

    I got a error it says
    sketch_mar25a:7:10: fatal error: Adafruit_GFX.h: No such file or directory
    #include
    ^~~~~~~~~~~~~~~~
    compilation terminated.
    exit status 1
    Adafruit_GFX.h: No such file or directory

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

      Same ?😭😭

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

      Hi bro you need to install thaat library,,,,,

    • @MuhammadFahmi-jx6ip
      @MuhammadFahmi-jx6ip 2 ปีที่แล้ว

      @@iamaditya69 help bro

    • @iamaditya69
      @iamaditya69 2 ปีที่แล้ว +1

      @@MuhammadFahmi-jx6ip bro you also need that same error,,,,,,which board you use,,,which device you use for uploading mobile or computer,,,,,,

  • @x-6790
    @x-6790 4 ปีที่แล้ว +1

    Sir.we watch your video by decreasing our internet.and u not given a heart.its not good!!

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

    Bro pls help

  • @saikumar-co6sj
    @saikumar-co6sj 4 ปีที่แล้ว

    do answer for questions 😎bro,else waste of putting,let others learn😁

  • @SakthiVel-oj1dc
    @SakthiVel-oj1dc 4 ปีที่แล้ว

    Uga whatsapp number soluga bro

  • @supmyman6899
    @supmyman6899 ปีที่แล้ว

    hello sir u have done a great job but, there is a change in the set cursor code as the inches are not been shown by your code.
    #include
    #include
    #include
    #include
    #define trigPin 9
    #define echoPin 8
    #define OLED_RESET 4
    Adafruit_SSD1306 display(OLED_RESET);
    void setup() {
    Serial.begin (9600);
    pinMode(trigPin, OUTPUT);
    pinMode(echoPin, INPUT);
    display.begin(SSD1306_SWITCHCAPVCC, 0x3C); //initialize with the I2C addr 0x3C (128x64)
    display.clearDisplay();
    }
    void loop() {
    float duration;
    float distance_cm;
    float distance_in;
    digitalWrite(trigPin, LOW); //PULSE ___|---|___
    delayMicroseconds(2);
    digitalWrite(trigPin, HIGH);
    delayMicroseconds(10);
    digitalWrite(trigPin, LOW);
    duration = pulseIn(echoPin, HIGH);
    distance_cm = (duration/2) / 29.1;
    distance_in = (duration/2) / 73.914;
    display.setCursor(20,0); //oled display
    display.setTextSize(1);
    display.setTextColor(WHITE);
    display.println("Distance Meter");
    display.setCursor(5,10); //oled display
    display.setTextSize(1);
    display.setTextColor(WHITE);
    display.println(distance_cm);
    display.setCursor(100,10);
    display.setTextSize(1);
    display.println("cm");
    display.setCursor(5,20); //oled display
    display.setTextSize(1);
    display.setTextColor(WHITE);
    display.println(distance_in);
    display.setCursor(100,20);
    display.setTextSize(1);
    display.println("in");
    display.display();
    delay(500);
    display.clearDisplay();
    Serial.println(distance_cm);
    Serial.println(distance_in);
    }

    • @akshayprabhu8725
      @akshayprabhu8725 8 หลายเดือนก่อน

      Thank you bro it helped me 👍🙏