ไม่สามารถเล่นวิดีโอนี้
ขออภัยในความไม่สะดวก

Arduino tutorial | How to control servo motor with joystick and arduino

แชร์
ฝัง
  • เผยแพร่เมื่อ 22 ส.ค. 2019
  • hello!
    In this video,you can learn how to use servo motor using joystick.
    materials:-
    Arduino uno
    Servo motor
    Joystick
    breadboard
    Jumper wires
    arduino radar system=
    • Arduino projects | ard...
    Arduino Tutorials | How to measure distance with arduino using ultrasonic sensor=
    • Arduino Tutorials | Ho...
    code= bit.ly/2G4ERAm
    Please subscribe for more videos

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

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

    Welcome done bro i is very easy for everyone this project is amazing

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

    If your servo motor is going left and right when youre turning it to the left side, make the delay to 1 at void loop

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

    hi, it works, only do u know why my servo motor shakes when turning to the left and works normal when turning to the right?
    edit: i found the solution, i prolonged the delay time to 150 and it works, not sure if this has other consequences doh?

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

    i got it 2 work thank u

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

    hi great explainatino have you done one where we could attach another motor on the x axis an get it to stay where it is when you take finger off.want tp controll webcam for 3d printer cheers

  • @sirvix9024
    @sirvix9024 4 ปีที่แล้ว +3

    Nice video bro, i was doing a project where i could control a webcam with a servo and joystick and needed a video 2 do it b4 i put a webcam on it, thx bro!

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

    thank u sir it works

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

    thanks bro

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

    it works but we have to do some augments

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

    Hey im not a programmer but is there a way to make the servo motors hold the position even if the thumbstick goes to 0

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

    And if i want use 2 ou 3 more servo motor with another 2 or 3 joytick? how is the code? a little example please. Thks bro

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

    1000 gracias

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

    nice video

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

    I can't find the code in the description

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

    You know what beats' the heck out of music. Actually talking about what your doing.

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

    Does this work with continuos rotation motors or no

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

      probably not and probably late comment

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

    OMG thank You

    • @fritzlamourjr.8206
      @fritzlamourjr.8206 6 หลายเดือนก่อน

      is it really just copy and paste the code? Keep getting errors when trying to upload. Doing this for my son and im lost.

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

      @@fritzlamourjr.8206 The code is in the description like a Link, it leaves You into a page and You can copy it.

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

      @@fritzlamourjr.8206 i can help You if You want :D

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

      ​@@fritzlamourjr.8206The code is in the description, inside a website :))

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

      ​@@fritzlamourjr.8206i can help you

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

    what did you use to edit the arduino

    • @mr.arduino1397
      @mr.arduino1397  4 ปีที่แล้ว

      What?

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

      type arduino in google then click on the first site arduino.cc and then download it but donc forget to plug in your arduino with a usb cable

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

    which app did you use for the diagram

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

    Yeah whenever I ran the code I was prompted with Failed to compile to arduino uno

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

    It pauses for a few seconds when i hook it up to the battery andyone know how to fix this problem

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

    Is there a way you can do the same thing with the raspberry pi?

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

      im probably too late but im pretty sure no.

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

    The screen recorder cut off the first 3 digits of code at the final bit, and the link in the description does nothing. Help me.

    • @mr.arduino1397
      @mr.arduino1397  4 ปีที่แล้ว +1

      bit.ly/2G4ERAm

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

      Thanks

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

      If the link in the description didn't help you how did this one because its the same link

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

      Your guess is as good as mine, if not better

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

    it all works great until i plug in my batterie. any ideas?

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

    did not work

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

    How can u get 360 movmebt

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

      need to use 360 servo/continuous rotation servo

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

    2 more questions( noob here) why does the arduino pause/restart every x seconds?
    and why does it turn more to the right and less to the left?

  • @scryptio
    @scryptio 3 ปีที่แล้ว +17

    The Code:
    #include
    const int Y_pin = A0; // analog pin connected to Y output
    Servo myservo;
    int val;
    void setup() {
    myservo.attach(7);
    }
    void loop() {
    val = analogRead(Y_pin);
    val = map(val, 0, 1023, 0, 180);
    myservo.write(val);
    delay(15);
    }

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

    what is the page where you configure the servos

  • @DarthVader-rr5yp
    @DarthVader-rr5yp ปีที่แล้ว

    Hi

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

    mine not work

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

    Is it just my thing saying too few arguments?

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

    Sadel ek no ka dimag khaou

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

    My code says there is an error

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

      mine did too but then i reuploaded it and it worked. is it error exit 1 or something?

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

    #burst

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

    it did not work

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

    තද

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

    Horrível a forma que vc mostra o passo a passo

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

    Non funziona 🤬🤬🤬