Ultrasonic sensor project with buzzer and arduino

แชร์
ฝัง
  • เผยแพร่เมื่อ 28 มิ.ย. 2019
  • Hi friends ..
    Ultrasonic sensor project with buzzer and arduino
    By -- Be innovative with Prasad
    Like - Share - Subscribe our channel
    .
    .
    Circuit Diagram -
    beinnovativewithprasad.blogsp...
    ..
    .
    .Arduino Code ---
    beinnovativewithprasad.blogsp...
    .. Please support our channel ...
    thanks for watching ...

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

  • @juggernaut2338
    @juggernaut2338 3 ปีที่แล้ว +22

    int trigPin = 2;
    int echoPin = 3;
    int buzzer = 13;
    void setup() {
    Serial.begin (9600);
    pinMode(trigPin, OUTPUT);
    pinMode(echoPin, INPUT);
    pinMode(buzzer, OUTPUT);
    }
    void loop() {

    long duration, distance;
    digitalWrite(trigPin, LOW);
    delayMicroseconds(2);
    digitalWrite(trigPin, HIGH);
    delayMicroseconds(10);
    digitalWrite(trigPin, LOW);
    duration = pulseIn(echoPin, HIGH);
    distance = (duration / 2) / 29.1;

    if (distance

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

      Can I know the different?

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

    Thanks for giving this idea for my science exhibition

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

    Nice bro thanks bro👌👌👍👍

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

    Hello. There are many more than the example you have shown. I wish you could make an example where the intensity of the sound increases as you get closer or the number of leds that light up.

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

    It's working great 👍👍👍

  • @user-zb7is4yt4n
    @user-zb7is4yt4n หลายเดือนก่อน

    Thank you bro help us lot🙏🙏🙏

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

    hello brother thank you very much

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

    Thank you very much ❤️❤️

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

    Thank You Sir

  • @raghavgoyal6426
    @raghavgoyal6426 2 ปีที่แล้ว +5

    Thanks a lot, it actually worked, I followed other tutorials but they did not work :>

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

    thanks for helping me with an idea for my science fare

    • @Divy_Raval0079
      @Divy_Raval0079 9 หลายเดือนก่อน +1

      Same to you bro I study in Vidyamandir

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

    I'm doing the practice right now

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

    which arduino , ultrasonic sensor u have used please give link

  • @MZ-ri9dc
    @MZ-ri9dc 3 ปีที่แล้ว

    ❤️❤️❤️❤️❤️

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

    Nice video

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

    Thanks Bhai 👌👌🖕🥺🥺

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

    Can we use dc motor instead of buzzer

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

    Sir any speech voice is possible instead of tuen

  • @user-gj3er9pf1c
    @user-gj3er9pf1c 6 หลายเดือนก่อน

    how do you set a longer distance alarm trigger like 2 or 3 meters away?

  • @darshan9140
    @darshan9140 2 หลายเดือนก่อน

    Thanks it works😅

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

    keren bgt bossss

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

    Excuse me bro if we implement this project as a final year project so in a Thesis what will we write in a problem statement section ?

  • @vivekbaurai
    @vivekbaurai 9 หลายเดือนก่อน

    Bhaiya moj karadi apne meri gamd le lo

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

    how to do it with buzzer module

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

    Sir inke connection ke liye ham kis library ko download kare

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

    Hey Bro, I Have 3 Pin Buzzer Sensor GND, I/O, VCC.... So which connection should I do...?

  • @bawwander1015
    @bawwander1015 9 หลายเดือนก่อน

    Can i give 9volt power supply?

  • @chandraprakashsingh...9282
    @chandraprakashsingh...9282 3 ปีที่แล้ว

    how to add servo motor to it please make a video on this if possible we will be happy

  • @FreeFire-ui7oo
    @FreeFire-ui7oo ปีที่แล้ว

    Bro i sub your channel because so far i could see only this vedio with programming code

    • @SplendidCadDesigner
      @SplendidCadDesigner 7 หลายเดือนก่อน

      Its an awesome project but the after project connection he made there is noe visual how he has connected the leds. My buzzer beeps alll the time I dont understand what mistake I did.

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

    Can I use code for JSN-SR04T Waterproof Ultrasonic Obstacle Sensor Module with Probe

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

    what is the name of that buzzer?

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

    Can we use vibration motor instead of buzzer

  • @aayushikabharti9512
    @aayushikabharti9512 7 หลายเดือนก่อน

    What will be the terminal address for lights???

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

    How to avail d item

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

    Can we adjust safe distance up to 20 meters

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

      no the limit of sr04 sensors is 10 metres so only that much

    • @SplendidCadDesigner
      @SplendidCadDesigner 7 หลายเดือนก่อน

      No bro prasad said its 100 in centimetres.@@nuclearboy3859

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

    The codes given me lot of errors what do i do

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

    Battery not conted

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

    I couldn't figure it out. I have a different buzzer with 3 pins. Could you make one based on that?

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

    HOW TO INCREASE SAFE DISTANCE

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

      @Prasad Kedari I HAVE MAKE THIS PROJECTS AS A Social Distancing Device please see my video on my youtube channel Thanks for code Prasad Kedari
      video link th-cam.com/video/a253oHczXoA/w-d-xo.html

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

    Where can we buy the speaker at?

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

    um the code

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

    Code send

  • @manjuyadav-ws4xd
    @manjuyadav-ws4xd 5 หลายเดือนก่อน

    My buzzer got exploded😅

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

    Bro code me error arha hai serial was not declared esha

    • @SplendidCadDesigner
      @SplendidCadDesigner 7 หลายเดือนก่อน

      Serial.begin(9600); Put this in setup. Then it want show any error.

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

    Where is the code?

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

    My buzzers are sounding like tik tik tik🤕

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

    pls pls also show how u uploaded the code its not working in mine its showing Arduino: 1.8.15 (Windows 7), Board: "Arduino Uno"
    Sketch uses 3046 bytes (9%) of program storage space. Maximum is 32256 bytes.
    Global variables use 200 bytes (9%) of dynamic memory, leaving 1848 bytes for local variables. Maximum is 2048 bytes.
    avrdude: stk500_recv(): programmer is not responding
    avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x34
    avrdude: stk500_recv(): programmer is not responding
    avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x34
    avrdude: stk500_recv(): programmer is not responding
    avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x34
    avrdude: stk500_recv(): programmer is not responding
    avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x34
    avrdude: stk500_recv(): programmer is not responding
    avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x34
    avrdude: stk500_recv(): programmer is not responding
    avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x34
    avrdude: stk500_recv(): programmer is not responding
    avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x34
    avrdude: stk500_recv(): programmer is not responding
    avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x34
    avrdude: stk500_recv(): programmer is not responding
    avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x34
    avrdude: stk500_recv(): programmer is not responding
    avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x34
    Problem uploading to board. See support.arduino.cc/hc/en-us/sections/360003198300 for suggestions.
    This report would have more information with
    "Show verbose output during compilation"
    option enabled in File -> Preferences.

    • @SplendidCadDesigner
      @SplendidCadDesigner 7 หลายเดือนก่อน

      Its Avrdude causing this try to use version of ide 2.2.1

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

    It doesn't work 😞😞😞😞🙂😞🙂🙂

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

    Fack video

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

      ​@@prasadk6651 bro I am not using led so I want to change program according to me