Arduino Servo Control: How to Make a Laser Turret with XOD

แชร์
ฝัง
  • เผยแพร่เมื่อ 20 พ.ค. 2024
  • A tutorial on what servos are, how they work, and how to control them. Then I build a laser turret using a pan-tilt servo kit and an Arduino Uno. The Arduino is programmed with XOD, a free visual programming language.
    Download XOD: xod.io/?ut...
    Another XOD tutorial: • XOD visual programming...
    Hitec HS-311 servo: www.amazon.com/exec/obidos/ASI...
    Sub-micro servo pack: www.amazon.com/exec/obidos/ASI...
    Laser diodes: www.amazon.com/exec/obidos/ASI...
    (Amazon affiliate links)
    Pan-tilt servo kit: www.digikey.com/products/en?ke...
    Webpage: www.afrotechmods.com
    Twitter: / afrotechmods
    Facebook: / afrotechmods
    #Arduino #Engineering #Lasers
  • วิทยาศาสตร์และเทคโนโลยี

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

  • @JTTRS
    @JTTRS 6 ปีที่แล้ว +332

    Very nice callout to the 555 at 5:55. Bravo ;)

    • @Afrotechmods
      @Afrotechmods  6 ปีที่แล้ว +148

      Holy shit I didn't even see that! Total coincidence.

    • @danielfernandes2813
      @danielfernandes2813 5 ปีที่แล้ว +9

      @@Afrotechmods wtf are you serious?😂😂

    • @bikespike4150
      @bikespike4150 5 ปีที่แล้ว +10

      Well... now that this comment has 111 likes i'm not sure if i'm allowed to give it a like.

    • @rachmatzulfiqar
      @rachmatzulfiqar 4 ปีที่แล้ว +5

      If you an electronic engineer student, you must be a close friend to 555 timer chip, lmao, that thing can do so much stuff

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

      Hu

  • @chiefskittlez1690
    @chiefskittlez1690 8 หลายเดือนก่อน +6

    As an Electrical engineer your explanation for PWM control over the servo is fantastic. It is concise and the visuals help a lot. I'll be using this material to teach a class , thank you so much.

  • @arthurdent8091
    @arthurdent8091 6 ปีที่แล้ว +11

    Excellent. One of the best videos I've seen. I wish I had this video around when I was into RC model airplanes. In RC, we use either servo "testers" or some of the newer transmitters have a servo test feature built in. It is wild watching all of the servos move the control surfaces through their paces at one time without any intervention.

  • @flamingemu2
    @flamingemu2 6 ปีที่แล้ว +5

    Best electronics tutorials on youtube. Topics are interesting and explained well. I hope the videos never stop!

  • @sarahbingham1133
    @sarahbingham1133 5 ปีที่แล้ว +9

    Wow I didn’t know servos were different than regular electric motors...
    You learn something new everyday. Thanks!

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

    This is probably the first maker tutorial I've seen that gave me the sense that I could actually do it myself. Excellent explanation.

  • @randominternetviewer166
    @randominternetviewer166 6 ปีที่แล้ว +3

    always loved your videos man, its so much well put together than some of the videos out there. glad to see you back

  • @ankdoeslego9731
    @ankdoeslego9731 6 ปีที่แล้ว +87

    HE’S BACK!!!

  • @rjanderson4207
    @rjanderson4207 6 ปีที่แล้ว +11

    I was actually just starting to work with servos so this is extremely helpful

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

    Great tutorial, well presented and structured. Enough detail without slowing the pace!

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

    One of the best explanations of anything i have ever heard in my life. Man deserves an award

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

    Man, this is another EXCELLENT video. Beavis would be proud!!! I m inspired to build something using servos. Thanks...

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

    Glad you're back. And with a perfect tutorial at the right time for me. Thank you!

  • @dimitar4y
    @dimitar4y 6 ปีที่แล้ว +21

    "! METAL GEAR yes they're solid " i died.
    Oh god beavis and butthead sounds.
    Horns AND pigtails? You are insane, there's no such creature...

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

    it`s very nice of you to explicitly mentions the common ground thing. lots of beginners don`t think about that

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

    I’m very happy that you’re back, we missed your videos.

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

    Wait, I knew almost everything about servos beforehand, but I watched the entire video. It is *so informative*!!!!

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

    Amazing video and unbelievably easy to understand, great work and thanks for making things much easier to understand for an absolute novice/noob to electronics etc.

  • @richvislocky4340
    @richvislocky4340 6 ปีที่แล้ว +11

    Love it! Metal Gear and Bevis and Butthead. Nice to see you're posting again. Your videos are by far the best.

  • @proyectosledar
    @proyectosledar 6 ปีที่แล้ว +278

    nice to see you again

    • @Afrotechmods
      @Afrotechmods  6 ปีที่แล้ว +30

      Thank you sir

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

      Lasers pew pew

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

      It's been a long time. Thumbs up....PEACE

    • @AhmedAli-sn3ty
      @AhmedAli-sn3ty 6 ปีที่แล้ว

      we need more of your videos

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

      Closed loop stepper motor

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

    Nice to see, you're still alive. Loved the video. Very well done.

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

    It is amazing to see a new video from you...

  • @rezafathi4385
    @rezafathi4385 6 ปีที่แล้ว +13

    AFROTECHMODS RETURNS 😍😎

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

    Great that you are making new content! I love your great style of explaining.

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

    Excellent Video! Thank you for all the great videos over the years! Happy New year!

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

    Holy shit Afro! Higno-chu here, from the old forums. Haven't heard about you or Pikachu for a long, long time. Really glad to see that your channel has grow so much! You are a pionner and deserve it. Congrats on the great work!

  • @Antiath
    @Antiath 6 ปีที่แล้ว +80

    Was gonna like anyway but still, you get a special like for that metal gear reference :p

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

    Rediscovering how much I like electronics. Very informative. Thumbs up and subscribed.

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

    I missed your vídeos, thanks for posting!

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

    this is so beautiful thank you for this information about the arduino and servo motors

  • @deangreenhough3479
    @deangreenhough3479 6 ปีที่แล้ว +17

    excellent, excellent, excellent

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

    Oh my gosh you still alive!
    Nice to see my favorite youtuber again :3

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

    Great to see you upload again.

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

    Thank you this is a really great way to end 2017 hope we get more vids in 2018

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

    Bravo! Best TH-cam how-to video ever!

  • @er.jugalmandal7736
    @er.jugalmandal7736 6 ปีที่แล้ว

    welcome back king of project

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

    welcome back sir really nice to see you

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

    Thank you! It's 'THE' clearest tutorial I'd come across...Sub & Liked :) Now waiting for the delivery of servo's to get started. Once again, a million thanks!!!

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

    DUDE!!! I almost unsubscribed from your channel because I thought you quit making videos altogether. Glad I stuck it out for another great video.

  • @JohnSmith-bb2np
    @JohnSmith-bb2np 6 ปีที่แล้ว

    Awesome, nice to "see" you again. My favorite electronics channel.

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

    it's has been a long time, without a video, nice to see you again

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

    Another great video.
    Nice hearing frim you again.

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

    It's being a while .
    I almost thought some one was playing me when a notification popped up.
    Nice to hear from you again.
    Have a great 2018

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

    Great to see you’re back!

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

    My favorite electronic channel is back !!!!!

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

    Excellent video, easy to follow and packed with info.

  • @sumit_kashyap..
    @sumit_kashyap.. 6 ปีที่แล้ว +39

    King is back!!!!

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

    As always interesting, really well presented and explained!!

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

    You are really good at this, man!

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

    It's nice to see you again! wish you will made a lot of new videos. It's been a long time since you have gone.

  • @daaronson35
    @daaronson35 6 ปีที่แล้ว +5

    Ive been looking for a visual Arduino programmer. Thanks!

  • @andreb.8266
    @andreb.8266 6 ปีที่แล้ว

    Very good, your voice is perfect, the instructions are clear, i'm impressed. Thank you !

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

    Glad to see you back

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

    This is the best informative video I have ever seen. Subscribed! So excited to see your other videos!

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

    This helped me a lot. Thank you so much!

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

    Simply the best teacher! Thanks

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

    First time viewer here and I really like what I see :) I was looking for a basic servo motor explanation and this really hit the mark. Maybe you could do a video showing how to program the bigger servos such as the ClearPath ones. Will keep coming back for more.

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

    Earned my subscription with the metal gear pun. Plus all this torque about motors twisted my arm and forced my hand.

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

    Good to see you Aftrotechmods!
    Based on keywords like laser, turret, visual, I assumed I'd be an OpenCV like tutorial.
    Well, looks like my automatic aiming turret won't build itself, and nobody other, so I have to.. :D
    Probably this tutorial will be more useful for some of my friends than for me :)

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

    Absolutely amazing video!

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

    Very nice demo as usual! thanks and have a nice New Year's

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

    Didn't know XOD yet, thanks, that will open up some stuff for me and the kids!

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

    We need more of you man

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

    Yess a new video. Missed you!

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

    love your videos as always,,
    watching her in PHILIPPINES😊😊

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

    Thank you so much for showing me XOD! I suck at programming

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

    Didnt see that metal gear thing coming at all. You're pretty good

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

    Discovered this channal 2 days ago, was sad that it wasnt active anymore... nice!

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

    Just loved your editting

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

    Really enjoyed this. Is the resulting XOD code human readable and editable (for minor tweaks at least) or do you need to consistently use the IDE?

  • @Telboy-fv8ke
    @Telboy-fv8ke 6 ปีที่แล้ว

    For a total novice i am well impressed, great tut

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

    Super clear explaination. Thanks!

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

    This is legit my favorite channel and the beavis and butthead part had me in tears!

    • @Lily-bn3ce
      @Lily-bn3ce 2 ปีที่แล้ว

      Glad you're back. And with a perfect tutorial at the right time for me. Thank you!

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

    Excellent channel! Keep up the good work!

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

    im glad he's back

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

    After long time! Anyway, awesome video.

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

    Ahh I'm happy you're back.

  • @1607rosie
    @1607rosie 3 ปีที่แล้ว

    I really enjoyed this video ! I got to get off my but and buy an arduino. And did not know about XOD. Pretty cool, that some good programming.

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

    The master has returned !! 😆

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

    great video, it clarified me a lot of things. Thanks.

  • @user-ig4mg7go1s
    @user-ig4mg7go1s 9 หลายเดือนก่อน

    Great video! I'm gonna subscribe now.

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

    OMG he's back this is awesometasticallyamazing!

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

    Awesome work, thank you very much, and happy New Year...

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

    Welcome back dave!

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

    Really nice! And glad you're back! :D
    You only forgot about servo testers. ;)

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

    I'm going to have a go at a few projects of my own, never used before is they a starter kit a noob can buy

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

    Missed you a lot!

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

    Your videos are so good do you have one explaining how to control multiple servos with PCA9685?

  • @1607rosie
    @1607rosie 3 ปีที่แล้ว

    Have you worked with Texas Instruments launch board. What do you think if them. Arduino s seem pretty well supported with lots of items that interact with them

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

    WOAH WOAH WOAH! I played Metal Gear Solid 3 (on arcade) last night at a NYE party for hte first time in 15 years... AND YOU MENTION IT HERE?! LEGENDARY

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

    thanks, great video, i did not know about XOD

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

    Please please come back.. I miss your videos so much

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

    Thanks much for pointing out XOD pal.
    Just a few days ago I was trying to find some Arduino library/code to take a 'pattern' input to demo a camera pan/tilt setup.
    The only stuff I've found so far is some CNC G-code but this is too much overkill, so it looks like another DIY project.
    Currently I'm trying to think of a way to do a simple 'pattern' read via serial that might fit into Atmega328 EEPROM..

  • @KeystoneScience
    @KeystoneScience 6 ปีที่แล้ว +58

    do you want to do a collab video sometime? Whether you do, or don't, keep up to great work! your one of most informative youtubers i've come across :)

    • @Afrotechmods
      @Afrotechmods  6 ปีที่แล้ว +25

      Woah! I am honored. I like your channel a lot too. I don't know when I'd be able to fit in another production but definitely hit me up if you need advice on circuits and stuff for your videos!

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

      Thank you so much! Will do!

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

      Afrotechmods wow nice man

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

      Could one of you bang my wife, so I can have a great child to look after me financially!.... I say this as my dryers fucked and need to test what's broke

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

      keystone would be here. you're too busy these days to livestream anymore.

  • @rotamagzine
    @rotamagzine 6 ปีที่แล้ว +9

    I love your jokes! “Metal gear?? Yes it’s very solid “ “I’m not enemies with Spider-Man “

  • @Trainpaparazzo.
    @Trainpaparazzo. 3 ปีที่แล้ว

    Great stuff, verry good explanation.

  • @David-ty6my
    @David-ty6my ปีที่แล้ว

    Standing here, I realize, you deserve a sub.

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

    He is back!

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

    You should do a paid video once a month with lesser-known electronics info and tricks. The one on capacitors was informative, and well worth the .99 cents. Good job.

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

    Took me about 7 seconds of this video to hit subscribe :)