Arduino joystick servo control - controlling servo motor with joystick

แชร์
ฝัง
  • เผยแพร่เมื่อ 2 ธ.ค. 2019
  • Arduino uno joystick servo motor control. In today's video we will read out the directions from a joystick and use them to control a servo motor.
    All my code will be available on my Patreon page:
    / 32062755
    www.patreon.com/asali
    Links:
    Joystick KY-023
    amzn.to/2N5yZuG
    Arduino kits:
    Arduino Uno Starter Kit (original version)
    Affiliate link: amzn.to/2H4femD
    Normal link: goo.gl/v4NFAU
    Arduino Uno Starter Kit (cheap version)
    Affiliate link: amzn.to/2R2a6Uu
    Normal link: goo.gl/Z3Ekup
    Arduino Uno
    Affiliate link: amzn.to/2R47IwA
    Normal link: goo.gl/mdSGRH
    Credits:
    Music:
    Classique - Francis Preve
    Thumbnail & video icons:
    Licensed by creativecommons.org/licenses/b...
    Arrow icon by www.flaticon.com/authors/lyolya
    Joystick icon by www.flaticon.com/authors/smas...
    Servo motor icon (created by myself)

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

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

    thank you so much my grandpa is gonna be proud of me

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

    Good afternoon! Is there a way to record the movements that we produce on the servo with the joystick so they can be played back?
    Thank you!

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

    Nice one !

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

    Hi! where did you get 5.65? Also angle *11? Thanks!

    • @asali-channel
      @asali-channel  4 ปีที่แล้ว

      Firstly if I remember correctly the joystick has a range from around 0 to 1024 meaning if you divide 1024 by 5.65 you will get 180 (the servo motor can only turn 180 degrees). Secondly you had to multiple the angle with 11 to create the correct delay time so the servo motor understands what angle to go, why this is 11 I don't know, perhaps it can be 12 or 13 but I haven't tried this out.

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

      @@asali-channel Thanks! I'll keep that in mind.

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

    Is this channel still active???!

    • @asali-channel
      @asali-channel  4 ปีที่แล้ว

      New video in the beginning of february 🙂

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

    Barka dai, ni ma ina jin Hausa. Bidiyo mai kyau!

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

    Maak maar een video over mijn eindwerkje 😢

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

    Are you still alive? It has been over a month! I want new video!