How to control servo motor with using ultrasonic sensor and aurdino uno

แชร์
ฝัง
  • เผยแพร่เมื่อ 6 ธ.ค. 2020
  • 1) ultrasonic sensor connection
    Trigger + 9
    Eco + 8
    Vcc + 5v
    GND + GND
    2)Servo motor
    Signal + 7
    Vcc + 3.3v
    GND + GND
    CODE:docs.google.com/document/d/1q...

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

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

    OMGG TQ BROO U SAFE MY LIFE TQ TQ SO MUSCH😭😭I'VE BEEN SEARCHING THIS ANYWHERE BUT I CANT FIND IT

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

    thanks a lot it helped me to finish my project
    👍👍👍👍👍

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

    Thank you it helps me a lot, this is the one that Im looking for to finish my project..this is the only one that meets my project

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

    Thanks dude, you help me a lot :D

  • @m.mounikasai1752
    @m.mounikasai1752 3 ปีที่แล้ว +2

    U gave very good explanation bro. It helped me a lot.. Tnx bro

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

    Love You brother Thank you so much ❤❤❤

  • @stev3014
    @stev3014 2 หลายเดือนก่อน +1

    Thanks you for help me😘

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

    Very good,..bro 👌👌👌...

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

    Thanks for sharing the code.It helped me a lot with my project.

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

    thanks
    you are the best

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

    love from sri lanka

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

    Thank you very much bro

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

    Thanks bro❤️😊

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

    Bhai such mai kaam krta hai ye Thanks bto

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

    thank u very much

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

    Thanks so much
    This really helped me because I couldn't connect, it's well understood. Please can you do add a gsm, gps and Lcd connection to that and post the video please I need it for my project urgently. Please I've subscribed and will be waiting for your notification

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

    Hello Sir I have one question what's the language of the code you used?

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

    Thanks 😊😊

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

    Nice tutorial, but mine didn't work out. But nice job👍👍👍

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

    Dear respected brother,
    I am beginniner to use Arduino, sir i upload built-in led blink example sketch to Arduino uno and pro mini, both are blinking well, then I upload empty sketch to clear example code, system shows message that sketch upload done 100 %, but both boards runs previously blink example code. I tried to different systems (PC, Laptop,mobile) to clean an upload new sketch, but results are same, where I mistaken i don't understand. Pls help me to solve if you interested.

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

    Very good video

  • @puisichenel8946
    @puisichenel8946 5 หลายเดือนก่อน

    Goood job

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

    Thanku

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

    Once I take my hand it’s comming reverse but I want to stop the servo motor in one side..once I showed my hand pls explain how to change the code and pin settings

  • @NURULAINUMAIRAHBINTIROSL-rk3kv
    @NURULAINUMAIRAHBINTIROSL-rk3kv 8 หลายเดือนก่อน +1

    Hi. May i ask how do i change the code to make the ultrasonic sensor stop working for a minute after a detection and then able to make another detection?

    • @mrsemow
      @mrsemow 5 หลายเดือนก่อน

      you need to use a code named "delay" that creates a pause before doing another code running so doing "delay(1000) creates an 1 second pause so type "delay(60000)" this will create a 1 minute pause good luck doing that

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

    thanks
    i liked

  • @AbdulRahman-yq9tm
    @AbdulRahman-yq9tm 2 ปีที่แล้ว

    Thanks bro

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

    thanks sir

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

    Hello sir how can we adjusy the delay of servo?

  • @andreafacinoli4716
    @andreafacinoli4716 12 วันที่ผ่านมา

    how can i make the servo motor go slower

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

    ❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤ thank you

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

    thanks

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

    When I am code add and paste it saying arduino UNO bored was not founded

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

    Thanks for the wonderful project sir,
    Please can you help us so that we can use it with battery or other power source

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

    Thanks

  • @MRDAKSHART
    @MRDAKSHART 10 หลายเดือนก่อน

    bro two sensor or two moter ko kaise use kare plzzzzz replyyyy

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

    Hi, your code always gives me an error message that says, "a function-definition is not allowed here before '{' token," and I cant fix it, can anyone help?

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

    thanks a lot man but your talking is a bit rough to understand, thanks tho
    :))

  • @munasinghedeepika7738
    @munasinghedeepika7738 10 หลายเดือนก่อน

    ❤️❤️❤️❤️❤️

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

    Meri problem solve ho gayi

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

    Servo motor to agar 180 degree rotate karna ho to code ma kya change karna padega plz.. Tell

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

      And if you can change in code then plz.. Send the code after updating it with my requirement it will be really very help full to me

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

    Can we supply the power from 9v battery

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

    hey this works fine when I keep it pluged in but when I switch to a battery it doesn't work am I missing something?

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

      I think u have to upload the code to the arduino

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

      @@clx_ramzy8723 I did. think it had to do with the battery withdraw and the 9v not having enough power

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

      @@StixUS that could also be a reason

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

      @@clx_ramzy8723 hey um so can u guys help me its not working for me i did everything but still it doesnt work

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

      @@StixUS hi plz help

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

    Hum visa hi kare par us app me parssod mag raha hai

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

    Can we replace servo motor by vibrating motor ?

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

    hello, may i know the whole code now?

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

    When i upload the code to the arduino the servo moves but when i place my hand in front of it nothing happens

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

    Bhai metal detector ka code milega ?

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

    Code kaise copy paste kre?

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

    i want to make the servo stop at the exact position as soon as i remove the hand above the Ultrasonic sensor....HOW CAN I ACHIEVE THAT ....PLEASE HELP

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

      Like when hand comes it goes it one position , then when hand taken away nothing happens, again when hand comes it goes to the other position
      Like that?

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

    Sir please mughe ultra sonic sensor +buzzer + Arduino ka video banao bhai school me le jana hai

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

      Bro aap apna contact no is e-mail par send karo fahadansari3366@gmail.com

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

    Good job

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

    Apps install nhi ho rha h

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

    Plz bhai mujhe aurdino programing sikha do 😭😭

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

    Please attach the code here

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

    Help bro

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

    Sir kam nahi Kara Raha ha

  • @S.raj3740
    @S.raj3740 3 ปีที่แล้ว

    Not working... I tried many time

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

    Mini not working

  • @Su.fyan1529
    @Su.fyan1529 4 หลายเดือนก่อน

    Bro troubleshooting a raha hai😢😢

  • @heartout-up8gm
    @heartout-up8gm ปีที่แล้ว

    It's not working sir

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

    Bhai coda de deje please 🙏

  • @AshrafKhan-ij4wd
    @AshrafKhan-ij4wd 3 ปีที่แล้ว

    Haloo

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

    Bhaiya ji connection to koi bhi kar lega apne kahi code ko explaine kiya

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

    Sir reply dijie

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

    help its not working it seas theres an error with the code this is the code;
    #include
    Servo servo1;
    int trigPin = 9;
    int echoPin = 8;
    long distance;
    long duration;
    void setup()
    {
    servo1.attach(7);
    pinMode(trigPin, OUTPUT);
    pinMode(echoPin, INPUT);// put your setup code here, to run once:
    }
    void loop()
    {
    ultra_sonic();
    servo1.write(90);
    if(distance

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

    O

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

    It shows error on upload ing

  • @SunilKumar-ze2tq
    @SunilKumar-ze2tq 5 หลายเดือนก่อน

    Pleaseehelpm

  • @MuhammadAbisOmer
    @MuhammadAbisOmer 10 หลายเดือนก่อน

    koi kam nahi karaha

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

    Nothing is working . Posting useless videos .

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

    Thank you bro

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

    Thanks a lot bro

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

    Thanks broooo