Multiple Servo Control with Potentiometers and Arduino

แชร์
ฝัง
  • เผยแพร่เมื่อ 19 ม.ค. 2025

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

  • @nx99
    @nx99 8 ปีที่แล้ว +3

    Very clear. Nice background music. The lack of narration frees the viewer up to think things through while watching. I also like that you typed each block of code rather than copy/paste/change variable (

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

    How can you connect 9V battery as a power source for servos, where the operating voltage for micro servos is 4.8v - 5v?

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

      I have the same concern I am afraid I am going to damage the servo by doing this.

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

      Hello
      Can i work 9v battary like this ?
      Does it safe for sg90 servo motors ?

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

      just use your arduino 5v output

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

      @@victorvanmassenhove4825 the pro league
      With that is that they all get controlled by the same potentiometer

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

      Dc to dc step down converter 9v step down to 4.5v - 5v

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

    thanks for giving every data like codes and diagrams ( with every information we will learn everything about our children's great future and our india so thanks again)

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

    My first attempt resulted in servo twitching. Then I realised you had connected the servo positives to the same rail as the pots but didn't connect the Arduino VCC. So I changed the servo positives and the positive from the external battery to a separate positive rail, kept the battery and pots ground in the same ground as the pots and connected the Arduino VCC to the pots positive rail.
    This worked a treat. Now everything works smoothly. If anybody is interested in a Fritzing diagram, I'll post one.

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

      Malcolm Palmer hello sir. can i have your code. i have zero knowledge of program codes. tnx

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

      There are plenty of Arduino Tutorials on the web including those in Arduino's actual website. In this particular case you will see the Coding in the video at position 5:37. Also you will find how to code potentiometers in the File, Examples in the Arduino menu. You will learn a lot quicker by buying a good Arduino book instead of copying codes. And Experiement ........

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

      Malcolm Palmer I am interested

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

      Hi
      I m having the same problem. My servos are twitching and the light on the arduino is blinking. Please tell me what I should do.

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

      Hello. can you give the fritzing diagram?? thank you

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

    THANKS FOR THE VID ! I FOLLOWED YOUR VID STEP BY STEP AND I GOT MY BATTERY PACK TO WORK !

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

    Thx you this helped out a lot I was making a robot arm for a project and i have to present in 2 days but i could not figure out how to do until i saw this thx again

  • @crisp4085
    @crisp4085 5 ปีที่แล้ว +20

    where is the code?!

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

    Hello mert remember me?? It's a very very and very gud idea that you are explaining the code in the video. Now to be frank I just love your job keep it up

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

    Can I use 6v with 4 aa batteries for external power?

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

    hi can you make this setup but with a record feature? so basiclly the arduinno can record the movement and play it back? i need the tutorial because im making a robot arm :) would be helpfull if you can help

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

      It sucks there are no videos out there on how to make a robot arm that mimics your arm movemnts Reeee

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

    I am your big fan dude. You explain things so well. Just an opinion........it will be good if you give link to download code in the description. You may create a blog..........

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

      Mert Arduino Tutorial & Projects THANK YOU

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

    love you bro
    we had done this project

  • @rin-101
    @rin-101 4 ปีที่แล้ว +1

    good choice on background music :)

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

    Excellent. Can you extend it to 16 servos using Arduino servo shield 2+16 with one joystick to record the position of each servo and play automatically thereafter

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

      i connected three servos but one of them not working and other two showing variation in potentiometer values. Can u pls guide me

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

    Great tutorial. However, I don't get to work with my "MeArm" robotic arm. My lecturer had I quick look at it, tested all the four potentiometers and said that there is no enough current for the motors... Im using the same mini servos(tower 9g), 10k pot, arduino Uno and your code. Hope to hear from you! cheers

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

      (soryy im 6 years late)
      anyways if your still having trouble..
      u can try to use an external battery supply, maybe dont use ur arduino's 5v u could instead connect a 9v battery to the railings in the breaboard that will supply servo and potentiometer. for arduino u can use the same as before. hope this helps!!

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

      @@kenichi5717 wow sige chat salamat

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

    Amazing.Simple base for robotic arm.

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

    ?is it better to control servos with potentiometer or joystick thumb
    also i couldnt write a code to control servo with joystick the same way you control it with pot
    cuz when the joystick back to base the servo too . i hope you get what i mean

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

    Hello, My servo motors twitch multiple times per second when I use this exact same code. I notice yours do not. Why could this be? Thank you!

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

      Jake Plank I have the same problem dude idk what it is. It’s most likely the power sources current output

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

      maybe your potentiometer really loose attachment with board

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

      Alter the delay value to less than 10
      and upload

    • @aiversity.official
      @aiversity.official 4 ปีที่แล้ว

      Add a 4700 uf 16v capacitor between the positive and negative railing
      But also use a resistor as the capacitor voltage is high

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

    Does the potentiometer have to be 10k? Does the 5k potentiometer go?

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

    6:40 The servo value numbers didn't turn green. need help.

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

    Hello, can i ask in this vedio how can i apply pneumatic or hydronic with out using servo in Arduino instead using servo i use pneumatic?

  • @megacon123
    @megacon123 16 วันที่ผ่านมา

    can i use 100k potenciomter

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

    Does the Potentiometer must need 10k ?
    I use 1k and follow your step to build this example...but it doesn't work.

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

    Love you bro We made this

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

    Does this work without being connected to a laptop?

  • @elsasso913
    @elsasso913 14 วันที่ผ่านมา

    Can I use 5 servo?

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

    Hello, have you a code to move servo with midi note ? Thank you

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

    can i connect servos by 9 volt battery directly or use resistor between vcc

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

    I discovered but a little late your video thank you for sharing your knowledge. I am going to redo this assembly. But I would also like to be able to memorize the positions to make a sort of path to redo movements at will. Have you seen any idea of the code to do ? I obviously look but nothing works correctly ? Fiendly. Sy.

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

    can't use charger phone 5v 2A for multiple servo? and to turn on arduino with a 5v 2A phone charger GND and VCC charger phones are connected to the Vin and GND pins on Arduino Uno. Does it work?

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

    Good work . 👍👍

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

    I've done the circuit & code correctly but it doesn't work. just one servomotor shakes and the others stay still

  • @JaspreetSingh-xj1jy
    @JaspreetSingh-xj1jy 7 ปีที่แล้ว +1

    hello, can we control the speed of the servos if we can how please

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

    Why moter get vibration While running

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

    Hi
    I tested this set up i while ago, and it worked perfectly. I was working on something else and now im back into my project that i need this agin. Btw, great video :)
    Before there was no servo jitter, now it is alot. I tried to connect only one. A1 and 3.
    I tried to connect the same on A2 and 5, but nothing happens.
    Could this mean that its a bad arduino? I think its the same i used earlier.
    Even tried with a Nano, same result.

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

      No problem. Yes i have, im useing 6V 2A Power supply.

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

      Sir can you me coad i have much problem in coading

    • @aiversity.official
      @aiversity.official 4 ปีที่แล้ว

      Add a 4700 uf 16v capacitor between the positive and negative railing
      But also use a resistor as the capacitor voltage is high

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

      Same thing is happening to me

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

    Hi, very nice video, can you please make same video with 4 nema 17 stepper motor with speed and direction contol

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

    Where is the link to the Code? Used the one above but it is not their.

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

    I've tried recreating this setup twice with the same code, but I can't get it working. Some potentiometers affect all four servos, and some affect none. My potentiometers are 2k not 10k. Could this be the issue? If not, do you know what could?

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

      That worked, thanks.

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

      Can you please show me what you did here. I am having the same issue and it would be greatly appreciated.

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

    Awesome vid! There is only one problem: When I turn on my Arduino, the motors become very shaky and wobble everywhere. I am using this in a robotic arm, and they are PowerHD 1501MG servo motors. Do you think this problem is from the motor type/voltage or the setup in the robotic arm? Thanks!

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

      Im having the same problem with the micro servos Bram.... Apparently not enough current for the servos... Please let me know if you manage to sort it out! :)

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

      I am also having this problem.

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

      Sir can you give me coad

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

    So even though I followed your code step by step my potentiometer still controlled only one servo and even then the servo spazes out .. help?

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

    please tell me what is the best book for learning gcoad

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

    Can you do that without the delay and use millis as delay for

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

      making a delay using millis()
      Like blink without delay in arduino examples

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

    HEY, excuse me whats the code for this project? good afternoon. regards

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

    trying to get two mg996r 4.8v - 6v 180degree servos to be controlled by pots both B10k, however for the life of me i cant make them budge with the pot. i have a separate supply source( Supplies 5v) , ive more than once gone through Merts' videos to see if there was any error in the coding and wiring. the code and wiring set up works for SG servos but just not my mg996r. suggestions? not enough power from supply? maybe defective product? Mg996r servos are from Tiankongrc

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

      BTW wiring does include GRD connection between power supply and arduino uno. And just tried it using only the arduino power source 5v for both mg996r and pots and actually works but still has a few kinks (twitching) by viewing merts' videos i came to understand that you diminish the kinks by adding a separate power supply, but when i do that the servos stop reading the pot

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

    Hi, somebody can tell me why Giving 9V to arduino, thru the GND it doesn't blow up?

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

    hello, i want to implement robotic arm from this, tell me how can i store the motor locations, so that it can continue automatic without the help of potential meter

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

    When I tried it, it basically worked (the servos were clearly responding to the potentiometers, but they still all kinda twiched around and sometimes quite heavily. Does anybody know how make it work properly??

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

    Can we use 100k potentiometer

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

    hello can you add play back infinite loop after teaching it(robot) the movements plzzzzzzz

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

    can be more motors?

  • @huzaifakhan-kf2my
    @huzaifakhan-kf2my 6 ปีที่แล้ว

    can we use this method to control 4 DOF robotic arm

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

    Sir I have problem in coading
    Can you give me coad in suggestion box

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

    very nice vid!!

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

    awesome work bro...can u plz make tutorial of using this potentiometer servo memory technique,like record and play function...can u plz help me with tat,THANKS

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

    After uploading the coding the servo motor is not

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

    Excellent...!!

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

    I have a troubleshooting error, need help.

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

    can you do the same thing wireless ??

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

      Vasudev Mr bro...u can use hc05 or 06 module ...thats a bluetooth module for arduino
      U can control your servos via android bluetooth....u get many apps in playstore

  • @JaspreetSingh-xj1jy
    @JaspreetSingh-xj1jy 7 ปีที่แล้ว

    how to do the same with a rotary encoder

  • @suley-d4h
    @suley-d4h 5 ปีที่แล้ว +1

    I tryed the code and it is not working

  • @KaranSingh-zz9rg
    @KaranSingh-zz9rg 2 ปีที่แล้ว

    Thank you bhau

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

    yardım! bir diğer videonada yazmıştım..... aynı şeyi yapmama rağmen çalışmıyor 3 tane servo kullanıyorum hepsi bağlıyken hiç hareketo olmuyor motorlardan ufak bir ses geliyor *diiiiiiii...* 3 taneden 2 sine enerjiyi kesincede ayakta kalan sağ sola sağ sola dönüyor MG996R kullanıyrum

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

    Thanks man

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

    I love this video

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

    the code mite help pls
    The .ino if pos?

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

    when i did this, my servo started to jitter?

    • @aiversity.official
      @aiversity.official 4 ปีที่แล้ว

      Add a 4700 uf 16v capacitor between the positive and negative railing
      But also use a resistor as the capacitor voltage is high

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

    Esp32 board how to control 2 servo and 2 potanmeter please code send me

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

    Hi Mer,
    love ur vids.
    I am working on a project that has 15 servos, 15 pots controlled with 2 Nanos, i power them with 6v 4.5ah battery, but they just start shaking too much.
    Help appreciated

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

      Kunwar Pratyush bro give the servos a different power supply source....u can use a 12v adapter fr servos ...might stop shaking

    • @aiversity.official
      @aiversity.official 4 ปีที่แล้ว

      Add a 4700 uf 16v capacitor between the positive and negative railing

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

    çok güzel videolar çekiyorsunuz hep sizi takip ediyorum ama türkçe çeviri de koysanız videolarınıza çok daha güzel olacak

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

    i love u very much...thank you

  • @Mahi-cm5sh
    @Mahi-cm5sh 8 ปีที่แล้ว

    hey can you plz give me the code link??

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

    Sir can you share code for 4 survo motors in an another video step by step

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

    I don't know why this not working on my

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

    Hi.... Where coding arduino with Potentiometers ?
    I need coding that please

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

      What do you need? It's not very complicated, as you can see in the video, he's using analog read do read the output on the potentiometer and writing the value he gets into the servo's angle. If you want to control something directly with the potentiometer you just need to plug that middle pin as the input energy of whatever you want to control. If you give me more detail maybe I can help you better

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

    What is the programing code

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

    No me sirbio, estoy utilizando solo 3 servos, no se eso afecte

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

    only great
    thank you

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

    Sketch?

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

    please code driver arduino ide and diagram

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

    Bro can do that without using breadboard plzzz

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

    Nice

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

    code wont compile and your link to code does not work cant make the code work all of your videos have the same issue

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

    Can you give me the code pls?

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

      Mert Arduino and Tech thanks for the code sir. i like your videos.
      thanks again.
      from Philippines JAY

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

    Rica etsem kodları da paylaşırmısın

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

    please provide me the arduino code for this project

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

    it didn't work for mine i guess....

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

    Bro kodları verebilirmisin proje için lazım.

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

    no sorry i want to do this project but i don't know how to begin

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

    good but I want multi sensors in one aurdino

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

    thank you thank you thank you.

  • @y.1brahim726
    @y.1brahim726 3 ปีที่แล้ว

    hocam koduda verseydiniz güzel olurdu

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

    hello,,u can give me this code ,,,??please..i am your subscriber,,cz i can write this code

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

    Great

  • @low-rinse-zoo9685
    @low-rinse-zoo9685 5 ปีที่แล้ว

    please help, ive followed the instructions, but my servos seem to stutter and not run smoothly, and when i twist the potentiometer, the servos are unresponsive
    Edit: is it normal for the parts to heatup?

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

    Where is code

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

    Can you send me your code for this project please please

  • @Dinesh-KumaranK
    @Dinesh-KumaranK 7 ปีที่แล้ว

    Give me this code please

  • @मनदर्पण
    @मनदर्पण 6 ปีที่แล้ว

    but it's awesome 😱😱😱😱

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

    Tnx