Arduino #9 - Servo Selection & Motion Control

แชร์
ฝัง
  • เผยแพร่เมื่อ 15 พ.ย. 2024

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

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

    Just discovered your channel.It has really helped me with my project. Thank you

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

    @1:07, they're called control arms. @1:54, ground is generally black or brown. center wire is always V+, usually red or orange, signal is usually white or yellow. If in doubt, search "datasheet" part number. ie 'datasheet mg995'. when vibrating on limit, back off limit till it stops vibrating, otherwise it's pulling more current than normal.

  • @TonyStark-ef6gy
    @TonyStark-ef6gy 5 ปีที่แล้ว

    Superb Tutorial

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

    Thanks man! This was my first time using one

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

    this is exactly what i'm looking for, thanks man

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

    Good sir ..coding is seen clearly ..

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

    Did you connect the black and red to a power source or a drive board?

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

    A good memory refresher! Very concise and neat. Well done!

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

    Great tutorial, quick and precise

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

    Helpful, concise and fun video. Thanks for that!

  • @ThirdPer3on
    @ThirdPer3on 7 ปีที่แล้ว +3

    Thanks, answered every question i had.

  • @IoTLearner
    @IoTLearner 6 ปีที่แล้ว

    Bro..you deserves more Subscribers

  • @krishnanshudey3831
    @krishnanshudey3831 5 ปีที่แล้ว

    Nice explanation. It will help me a lot in my future projects. Thanks you.

  • @yaminiraut4847
    @yaminiraut4847 5 ปีที่แล้ว +3

    This was really helpful. Thank you.

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

    Thank you for the video! How do I download a servo library? I am very new to this

  • @visionaryrobotics4065
    @visionaryrobotics4065 5 ปีที่แล้ว

    Nice video , what power supply did you use and do you recommend any power supply that I should use.

  • @samadkohi9166
    @samadkohi9166 5 ปีที่แล้ว

    Thanks! Nice tutorial

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

    Really helping video

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

    Thanks bro
    what is the maximum rotation angle range??

  • @kamilnevriva4897
    @kamilnevriva4897 8 ปีที่แล้ว

    Great video! It helped me very much!

  • @435iak
    @435iak 8 ปีที่แล้ว +7

    thanks m8, really helped!

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

    Thank you very much for this informative tutorial....appreciated.

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

    What software do use to code and send to the Arduino?

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

    Hi sir, what do i need to add in the code if I want to make the servo rotate in every 30 seconds?

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

    Thank you man

  • @PeteTum
    @PeteTum 7 ปีที่แล้ว

    Great video! Thanks!

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

    Well done

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

    Very good.

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

    I enjoyed watching your clip. Two observations. In some instances the information was said too quickly and it was hard to discern the terminology and applications of the commands.

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

    Thanks this helped

  • @s.sradon9782
    @s.sradon9782 4 ปีที่แล้ว

    The servo will draw a large current if it is not to sweep incrementally. This is important for certain batteries. although incremental sweeping limits the speed of the servo. The current spikes may be resolved by a capacitor circuit.

  • @zaracla
    @zaracla 7 ปีที่แล้ว

    Hi. Nice and efective video. Is there a way to connect Arduino to a R/C receiver to run de servos so Arduino would record the transmitters movement?

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

    This is awesome thx

  • @misorashi24
    @misorashi24 8 ปีที่แล้ว

    Hello. I'm new to arduino and servos. What's the best way to get familiar and get started with these?

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

    If I were to use 2 mg996r servos for this application, would I be able to utilize the v+ pin and any other numbered pins on the arduino uno,or should I use a pca9685 to accommodate the 2 servos?

  • @Lucas-dk6rv
    @Lucas-dk6rv 7 ปีที่แล้ว +1

    What arduino uno did you use?

  • @realtrickybilly
    @realtrickybilly 7 ปีที่แล้ว

    Subscribed. I am very new to electronics. Question: how to know if my Arduino can handle a motor? I have a similar Carson-model sport 500502015 CS3 Reflex racing servo. Afrotechmods said that plugging a bigger motor (anything that draws more than a few mA) would be bad for an Arduino. How can I know if it will be too much for an Arduino? I have 2 of these mentioned and 2 little blue 9G microservos. If I join all 4 for a robotic arm will that be too much?

  • @edharkins112
    @edharkins112 5 ปีที่แล้ว

    very well done..thank you!

  • @mohammedhesham6937
    @mohammedhesham6937 5 ปีที่แล้ว

    Thank you very much i’m servo pro now

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

    Very excellent tutorial. How do I control the speed at which it sweeps?

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

      itaintmebabe99 change delay(10); to smaller number ex delay(5); or just delete delay line

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

    Do you have any recommendations for really small servos? my project would involve a lot of them, and I'd prefer to have them be compact to keep the device small.

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

    very very helpfull

  • @Zach-de3dv
    @Zach-de3dv 8 ปีที่แล้ว

    How do You run servo motors from the servo 1 and 2 header stacks on the motorshield? So I cut a trace across the bottom of the motorshield so I could run external power? I am trying to test the servos using external power. There are no good examples online because everyone is running the servo directly off pin 9, like your vid.

  • @stanojiarnolsp.z.2394
    @stanojiarnolsp.z.2394 4 ปีที่แล้ว

    TAnks A LOT BRO

  • @Lava-i3g
    @Lava-i3g ปีที่แล้ว

    You can power that from Arduino?

  • @KevinNoyola
    @KevinNoyola 5 ปีที่แล้ว

    How can I replicate a hold with the servo? Like I want it to press on a touchscreen with a stylus but I wasn’t it to hold it there for 3 seconds then retract? Thanks!

  • @lakshancosta4121
    @lakshancosta4121 5 ปีที่แล้ว

    Thank it was very helpful.
    I have a servo which can turn 360. what should be the code to turn it 360 continuously?
    thanks

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

    What is the three point cable you use called

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

    hey what kind of program code did you use? i mean is that only in notepad?

    • @DhadamRobotics
      @DhadamRobotics 6 ปีที่แล้ว

      Mr Jn see th-cam.com/video/R2yRbfm8uAE/w-d-xo.html

  • @jpbkk1
    @jpbkk1 7 ปีที่แล้ว

    Great video, you should instruct your followers that 2 types of Servo exists: 360 deg CONTINUOUS AND THE OTHERS , a 360 deg continuous is NOT compatible with the kind of program you propose.thank you

    • @VladRomanov89
      @VladRomanov89  7 ปีที่แล้ว

      Good point; I haven't actually worked with continuous rotation servos on Arduino.

    • @jpbkk1
      @jpbkk1 7 ปีที่แล้ว

      frankly, I am very used to "std" servos, easy to handle, you can make a slow / known angled rotation, ie go to 95 deg@ x rpm impossible with continuous

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

    I am having a huge trouble in using sg 90 servo as the torque is not sufficient in lifting a 200 g weight vertically via a wooden arm. so does mg 995 servo has enough torque.

  • @johansmitphotography
    @johansmitphotography 5 ปีที่แล้ว

    I think the brown or black wire is ground, the middle one + and the lightest one is the siginal bus.

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

    Quick , clear and easy. Thank you.

  • @julianpa92
    @julianpa92 7 ปีที่แล้ว

    Hello! I'm working on a project, an automatic guitar tuner and I want the servo to move the guitar pegs. Do you know approx. which servo could I use? I need anyone that moves continuosly until it reaches the correct string frecuency. Very good videos!

  • @christmasdreams1
    @christmasdreams1 8 ปีที่แล้ว

    I have followed your channel for several years but have yet to see a video on how to control the speed of a servo without using a "for loop with delay" method. It seems that "servo speed" remains in the "too hard basket" because it is very hard to find videos which deal with the subject in depth. Any hope you could touch on the subject?

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

      I've worked on that offline for some time, but the limiting factor has always been the hardware. The setup you get with an inexpensive dc motor is a very crude wheel with cutouts. I'll try to put something together for this topic, but it will probably take me a few weeks.

    • @christmasdreams1
      @christmasdreams1 8 ปีที่แล้ว

      On the ARDUINO forum, there is a post on the library which I have successfully copied and tested - see my Vimeo upload here: vimeo.com/171200374. It works, is very convenient as the servos are set up in an array. The speed variable is not linear, but it is within practical limits for all but the most exacting applications- (but then, I suppose steppers are better for the really accurate uses)! Kepp up the great work! Cheers.

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

    Can you run a servo directly with a 2-Position switch like a Monolever (joystick) or is Arduino a must?

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

    quick question, i want to use a servo with the arduino to create an automated fish food dispenser, theoretically, the servo should be spinning the food container around to the opening when it's time for feeding and then spinning it back around when it's done - the container is fairly heavy, 300 grams ish, how would i attach the container to the servo without overloading it?

    • @CardZed
      @CardZed 5 ปีที่แล้ว

      I know it is old, but put two motors, and make one the reverse of the other. So it wont overload. Hope your fishes get food now :)

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

    Can the Arduino be programmed such a way that when it receives +5 volts at one of it's analog or digital ports, the servo motor turns to 60° or 90° or 120°?

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

    Can you tell me what components i will require where I want a servo motor with 180 degree rotation and where I need to change the product with which rechargeable battery and a illuminated switch or vibrator where I should know whether the motor is on or off... All these things should fit in 6 by 6 cm of area

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

    after hacking a servo futaba s3003 to turn 360° , what is the arduino programme to make the servo turn 3 time for 360° to the left and than 3 time to the right ?

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

    The servo is not stopping for the 180deg

  • @16vastraturbo
    @16vastraturbo 7 ปีที่แล้ว +1

    is it possible to program it to turn 360 but say a max of 100 times. i want to make a winch with a camera on the end but if i have only 10meters of cable i dont want it to keep spinning so the cable drops of the winch if you know what i mean????

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

    Is it servo one or servo L?

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

    thank you, this was very helpful. Does anyone know how this would work if I were trying to control a servo with an Adafruit Circuit Playground Express?

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

    I'd like to know how to program a 180 degree and stop. Then press a capasitive touch button and another 180 degree and stop. I need it for a door that opens and closes. Thanks.

  • @yashthakur4878
    @yashthakur4878 6 ปีที่แล้ว

    Worked thanks

    • @VladRomanov89
      @VladRomanov89  6 ปีที่แล้ว

      Awesome! I'm glad I was able to help you.

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

    hi i like to know if i can program this for a 10 degree max position to use this for a solar tracker application

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

    hI! I have followed your instructions and all but my servo won't turn on, is there something I need to do?

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

      You need to turn the servo arm then it turns back I set -180 to 80

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

    can i use this as a car steering..... with arduino...... when i press right it turned right and when i release it.... it back to his original position .... and it gonna be the same to left..... can arduino do that.....

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

    hi, can you tell me what is the exact Arduino controller type is? and can I control more than one servo motor on it ?

    • @VladRomanov89
      @VladRomanov89  8 ปีที่แล้ว

      Hi Fadi, the Arduino Uno uses the Atmega328P-PU microcontroller. You can definitely control more than one servo motor with it. The most I've seen with ONLY the controller, was 16.

    • @fadisaba7952
      @fadisaba7952 8 ปีที่แล้ว

      thank you for the fast respond .... it helps a lot.

  • @HieuNguyen-ei8ep
    @HieuNguyen-ei8ep 5 ปีที่แล้ว

    I have done with Servo MG996R but it only active at 180 degrees . With this servo , can we change degrees ?? 45 ,135 despite of 180 or 90 .
    Thanks

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

    i am using sm-s4315m servo motor and the coding is not working well =( what should i do

  • @miller7992
    @miller7992 6 ปีที่แล้ว

    Great video, but do u know how to turn the motor to a degree u have set and have it stop for a certain amount of time before going back to it’s starting point. I can only get it to continually rotate back and fourth.

    • @PunakiviAddikti
      @PunakiviAddikti 6 ปีที่แล้ว

      Muggers 79 You need to adjust the wait times (delay) in the code. It's in milliseconds.

    • @Aryan-dy4sr
      @Aryan-dy4sr 6 ปีที่แล้ว

      Just define this (in void loop or void setup, wherever you have typed the degrees):
      delayPeriod = (whatever your wait time is);
      then after the degree type:
      delay(delayPeriod);

  • @mechatronicsabubakar1860
    @mechatronicsabubakar1860 5 ปีที่แล้ว

    Have you ever work on servo mg945 (360° rotation)

  • @taranagnew436
    @taranagnew436 5 ปีที่แล้ว

    i want the servo to start with the attachment up and down or side to side(depending on witch way you look at the servo) and turn to the right ( so the top plastic peice is to the right) and then go back to the side to side prositon, how would i do that?

  • @Shivam-nj7eb
    @Shivam-nj7eb 6 ปีที่แล้ว +1

    you don't need motor driver for servo motor?

    • @vladromanov8380
      @vladromanov8380 6 ปีที่แล้ว

      Shivam Satyam not for these ones. The driver is incorporated into the motor.

  • @UnboxyTech
    @UnboxyTech 7 ปีที่แล้ว

    i am using a servo with rfid but after unlocking it keeps sending pwm signal to the servo and it creates a buzzing noise anyway to stop this

  • @alekrodimidecu4625
    @alekrodimidecu4625 7 ปีที่แล้ว

    one question, does servo have potentiometer inside, if so can i just hook up orange wire so i can read position and power motor externally from power suply.

  • @atharvasaney3376
    @atharvasaney3376 5 ปีที่แล้ว

    is there a motor that comes to its initial position after power supply is shut off ??

  • @misorashi24
    @misorashi24 8 ปีที่แล้ว

    And what are the tools & materials do I need? I want to start with a mini arduino (cheap) if there is one.

  • @divyanshkhare7901
    @divyanshkhare7901 7 ปีที่แล้ว +8

    How many servos can i attach to my arduino uno board?

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

    Can you please give me the code to turn MG996R Servo motor 360 degrees clock wise and anticlock wise on a schedule time . Thanks

  • @jpbkk1
    @jpbkk1 7 ปีที่แล้ว

    can we get in touch privately please ?

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

    SO I HAVE A QUEWSTION. MY SERVO GOES CLOCKWISE HOW WOULD I DO COUNTER CLOCKWISE? WOULD I HAVE TO PROGRAM IT IN THE NEGETIVES?

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

    Can i control my servo in analog side?

  • @WatchMe24_7
    @WatchMe24_7 5 ปีที่แล้ว

    Is it possible to get input from them

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

    thankyou so much!

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

    can i control hc sr04 ultrosonic sensor and servo motor together using Arduino Mega 2560 for my project

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

    hey how did you do that?? in opposite movement of servo. :)

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

      You write the angle you want it to go to.

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

    Hello,
    Excuse me, how would the code look like if i hade 6 pcs of MG 996R servos with a arduino joystic for turn 6 pcs of wheels`?

    • @user-pf3vz3rd9h
      @user-pf3vz3rd9h 5 ปีที่แล้ว

      did you get the answer to this? please respond

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

    How would I use a servo connected with an audrino and using one channel RF control and transmitter ?

  • @mohanprasath6216
    @mohanprasath6216 8 ปีที่แล้ว

    can I use servo to rotate a heavy object say around 20kg as I need to control the position and speed precisely or using more than 1 servo

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

    Pls help I have a project to be done but while checking my servos if I insert it in the arduino uno
    the board gets off

    • @DhadamRobotics
      @DhadamRobotics 6 ปีที่แล้ว

      Santhosh V th-cam.com/video/R2yRbfm8uAE/w-d-xo.html

  • @edgar_ssi
    @edgar_ssi 6 ปีที่แล้ว

    I want to implement an RFID reader on this example.. Any guides?

  • @mominfahim
    @mominfahim 8 ปีที่แล้ว

    1 is to move up and down
    2 is for gripping

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

    how can I connect the servo motor to gripper ?

  • @saikumarreddysirigiri772
    @saikumarreddysirigiri772 5 ปีที่แล้ว

    there are some holes on the rotating pieces. Is that necessary to make holes on them??

    • @CardZed
      @CardZed 5 ปีที่แล้ว

      Nope, its just because of the 3d printing process.

  • @AjinKs-qn1of
    @AjinKs-qn1of 4 ปีที่แล้ว

    Can please share the code for 180 degree shown in this vedio

  • @Златамассажист
    @Златамассажист 6 ปีที่แล้ว

    Surprisingly, the servo works it is powerful, does not the Arlooino burn, I thought that such servos should be nurturing at least 5 in the power supply separately, is not it?

  • @팔도강산-m9u
    @팔도강산-m9u 4 ปีที่แล้ว

    thank you for your helping! but why does mine slide without suddenly stopping when it changes direction?

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

      I have the same problem could you please share the solution with me if you've found it