Arduino Servo Motor Control with Potentiometer

Поделиться
HTML-код
  • Опубликовано: 1 янв 2025

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

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

    Source Code: create.arduino.cc/editor/mertarduinotech/d3dde748-e44e-44dd-a09b-25dadc34a508/preview
    Recommended Items:
    Use Your Muscles in Project - amzn.to/3wdL45C​
    37 Sensor & Module Packages - amzn.to/3m66WeQ​
    Try this Robot Arm - amzn.to/3fq8DCl​
    Best Resin 3D Printer - amzn.to/39tY8KB​
    Arduino Compatible Kits - bit.ly/2J2AFF7​
    Banggood Spring Sale - bit.ly/3slMbOn

  • @banglacaterer8219
    @banglacaterer8219 6 лет назад +1

    very beautifully with animation you have make the connection of components...... iam not from any electronic profession but your video made me understand so easily....god bless you...for this tutorial.

  • @mohamedsabry7155
    @mohamedsabry7155 7 лет назад +1

    what is exactly the functionality of the write function?
    does it tell the servo to go to a specific position relative to the defined position entered as a parameter or does it tell the servo to rotate by a certain angle passed as the parameter

  • @jasielgarcia9750
    @jasielgarcia9750 7 лет назад +3

    What software did you use to make the graph or image to show how everything should be connected at the beginning of the video??

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

    How would I setup using external power for the servo? Do you have a video explaining?

  • @lanzace2126
    @lanzace2126 5 лет назад +1

    Anyone knows what software he use? TIA

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

    Can we use the potensiometer as a set point? So the motor will move after we control the potensiometer

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

    I can't seem to find the website that has the source code, can you please send it in this comment? In the comment's reply, thank you!

  • @millmatt97
    @millmatt97 5 лет назад

    Will this still work if I use a 20K pot or will I need to add in a few other components to correct the higher resistance?

  • @rakumarudu
    @rakumarudu 5 лет назад

    Very cool, what is the software you are using to make the diagram?

  • @joedelpopolo4087
    @joedelpopolo4087 6 лет назад

    Same question what's the program used to make the wiring schematic in the beginning of the video? Name and site for download if you could please out place of purchase...

  • @jacobanderson3768
    @jacobanderson3768 7 лет назад +1

    Does it matter what kind of Arduino uno I use?

  • @qnaman
    @qnaman 5 лет назад

    May I ask a question? I have arduino nano. Exaclty same script but repeated 4xand same with servos and potentiometer. When I set two potentiometer on about 180 deegree, everything shakes. Is there a way to prevent this?

  • @monkeybrain6111
    @monkeybrain6111 7 лет назад

    is it possible to control multible servos with this?

  • @MamunCreations
    @MamunCreations 7 лет назад +5

    my servo motor (mg996r) rotating continuously . Potentiometer don't work . why?

  • @FreakyCoach
    @FreakyCoach 8 лет назад

    Nice and easy thank you
    and can you please tell me software name that you drew diagram with?

  • @digambarprasadsah5676
    @digambarprasadsah5676 6 лет назад

    In which software you were designing that diagram

  • @MuhammadBilal-lx9iy
    @MuhammadBilal-lx9iy 7 лет назад

    kindly tell about software where you simulated this

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

    Good evening, would you know a code to control one server motor with three potentiometers? This is for a wave machine, in order to control amplitude, frequency, and pattern? Thanks in advance! 🙏

  • @omkarkhade4602
    @omkarkhade4602 6 лет назад

    How much current and voltage are you giving at the input of the Arduino??

  • @electrifying1261
    @electrifying1261 7 лет назад +1

    will a linear potentiometer work [10k ohm]?

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

    Is it possible to implement this using C

  • @kaanylmaz1008
    @kaanylmaz1008 7 лет назад +1

    Yardım! birden fazla servo bağladığım zaman çalışmıyor başka kodlarada baktım bir sürü video izledim hepsini denedim hiç birinde olmadı tek başına 1 servo takınca sıkıntı yok ama 1 den fazla olunca kafasına göredönmeye başlıyor ne yapabilirim ??

  • @brothertitan9516
    @brothertitan9516 5 лет назад

    Worked and I love it so much! thank you!

  • @hkiceman001
    @hkiceman001 7 лет назад

    thx for your sharing, I learn too much from your examples....

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

    Can I use 20k pot

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

    I'm getting an error message when I try to upload to the board, any suggestions on what I'm doing wrong?

  • @RenatoSantos-vn1vy
    @RenatoSantos-vn1vy 7 лет назад

    hello friend, asks to do this project using the microcontroller ATtiny85?

  • @hugogomes8216
    @hugogomes8216 7 лет назад

    Bonjour,
    Est il possible avoir un système servomoteur / potentiomètre sans la arduino or genuino board? Donc une connexion directe.
    Merci
    Hugo Gomes

  • @jon-wz6hn
    @jon-wz6hn 8 лет назад

    Me encantan tus vídeos, buena suerte, y espero que llegue a los likes y visitas que merece. :)

    • @tark9472
      @tark9472 8 лет назад

      Mert Arduino Tutorial & Projects bana çevap verebilirmisin o parcaları nerden aldın

    • @tark9472
      @tark9472 8 лет назад

      Mert Arduino Tutorial & Projects çok saol ben senin hayranınım süper şeyler yapıyorsun

    • @tark9472
      @tark9472 8 лет назад

      Mert Arduino Tutorial & Projects saol

  • @roadstermah7269
    @roadstermah7269 6 лет назад +1

    hey, the servo is making noise, buzzing when not operating

    • @mr_budo
      @mr_budo 5 лет назад

      mine too any solution for that

  • @oscargarin
    @oscargarin 8 лет назад

    Nice project! By the way, what name is the software you used at the begining (0:37)?

    • @oscargarin
      @oscargarin 8 лет назад

      Great, thank you!

    • @VanDerLaars
      @VanDerLaars 5 лет назад

      @@oscargarin What was the software?

    • @oscargarin
      @oscargarin 5 лет назад +1

      @@VanDerLaars Mert Arduino

  • @syahrulzahwan
    @syahrulzahwan 7 лет назад

    ty so much keep up the good work... really good for beginners... im really thankful... it such a really good work since there r some notes given beside the code so i could understand the code.... I hope you can help me with another thing.... i am making a robotic arm with servo... it need 4 servo and 4 potentiometer how can i connect it all

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

    will this work with a 100k potentiometer because it works but my servo keeps jittering and i dont know what to do, help please

  • @shubhodeepmandal1499
    @shubhodeepmandal1499 6 лет назад +1

    I am trying hard but it not working please help me sir!!

  • @MuhammadSami04
    @MuhammadSami04 7 лет назад

    why my servo do nothing when i rotating the potentiometer ? is it must to use adaptor ?

  • @adityasidham1812
    @adityasidham1812 8 лет назад

    this video helped me a lot lot thanx again I made this and it is awesome

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

    why i can't download this code??

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

      yeah it is not downloading

  • @minhaj6211
    @minhaj6211 7 лет назад

    hi brother i hav understood all the lines of the code except this
    val = map(val, 0, 1023, 0, 180); // scale it to use it with the servo (value between 0 and 180)
    can you please explain this?? 1023..... etv

    • @SMK_Mehmet
      @SMK_Mehmet 6 лет назад

      map functions maps the analog value from 0 to 1023 to 0 to 180 degrees?

  • @mohammedrizwan420
    @mohammedrizwan420 7 лет назад

    Would a 5k or 100k Potentiometer do?

  • @tugbat1955
    @tugbat1955 6 лет назад

    Potansiyometre ile servo motorun kullanım amacı nedir? Ne işe yarıcak ki elimizle kontrol ediyoruz?

    • @tugbat1955
      @tugbat1955 6 лет назад

      otomatik kapı açma kapama (delay) için kullanamam yani ? Dogru mu anladım :)

  • @chand5916
    @chand5916 6 лет назад +1

    Is this possible with a raspberry pi?

    • @almaasshah
      @almaasshah 6 лет назад

      Yes, Although You will be required to use a ADC converter, I personally use the ADS1115, if you have any further questions on this let me know, I will consider making a video on it. Thanks

  • @harikrishnankazhanikunnath2495
    @harikrishnankazhanikunnath2495 7 лет назад

    How to control a power steering motor using this board.

    • @harikrishnankazhanikunnath2495
      @harikrishnankazhanikunnath2495 7 лет назад

      Mert Arduino Tutorial & Projects I am a final year b.tech student and we are doing a project of 4 wheel steering in city cars. In that project we have to steer the rear wheel of a replica of the real car using a stepper motor

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

    Can u do this with a raspberry pi?

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

    apakah bisa membuat 2 motor servo dengan 1 potensiometer?

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

    thanks! works perfectly!

  • @benjaminlepourtois5735
    @benjaminlepourtois5735 8 лет назад

    Hello,
    It's a very good video. Thank you very much for the tutorial!!!

  • @purplexsium
    @purplexsium 6 лет назад

    i made a double code fot two servos and i made a face that can turn left-right and up-down, but it is hand controlled. this is the code i used:
    #include
    Servo myservo;
    Servo myservo2;
    int potpin = 0;
    int potpin2 = 1;
    int val;
    void setup() {
    myservo.attach(9);
    myservo2.attach(8);
    }
    void loop() {
    val = analogRead(potpin);
    val = map(val, 0, 1023, 0, 180);
    myservo.write(val);
    delay(15);
    val = analogRead(potpin2);
    val = map(val, 0, 1023, 0, 180);
    myservo2.write(val);
    delay(15);
    }
    the setup is that you add another servo to d8 and another potenciometer to analog1, and take the second servo and atach it to the first one.

  • @Sgt.Shepard
    @Sgt.Shepard 7 лет назад +1

    it says"'Servo' does not name a type.

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

      Can you give your code so I can check and give you the solution?

  • @enzimenterprises2149
    @enzimenterprises2149 6 лет назад

    the code doesnt work

  • @kenkahasan3453
    @kenkahasan3453 5 лет назад

    doesn't work ...(

  • @Ackermaann
    @Ackermaann 5 лет назад

    Nice i got it, Thank you

  • @pranaybhise6513
    @pranaybhise6513 6 лет назад

    can I use 4k ohm potentiometer ?

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

    thanks.

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

    you should never supply the power to a motor from arduino. always use external source.

  • @shubhodeepmandal1499
    @shubhodeepmandal1499 6 лет назад

    I didn't know it didn't working😢😢😢😢

  • @robinsanchez7477
    @robinsanchez7477 6 лет назад

    exelente

  • @semihdikmen9269
    @semihdikmen9269 7 лет назад

    Why english