How to Control a Servo With an Arduino

แชร์
ฝัง
  • เผยแพร่เมื่อ 21 มิ.ย. 2022
  • How to control a servo motor using an Arduino. Easy tutorial to learn controls engineering
    👉 👉👉 FREE design software ➡️ www.altium.com/asp/the-engine...
    👉 👉👉 Most up-to-date part data ➡️ octopart.com/
    Download Arduino code:👉 theengineeringmindset.com/ard...
    ⚡🛠️ TOOLS YOU NEED 🛠️⚡
    **************************************
    Get this electronics book ➡️ amzn.to/41cCJPk
    Professional Multimeter -➡️ amzn.to/3xu2Vaw
    Good multimeter -➡️ amzn.to/3xrbuTd
    Professional clamp meter ➡️ amzn.to/4140FnK
    Good Clamp meter ➡️ amzn.to/3xqt2is
    Outlet tester ➡️- amzn.to/3kavg2l
    Energy monitoring plug ➡️ amzn.to/3SkfPl7
    Battery tester -➡️ amzn.to/3S3fHWI
    Basic electronics kit ➡️ amzn.to/3xuLiqS
    MY FAVOURITE GEAR
    🎥 My camera - amzn.to/3YCZ7Q9
    🎤 My Microphone - amzn.to/3YYXsUC
    ⌨️ My Keyboard - amzn.to/3lBsl33
    🖥️ My monitor - amzn.to/415BGjW
    🎧 My headphones - amzn.to/3lN7R7u
    WATCH THESE
    Stepper motor:👉 • How Stepper Motors Wor...
    DC motor:👉 • How does an Electric M...
    AC motor:👉 • How Electric Motors Wo...
    Starter motor:👉 • Starter Motor Explaine...
    Alternator:👉 • How Alternators Work -...
    Build a motor:👉 • Electric Motor Build -...
    Motor speed control👉: • Motor speed controller...
    👋 SOCIALISE WITH US 👋
    *******************************
    👉FACEBOOK: / theengineeringmindset
    👉TWITTER: / theengmindset
    👉INSTAGRAM: / engineeringmindset
    👉WEBSITE: Http://TheEngineeringMindset.com
    👀 Links - MUST WATCH!! 👀
    *******************************
    ⚡ELECTRICAL ENGINEERING⚡
    👉How electricity works: • How ELECTRICITY works ...
    👉Three Phase Electricity: • How Three Phase Electr...
    👉How Inverters work: • How Inverters Work - W...
    👉How TRANSFORMER works: • How does a Transformer...
    👉How 3 Phase electricity works: • How Three Phase Electr...
    👉How Induction motor works: • How does an Induction ...
    👉What is a KWH: • What is a kWh - kilowa...
    👉How induction motor works: • How does an Induction ...
    ❄️ CHILLER ENGINEERING ❄️
    👉Chiller Efficiency improvements: • Chiller Efficiency Imp...
    👉Chilled water schematics: • Chilled Water Schemati...
    👉Chiller crash course: • Essential Chiller Term...
    👉Chiller types: • Chiller Types and Appl...
    👉Chillers/AHU/RTU: • How Chiller, AHU, RTU ...
    👉Water cooled chiller Part1: • Chiller Basics - How t...
    👉Water cooled chiller Part2: • Chiller Basics - How t...
    👉Water cooled chiller advanced: • How Chiller works - De...
    👉Air cooled chiller: • Absorption Chiller, Ho...
    👉Absorption Chiller : • Air Cooled Chiller - ...
    👉Chiller/Cooling tower/AHU: • How a Chiller, Cooling...
    👉Chiller flow rate: • Chiller flow rate meas...
    👉Chiller fault troubleshooting: • Chiller faults - troub...
    👉Chiller COP calculation: • Chiller Efficiency CAL...
    👉Chiller cooling capacity calcs: • CALCULATE Chiller cool...
    👉Chiller compressors: • 🔧 Chiller - Compressor...
    👉Chiller expansion valve: • Chiller - Expansion Va...
    👉Chiller surge: • Chiller - Surge
    👉Chiller condenser: • 🔧Chillers - Condensers
    👉Chiller evaporator: • 🔧Chiller - Evaporators
    👉Chiller compressor centrifugal: • Centrifugal Compressor...
    👉Chiller cooling capacity: • Chiller - Cooling Capa...
    🌡️ HVAC ENGINEERING 🌡️
    👉HVAC Basics: • Fundamentals of HVAC -...
    👉Boilers/AHU/FCU: • How a boiler, fan coil...
    👉How Heat Pump works: • How A Heat Pump Works ...
    👉Heat pumps advanced: • How A Heat Pump Works ...
    👉Fan Coil Units: • Fan Coil Unit - FCU HVAC
    👉VAV Systems: • Variable Air Volume - ...
    👉CAV Systems: • Constant Air Volume - ...
    👉VRF Units: • Video
    👉Cooling load calculations: • Cooling Load Calculati...
    👉Pulley belt calculations: • Pulley Belt CALCULATIO...
    👉Pump calculations: • Pump CALCULATIONS, Flo...
    👉Fan and motor calculations: • Fan & motor CALCULATIO...
    👉HVAC Cooling coils: • HVAC - Cooling coil + ...
    👉Cooling towers: • How Cooling Towers Work
    ⚗️ REFRIGERATION SYSTEMS 🌡️
    👉How refrigerants work: • Refrigerants How they ...
    👉Thermal expansion valves: • How TXV works - Thermo...
    👉Refrigeration design software: • Refrigeration Design S...
    👉Design refrigeration system: • How to DESIGN and ANAL...
    👉Reversing valve: • Reversing valve - Heat...
    👉How A/C units work: • Basic Refrigeration cy...
    ⚗️ REFRIGERANTS ⚗️
    👉Refrierant retrofit guide: • Refrigerant Retrofit G...
    👉Refrigerant types, future: • Refrigerant Types, Iss...
    👉How refrigerants work: • Refrigerants How they ...
    🌊 HYDRONICS 🌊
    👉Primary & Secondary system: • HVAC Primary & seconda...
    👉Pumps: • Centrifugal Pump How D...
    👉Pump calculations: • Pump CALCULATIONS, Flo...
    🔥➡️❄️ HEAT EXCHANGERS 🔥➡️❄️
    👉Plate Heat Exchangers: • Plate Heat Exchanger, ...
    👉Micro plate heat exchanger: • Micro Plate Heat Excha...
    💻 DATA CENTERS 💻
    👉Data Center cooling: • Data Center HVAC - Coo...

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

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

    *These videos take a long time to make* if you would like to buy Paul a coffee to say thanks, link below: ☕
    PayPal: www.paypal.me/TheEngineerinMindset
    Channel membership: th-cam.com/channels/k0fGHsCEzGig-rSzkfCjMw.htmljoin
    Patreon: www.patreon.com/theengineeringmindset

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

      Hey I was wondering if you can help me with downloading Arduino program and getting it to work? I must be missing something like the wrong port or wrong configuration.

  • @CReed55.
    @CReed55. ปีที่แล้ว +12

    I appreciate everything you do for your followers.

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

    I absolutely love these videos. They are so helpful, I hope that there will be more like these in the future.

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

    Great work Paul, keep it up, especially find your HVAC ones useful.

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

    love your videos their one of a kind and super simple to understand. they've helped me understand a lot of important stuff and even thought a lot of these topics are hard to understand you've made it easy enough that a 2nd grader could understand it. I know you most likely won't see this comment but if you do thanks again for helping me learn. and also I would love to a see a video on industrial gearboxes and speed reducers such as dodge txt, footjones, lufkin, Falk, or whatever you choose. thanks again for the help.

  • @love2learn-itsastorynotasu40
    @love2learn-itsastorynotasu40 10 หลายเดือนก่อน

    THANK YOU FOR MAKING THIS VIDEO THIS HELPED ME SO MUCH
    !!!!!

  • @P.deJong
    @P.deJong 3 หลายเดือนก่อน

    Very clear instructions, worked first try!

  • @cheesypizzajokes
    @cheesypizzajokes 11 หลายเดือนก่อน +6

    My partner is saying you didn't help us at all, but we were following your vid the whole time. Thanks man!

  • @user-et8xd6ji4t
    @user-et8xd6ji4t 5 หลายเดือนก่อน +1

    This is a really great video Completely explained with awesome animations you are truly a legend.

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

    Guy I love your videos its acually working.

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

    This was great! Will we be getting more Arduino videos in the future? I have a kit laying around I've never messed with but this is definitely inspiring me.

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

    thankyou so much for clarifying the mapping part

  • @jakubbukaj4133
    @jakubbukaj4133 6 หลายเดือนก่อน +1

    Thanks it works 🤩

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

    Easy = excellent = thank you.

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

    brilliant very clear great job

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

    Could you possibly make a video about unidirectional tilt switches I have an idea but I can't find out a lot about these type of switches and I love the way you explain things

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

    Wow! Brilliant video i am electronic engineering student and i have been learning arduino but i habe never understood the concept this deep..
    Its my personal and humble request to you sir, please make more arduino videos like this..
    Excellent work! Keep it up Sir!

  • @mojaviex6470
    @mojaviex6470 5 หลายเดือนก่อน +1

    very helpful video

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

    It's simply awesome 👌

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

    This would be cool as a kit to buy I'd love to do this.

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

    I made it and it worked thx

  • @danielmontmeny9880
    @danielmontmeny9880 8 หลายเดือนก่อน +1

    Hey, noticed your diagram says to connect both power and gnd to the same positive rail on the breadboard, from the arduino. did you mean that?

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

    Can u please explain about AC Fundamental and R.L.C Circuit please

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

    Great; Thanks a lot,

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

    Hello Paul, what making some videos on laplace transform and fourier series in engineering

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

    Hello there! I have a question, can I connect the servo motor straight to the arduino and computer to power it? Or do I need a capacitor(i don't really understand how they work yet) or a different power supply to power it? Thanks!

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

    Super 👍

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

    Neat, cool video

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

    OH MY GOD IT WORKS I JUST FIXED MY ARDUINO ITS SO COOL

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

    good for sharing

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

    At 0:56 you've got GND hooked up to the positive rail on the far right.

  • @AKIMANIC
    @AKIMANIC 18 วันที่ผ่านมา +2

    can I do multiple servos? About 4-5 Servos?

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

    I have an arduino, I will try this project.

  • @EduardoGarcia-xt4vi
    @EduardoGarcia-xt4vi ปีที่แล้ว +1

    Do you have a link to the parts?

  • @c2fort.nukeman
    @c2fort.nukeman 7 หลายเดือนก่อน +24

    hey if you do this dont swith up the wireing it may catch on fire i speak from experiance

    • @Elkku34
      @Elkku34 6 หลายเดือนก่อน +4

      Same happened to me

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

      What do u mean by switching the wiring?

    • @dennyhounds8102
      @dennyhounds8102 5 หลายเดือนก่อน +3

      Or you could just know what your doing. I speak from EXPERIENCE

    • @bmdoes_stuff6861
      @bmdoes_stuff6861 4 หลายเดือนก่อน +3

      @@shadishehade8927accidentally plugging the wires in the wrong ports

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

    How do you add multiple servos and how do you loop it?

  • @ayo_casting.86
    @ayo_casting.86 ปีที่แล้ว

    Ini yg saya tunggu 🥰🥰

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

    Could you make a list of the tools and parts needed for this project with links please!

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

    Please can you hel us to explain how cryocooler works

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

    Where exactly is this arduiono servo control problem located that you reference in this video? I have gone to all extensions you reference and can't find. In addition I've tried recreating problem per your video, but can't get it to work. Greg

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

    This is a great tutorial. I copied your work and managed to built the same servo controlling project. Would be awesome if you do similar videos for example on sensors. Thanks.

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

    Can you make a video on how to send data to the phone instead of only receiving? Id like to see the serial monitor on my phone.

  • @paulsteels5207
    @paulsteels5207 2 หลายเดือนก่อน +1

    I am looking for a control board to control fan speed for a model exhaust system for a model tank have an ide speed and when I move the RC stick forward the fan speed gets faster same in reverse when the stick is in in the middle ide happens

  • @Einheit101
    @Einheit101 7 หลายเดือนก่อน +1

    Does that arduino only allow 5v or what happens when i input 10v, somehow the hardware needs to know that 5v is the upper limit

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

    super video

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

    I need video on how program and connect stepper motor on controler

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

    I cant seem to use the servo code with a stepper motor code together, both work on their own but when combined, the stepper motor just stalls, any idea why?

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

    Can anyone help me? I want to build a pair of dual pir activated servos.
    My problem is power.
    The servos are 4.8 to 7.2vdc. I was going to use 2 18650 lithium batteries but its too high at 7.4v.
    I have a L7905 regulator but Im not sure if it can supply the amps needed for 2 sevos under load.
    Could it? Shouod I use it? Would a 6v regulator be ok?
    Or a step down?

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

    sir is this like servo motor?

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

    How to make servo motor reverse and forward using ir remote

  • @user-bv7gg9vg2l
    @user-bv7gg9vg2l ปีที่แล้ว

    это круто.

  • @THELEGENDS-vg9lg
    @THELEGENDS-vg9lg ปีที่แล้ว +1

    Make a video about types of transformer

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

      Well, u got the kind that used to be men, and then you got the kind that used to be women, and I i remember correctly decepticon fits in there somewhere too

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

    I can't have it in the 5v port or it just heats up and doesn't work

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

    Is it posible to manipulate the servo speed when we programmed like this?

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

      Depends on if its a continuous rotation or fixed rotation. A continuous servo will let you control the speed it spins at but it has no way of knowing where its position is. A fixed rotation servo will let you control speed (technically), but also the position of the servo (usually from 0 to 180 degress like in the video).

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

    On the drawing you have ground and the 5 volt on the breadboard in the same rail. Probly not good for the arduino.

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

    What about current driven potentiometer ? It is possible ?

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

      Seen our new Potentiometer Explained video? ➡️ th-cam.com/video/Xb-MZMoUtcQ/w-d-xo.html

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

    Great video. Please make more video with Arduino or ESP32.
    Especially Arduino or ESP32 connected to TFT Display.
    I'm looking for a tutorial that teach how to draw graphic on TFT.
    Most I found on the internet is just code for copy and paste. No teaching or explanation.

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

    umm in this image at 0:57 the ground wire(black wire) also connected to the positive side?

    • @districtlantern514
      @districtlantern514 6 วันที่ผ่านมา

      It must be a mistake obviously, don’t do that, simply put it on the negative rail

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

    Can someone help it keeps saying error uploading?

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

    im getting this error Compilation error: expected unqualified-id before '.' token please help anyone

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

    Is there a bigger Arduino that can handle 12v?

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

      No, You need optocouplers and transistors/relays for that.

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

    Please How to control servo motor by joystick with potentiometer to control the speed

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

      Seen our new Potentiometer Explained video? ➡️ th-cam.com/video/Xb-MZMoUtcQ/w-d-xo.html

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

    Is '1023' significant?

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

      It's the highest number representable by 10 bits (1024 possible values, from 0-1023), seemingly the most common resolution of these boards' analog to digital converters (according to the googles).

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

      @@mascot4950 Thanks for the response. Funny how I didn't catch that when I watched the video. But hindsight and all that 😀

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

    Unfortunately i didn't got notified idk why🙄

  • @r.dasgupta2966
    @r.dasgupta2966 ปีที่แล้ว

    Can you make a video on how to learn Arduino from scratch for free

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

    my coworker and I have prank-battle going which most recently involved sirens tied to timers based on my "im in a meeting" switch. I need to get him back. I'm dreaming up ideas. If anyone has any, i'm all ears. we're both chemical engineers, he's traveling half the time. His office has a fridge, a fancy computer setup, a Culligan water cooler and other basic office stuff. Unfortunately he shares his office with a cool dude that I like, but I'd be willing to have collateral damage lol. I'm not much of a circuits guy yet ( I dabble) but I have been thinking of something like a circuit connected to servos that push his ceiling tiles down onto him (not trying to hurt him though), or flips his keyboard. Or maybe something that is just annoying like a bell that rings when they open their door like a retail store. I'm not sure yet.

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

    Can i use your blueprint background on my YT videos??? @The Engineering Mindset 🥺

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

      No, this is part of our theme. You will have to make your own background and make it unique so people recognise your own theme and channel

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

      Ye.......ah,

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

    hello. what is the point to connect it to an arduino when a servo tester does the same?

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

      Servo tester is manual, you can program the arduino to move automatically

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

      @@EngineeringMindset thank you

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

      It allows users to experience programming and control systems thus opening up opportunities for further experimentation. Cool in my opinion. 🎈

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

      With a servo tester you are limited to just that, but with an Arduino this could be part of a bigger project of which the use of a servo might be just one part. I think this video is more about how to interface with a servo, rather than as a Standalone project.

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

    your ground wire is not connected right it almost fried my arduino

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

    please what's your name?

  • @user-do1di1be5l
    @user-do1di1be5l ปีที่แล้ว +2

    Sir please make a video how to connect a 11 pin timer relay 😑😑

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

    How conect 3-380v electro-mag-fan controller.
    Cooper wire 2/0:4/0awg 3phase cable 🤍

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

    🤝🏻

  • @harman.6124
    @harman.6124 ปีที่แล้ว

    hloooo

  • @solimancedricgil6782
    @solimancedricgil6782 6 หลายเดือนก่อน +1

    Don't connect the servo motor from 5v trust me it will fry your arduino

  • @Mr.chandan
    @Mr.chandan ปีที่แล้ว

    send me merch

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

    Solar cell 🤔🤔🤔🤔🤔

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

      Seen our new video on HOW SOLAR PANELS WORK in detail th-cam.com/video/Yxt72aDjFgY/w-d-xo.html