Это видео недоступно.
Сожалеем об этом.

Control servo motor with ultrasonic sensor and arduino

Поделиться
HTML-код
  • Опубликовано: 4 авг 2020
  • code link
    drive.google.c...

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

  • @nomanashraf3875
    @nomanashraf3875 3 года назад +6

    at last, I found a good working one, JazakAllah Khair.

    • @hi-techelectronics5118
      @hi-techelectronics5118  3 года назад

      Shukreya...❤❤

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

      @@hi-techelectronics5118 can you make a code and circuit diagram for inductive proximity sensor controlling a servo motor?

    • @hi-techelectronics5118
      @hi-techelectronics5118  2 года назад

      @@krizzy1502 kindly mention exact sensor

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

      @@hi-techelectronics5118 hy sir please help me project in not work

    • @hi-techelectronics5118
      @hi-techelectronics5118  Год назад

      @@captain_kanu whatsap me

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

    finnally a clear proper tutorial with link to code given. Thankyou!

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

      Hi can you give me the code? It is already unsupported in the link😭

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

      Please sand you send the code link it is corroupted

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

    Thank you soooo much. The code of other videos did not work but in yours it worked!

  • @chrischillbilly
    @chrischillbilly 2 года назад +2

    Question - can a servo motor like this run straight off a 9V battery via Arduino or would this burn the motor immediately if no resistance is used? If resistance is necessary, how much? Thanks!

    • @hi-techelectronics5118
      @hi-techelectronics5118  2 года назад +1

      If you give 9 volt directly to servo it will damage but you can give 9v to arduino than arduino to servo because arduino have voltage regular..if you want to run servo with 9v than use voltage regulator lm7805 or a buck converter..instead of resisitor

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

      @@hi-techelectronics5118 awesome thanks so Much!!

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

    I have an SG90 servo motor, and it doesn't work with the code you provided. What change have i gotta do?

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

    Thanku for this video keep working, 👍👍

  • @nettrikan6333
    @nettrikan6333 2 года назад +2

    bro... dont we need a battery to power the circuit?? don't we need battery to power the aurdino...
    once the program is uploaded in the aurdino, should i take my laptop to school to show it working or else just the aurdino with the circuit. please help...sorry I'm a starter. studying in school. any help will be valuable.. thanks

    • @hi-techelectronics5118
      @hi-techelectronics5118  2 года назад +1

      Yes 9 volt battery can be added ...it works fine with laptop ..but if you cant bring laptop to school you can also connect the cable with power bank...

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

      @@hi-techelectronics5118 bro thank you very much. God bless you bro.... helped me a lot

    • @hi-techelectronics5118
      @hi-techelectronics5118  2 года назад +1

      @@nettrikan6333 welcome

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

    hello, I'm using MG996R Servo motor, why is it keep on spinning? does my servo motor has a problem?

    • @hi-techelectronics5118
      @hi-techelectronics5118  3 года назад

      Kindly check the connectivity in signal wire... Or replace signal wire...

  • @fishmage5828
    @fishmage5828 2 месяца назад +1

    Can you help me somehow if I want to also connect i2c oled screen to it?

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

    what if i use different type of servo motor? MG995 360 Degree rotation. Is the code is the same or i need to change a bit?

  • @GauravSingh-tv9bp
    @GauravSingh-tv9bp 2 года назад +1

    Thanks bro I was struggling to find it thank you so much 🎉🎉

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

    hi im just want to ask you...can you show me how to make a simulation using a proteus

  • @AbdulKadir2106
    @AbdulKadir2106 4 года назад +2

    WOW!!!!
    Awesome😀

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

    dude, thanks so much!! Awesome!

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

    Can you help i need the motor spin with the sensor , but when I put off my hand the motor stays there and when I put mi hand the motor spins again

    • @hi-techelectronics5118
      @hi-techelectronics5118  3 года назад

      What do you mean you want to rotate it 360 degree or something else

    • @germanhinojosa9777
      @germanhinojosa9777 3 года назад

      @@hi-techelectronics5118what I mean is I want the servo make a spin any time I put my hand in the same way , and never spin the other way

    • @hi-techelectronics5118
      @hi-techelectronics5118  3 года назад

      @@germanhinojosa9777 you mean if it move 0 angle to 90 angle it should not come zero next time it should move 90 to 180 degree and so on..?

    • @germanhinojosa9777
      @germanhinojosa9777 3 года назад

      @@hi-techelectronics5118 yesss

    • @gharamhoshiyeh5563
      @gharamhoshiyeh5563 3 года назад

      Can you help me in a project if you can send me something that help me in this project, please i really need help

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

    how would I be able to integrate a buzzer as well ?

    • @hi-techelectronics5118
      @hi-techelectronics5118  2 года назад

      Its easy just define a pin and place buzzer at that pin...and after servo motor command give a command digitalpin high..

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

    hi the orange in the yellow cable that is in the breadboard(twice) do we add that and how?

    • @hi-techelectronics5118
      @hi-techelectronics5118  2 года назад

      Yes one for the sensor and otherone for the servo

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

      @@hi-techelectronics5118 no your not understanding my question. the wires that are flat on the board. you didnt show them being installed so we have no idea where they came from and how were they installed. i have not seen that type of install before. is it soldered in there or? the video doesnt show anything about it

    • @hi-techelectronics5118
      @hi-techelectronics5118  2 года назад

      @@carlamannon4974 ok got it...yes these wires are just jumper wires ..Red for +5v and yellow for the ground... We have to give the voltages to both sensor and the servo motor...and these wires are not soldered just like that as we put jumper wires

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

      @@hi-techelectronics5118 no i am not sure how to be more specific. The wires i am talking about(flat on the breadboard) are not inserted in the board in the video. What and how do i put those wires there? you dont talk about them in the video at all. I dont mean speech. I mean you dont insert them or write text on the video to explain their presence. Do i use jumper wires in their place or is it something else? i want to know as i am beginner in many ways. i havent seen them flat like that. i know the usual jumper wires as i have gone to arduino workshops but havent done anything with servo motors before. so its the wires that are flat on the breadboard. btw what breadboard do i need. i did have one but somehow i lost it. i see the one you have in the video is longer than the one i have. thought i would get one from aliexpress

    • @hi-techelectronics5118
      @hi-techelectronics5118  2 года назад

      @@carlamannon4974 kindly whatsap me i will explain you each and every thing...

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

    i want to work it under 20cm and higher 75cm
    so what should i write in the code?
    plz help me

    • @hi-techelectronics5118
      @hi-techelectronics5118  2 года назад

      For 20 cm just change sensor range 10 to 20..for 75 copy paste same logic and change distance >75

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

    Broooooo thanks u save my project

  • @krizzy1502
    @krizzy1502 2 года назад +2

    can you make a code and circuit diagram for inductive proximity sensor controlling a servo motor?

  • @user-xg4hd9nk6p
    @user-xg4hd9nk6p 5 месяцев назад +1

    Hi, can u give the code just in text like word plz?

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

    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

    • @hi-techelectronics5118
      @hi-techelectronics5118  3 года назад

      Decrease the delay time..

    • @PranayBawne007
      @PranayBawne007 3 года назад

      @@hi-techelectronics5118 no it's not working as per requirement..... I want that as soon as i remove the hand from the ultrasonic sensor the servo motor should stop at the exact position where it is.... So if u have any idea please help brother

    • @hi-techelectronics5118
      @hi-techelectronics5118  3 года назад

      @@PranayBawne007 you want to stop servo at 90 degree angle..?

    • @hi-techelectronics5118
      @hi-techelectronics5118  3 года назад

      @@PranayBawne007 or you want when you putt hand front of sensor it goes to 90 and when you remove hand it comes.back to zero but quickly..?

    • @PranayBawne007
      @PranayBawne007 3 года назад

      @@hi-techelectronics5118 no.... It should stop at the exact angle when i remove the hand that if i the angle was at around 33 degree then after removing hand it should stop there itself not at 90 or 0degree

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

    Please can you send me the codes with the added buzzer?

  • @ardaus_
    @ardaus_ 7 месяцев назад

    i want ti add one more servo motor the same circuit, do i need to add another servo to the same circuit and one more pin do i need to put what pin number ?🙏🙏

  • @twinkleborse5697
    @twinkleborse5697 4 месяца назад +1

    Hey can uh give me a code it's unable to open now

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

    i want to add buzzer to it how can i?

  • @ninaazman9601
    @ninaazman9601 4 года назад

    I have a question.. Will the code be the same if i use arduinodroid?? Or i must use the same software to use the same code???

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

    Nice work, trying to use it in a project im working on now, which part of the code would I change to change, The speed and how for the motor spins

    • @hi-techelectronics5118
      @hi-techelectronics5118  2 года назад

      Its a servo motor it can not spin...and speed is fixed...so you have to use stepper motor for spin and speed

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

      @@hi-techelectronics5118 ah ok thanks, i want to use this servo in my project so how would i make it move for longer, at the moment its goes one way for a second when triggered then back for a second, i would like it to go for 4 or 5 seconds, thanks for your help, much apprecatied

    • @hi-techelectronics5118
      @hi-techelectronics5118  2 года назад

      @@GsWorkshop91 y increase delay value if you want to incrase time 1000 meana 1 second...

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

      @@hi-techelectronics5118 thats for the time inbetween the movements yeah? i want the servo to move futher

    • @hi-techelectronics5118
      @hi-techelectronics5118  2 года назад

      @@GsWorkshop91 sorry this servo motor only can move between 0 to 180 degree

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

    Hi! Can you give me the code it’s already unsupported in the link😭

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

    Bhai using ultrasonic control the +serovo+buzzer+led can you do it

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

    Man i need this code. The link in the description has expired

  • @vince_placido
    @vince_placido 8 месяцев назад +1

    Hey wat battery can i conect with it

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

    Bro the code is working properly but when I conect the arduino board with 9v battery it cant run.please help🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏😭🙏🙏🙏😭😭

    • @hi-techelectronics5118
      @hi-techelectronics5118  3 года назад

      Maybe the voltage regulator of arduino is damage

    • @crazytech3833
      @crazytech3833 3 года назад

      @@hi-techelectronics5118 bro!
      But when I am connect led and upload blinking code using battery it work properly but your project can't run.
      So what can I do??m🙏🙏🙏

    • @hi-techelectronics5118
      @hi-techelectronics5118  3 года назад +1

      @@crazytech3833 connect 9v adapter and than check..

    • @crazytech3833
      @crazytech3833 3 года назад

      @@hi-techelectronics5118 is the problem solve if I change the coding??

    • @hi-techelectronics5118
      @hi-techelectronics5118  3 года назад +1

      @@crazytech3833 ok go and change

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

    someone pls answer this: what does the servo motor serve as a function like what does it do????

    • @hi-techelectronics5118
      @hi-techelectronics5118  2 года назад

      Basically servo motor have high torque as compared to other dc motors...but you can rotate it only 0 to 180 degree ..so in any application where moment required between these angle with high torque servo can be use

  • @ardaus_
    @ardaus_ 7 месяцев назад +1

    unfortunately I use the SRF 05 model sensor, how to connect one more pin? because the sensor I bought is a 5-pin model, please explain😢🙏🏻🙏🏻🙏🏻🙏🏻

    • @hi-techelectronics5118
      @hi-techelectronics5118  7 месяцев назад

      Don't use 5th pin..use same code and diagram it will work fine..

    • @ardaus_
      @ardaus_ 7 месяцев назад

      I didn't connect any of the "out" pins but it still doesn't work, the servo motor only acts 4 times in a long period of time but the sensor doesn't detect when I approach it😢🙏🏻🙏🏻🙏🏻🙏🏻

    • @hi-techelectronics5118
      @hi-techelectronics5118  7 месяцев назад +1

      @@ardaus_ try to purchase Sr 04 .it is very cheap. Maybe you have problem in sensor

    • @ardaus_
      @ardaus_ 7 месяцев назад +1

      @@hi-techelectronics5118 thanks i try it

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

    How can I slow down the speed of the servo motor?

    • @hi-techelectronics5118
      @hi-techelectronics5118  3 года назад +1

      Tilutorials are avalible on youtube... If you find difficulty whatsap me...

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

      You can find the answer here ruclips.net/video/xyOQ4J4BroE/видео.html

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

    what else can we connect on the motor

    • @hi-techelectronics5118
      @hi-techelectronics5118  3 года назад +1

      It's up to you what you can make..like door opening system...automatic hand sanitizer...car parking system etc

  • @haziqfadzli5874
    @haziqfadzli5874 11 месяцев назад +1

    why it didnt work to me...

  • @user-ex9eq1uh3p
    @user-ex9eq1uh3p 7 месяцев назад +1

    why the files can't open

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

    Thank you

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

    Do you know about tiva microcontroller
    And control technique of servo using ultrasonics sensor

  • @kattalakshmidevi2637
    @kattalakshmidevi2637 8 месяцев назад

    Thanks bro

  • @nihalzahran9319
    @nihalzahran9319 4 года назад

    If I serial monitor it shows correct distance but servo is not turning

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

    Bro how to add 3 more motors in this pls tell running late

  • @marcoant_xdd
    @marcoant_xdd Год назад +1

    vientos

  • @NaveenKumar-rm2ws
    @NaveenKumar-rm2ws 3 года назад +1

    Bro I need to do it nano board how can I proceed?

    • @hi-techelectronics5118
      @hi-techelectronics5118  3 года назад +1

      Just select arduino nano while uploading code ..program and connections will be same

    • @NaveenKumar-rm2ws
      @NaveenKumar-rm2ws 3 года назад

      @@hi-techelectronics5118 ok I will it bro

    • @NaveenKumar-rm2ws
      @NaveenKumar-rm2ws 3 года назад

      @@hi-techelectronics5118 I should give the connection trigg ech and servo pin in which side in digital or Analog thats confusion

    • @hi-techelectronics5118
      @hi-techelectronics5118  3 года назад

      @@NaveenKumar-rm2ws digital side ....

    • @hi-techelectronics5118
      @hi-techelectronics5118  3 года назад

      @@NaveenKumar-rm2ws you can see clearly in video i have connected wires on digital line

  • @shriyapatil5187
    @shriyapatil5187 Год назад +1

    Please give me the code file it's not working 🥺

  • @user-le6ko2wo2r
    @user-le6ko2wo2r 2 дня назад

    Merci sa marche

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

    wheres the code ??

  • @watchmovies6088
    @watchmovies6088 4 года назад

    Murshad ❤

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

    ty bro

  • @captain_kanu
    @captain_kanu Год назад +1

    Hy

  • @ameer.abuslman4734
    @ameer.abuslman4734 Год назад

    Thank you (;

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

    Code is not open

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

    hola .where is the code?

  • @rahmannoori6572
    @rahmannoori6572 4 года назад +1

    bro nice video but can you give me a digram for this

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

    Bhai

  • @omsingh1665
    @omsingh1665 3 года назад

    Code is not open please give me solution 🙏🙏🙏

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

    Arduino: 1.8.9 Hourly Build 2019/01/24 07:33 (Windows 7), Board: "Arduino/Genuino Uno"
    Sketch uses 4376 bytes (13%) of program storage space. Maximum is 32256 bytes.
    Global variables use 291 bytes (14%) of dynamic memory, leaving 1757 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=0x5f
    avrdude: stk500_recv(): programmer is not responding
    avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x5f
    avrdude: stk500_recv(): programmer is not responding
    avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x5f
    avrdude: stk500_recv(): programmer is not responding
    avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x5f
    avrdude: stk500_recv(): programmer is not responding
    avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x5f
    avrdude: stk500_recv(): programmer is not responding
    avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x5f
    avrdude: stk500_recv(): programmer is not responding
    avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x5f
    avrdude: stk500_recv(): programmer is not responding
    avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x5f
    avrdude: stk500_recv(): programmer is not responding
    avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x5f
    avrdude: stk500_recv(): programmer is not responding
    avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x5f
    Problem uploading to board. See www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.
    This report would have more information with
    "Show verbose output during compilation"
    option enabled in File -> Preferences.

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

      whate is is problam bro plz help me plz

    • @hi-techelectronics5118
      @hi-techelectronics5118  3 года назад +1

      Can u whatsap me video of problem..?

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

      @@hi-techelectronics5118 no bro its not your problam so how to fix bro

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

      @@hi-techelectronics5118 bro youhave telegram orinstagram plz

    • @hi-techelectronics5118
      @hi-techelectronics5118  3 года назад +1

      Yes i have instagram

  • @nihalzahran9319
    @nihalzahran9319 4 года назад

    Servo motor is not turning

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

    Please give the code

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

    Bro daha detay versen

  • @justfold9269
    @justfold9269 Год назад +2

    bot eeee

  • @vaibhavkanade3240
    @vaibhavkanade3240 3 года назад

    Plz sir send me the code and it's library..plz 🙏🙏🙏

    • @hi-techelectronics5118
      @hi-techelectronics5118  3 года назад

      Code is givenbin the link...open link from laptop

    • @vaibhavkanade3240
      @vaibhavkanade3240 3 года назад

      @@hi-techelectronics5118 bt sir I am not having laptop 😔😔

    • @hi-techelectronics5118
      @hi-techelectronics5118  3 года назад

      @@vaibhavkanade3240the code will not open in mobile...so how you will upload the code in arduino.....?

    • @vaibhavkanade3240
      @vaibhavkanade3240 3 года назад

      @@hi-techelectronics5118 using Arduino ide software in mobile

    • @vaibhavkanade3240
      @vaibhavkanade3240 3 года назад

      @@hi-techelectronics5118 I have uploaded many codes using that app

  • @sonalshah5788
    @sonalshah5788 3 года назад

    Can you paste code in description box not its link the whole code

    • @hi-techelectronics5118
      @hi-techelectronics5118  3 года назад

      Now i do not have the code in laptop....just clicknon link you will get ino code file...

    • @hi-techelectronics5118
      @hi-techelectronics5118  3 года назад

      Whatsap me i will send u file there after downloading from link...if you are not getting this from link...

    • @sonalshah5788
      @sonalshah5788 3 года назад

      @@hi-techelectronics5118 it shows me that this file format is not supported

    • @sonalshah5788
      @sonalshah5788 3 года назад

      What's your number on which i should WhatsApp you

    • @hi-techelectronics5118
      @hi-techelectronics5118  3 года назад

      Check cover page of channel

  • @nihalzahran9319
    @nihalzahran9319 4 года назад

    Hi bro