How to Control a Servo With an Arduino

  Рет қаралды 249,467

The Engineering Mindset

The Engineering Mindset

2 жыл бұрын

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...

Пікірлер: 106
@EngineeringMindset
@EngineeringMindset 2 жыл бұрын
*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: kzfaq.info/love/k0fGHsCEzGig-rSzkfCjMwjoin Patreon: www.patreon.com/theengineeringmindset
@josearellano7192
@josearellano7192 2 жыл бұрын
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. 2 жыл бұрын
I appreciate everything you do for your followers.
@uranus862
@uranus862 2 жыл бұрын
I absolutely love these videos. They are so helpful, I hope that there will be more like these in the future.
@andycrask3531
@andycrask3531 2 жыл бұрын
Great work Paul, keep it up, especially find your HVAC ones useful.
@lukemitchell7414
@lukemitchell7414 2 жыл бұрын
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.
@cheesypizzajokes
@cheesypizzajokes Жыл бұрын
My partner is saying you didn't help us at all, but we were following your vid the whole time. Thanks man!
@P.deJong
@P.deJong 5 ай бұрын
Very clear instructions, worked first try!
@ITSALLELECTRONICS
@ITSALLELECTRONICS 3 ай бұрын
thankyou so much for clarifying the mapping part
@jakubbukaj4133
@jakubbukaj4133 7 ай бұрын
Thanks it works 🤩
@Voxpoppin
@Voxpoppin 2 жыл бұрын
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.
@user-et8xd6ji4t
@user-et8xd6ji4t 6 ай бұрын
This is a really great video Completely explained with awesome animations you are truly a legend.
@mychanel237
@mychanel237 Жыл бұрын
Guy I love your videos its acually working.
@Wonder_Ninja
@Wonder_Ninja 2 жыл бұрын
It's simply awesome 👌
@gionataharwood
@gionataharwood 3 ай бұрын
brilliant very clear great job
@t1d100
@t1d100 2 жыл бұрын
Easy = excellent = thank you.
@timhvac6869
@timhvac6869 2 жыл бұрын
This would be cool as a kit to buy I'd love to do this.
@mojaviex6470
@mojaviex6470 7 ай бұрын
very helpful video
@c2fort.nukeman
@c2fort.nukeman 9 ай бұрын
hey if you do this dont swith up the wireing it may catch on fire i speak from experiance
@Elkku34
@Elkku34 8 ай бұрын
Same happened to me
@shadishehade8927
@shadishehade8927 7 ай бұрын
What do u mean by switching the wiring?
@dennyhounds8102
@dennyhounds8102 7 ай бұрын
Or you could just know what your doing. I speak from EXPERIENCE
@bmdoes_stuff6861
@bmdoes_stuff6861 6 ай бұрын
@@shadishehade8927accidentally plugging the wires in the wrong ports
@YuvrajShah-xx4de
@YuvrajShah-xx4de Ай бұрын
@@bmdoes_stuff6861that can be said for just about any electrical component with a bias.
@cyrusjam4422
@cyrusjam4422 2 жыл бұрын
Great; Thanks a lot,
@shashikantsingh6555
@shashikantsingh6555 2 жыл бұрын
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!
@Spiderman-g5x
@Spiderman-g5x 5 ай бұрын
I made it and it worked thx
@connor_buckaloo77
@connor_buckaloo77 2 жыл бұрын
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
@HoveyFarms
@HoveyFarms 2 жыл бұрын
Neat, cool video
@spotecasting
@spotecasting 2 жыл бұрын
Ini yg saya tunggu 🥰🥰
@electronic7979
@electronic7979 2 жыл бұрын
Super 👍
@Erich200M
@Erich200M 2 жыл бұрын
good for sharing
@Khobalt664
@Khobalt664 2 жыл бұрын
At 0:56 you've got GND hooked up to the positive rail on the far right.
@SuperHunteeYoutube
@SuperHunteeYoutube 4 ай бұрын
OH MY GOD IT WORKS I JUST FIXED MY ARDUINO ITS SO COOL
@uzumakiprobot14
@uzumakiprobot14 2 жыл бұрын
Can u please explain about AC Fundamental and R.L.C Circuit please
@JessAnalysisTV
@JessAnalysisTV 2 жыл бұрын
I have an arduino, I will try this project.
@dibyojyotibhattacherjee897
@dibyojyotibhattacherjee897 2 жыл бұрын
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!
@danielmontmeny9880
@danielmontmeny9880 10 ай бұрын
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?
@comperator2323
@comperator2323 2 жыл бұрын
super video
@AKIMANIC_SKETCHYBOI
@AKIMANIC_SKETCHYBOI 2 ай бұрын
can I do multiple servos? About 4-5 Servos?
@AbdulRehman-nt6yr
@AbdulRehman-nt6yr 13 күн бұрын
Yes, it's doable.
@EduardoGarcia-xt4vi
@EduardoGarcia-xt4vi Жыл бұрын
Do you have a link to the parts?
@paulsteels5207
@paulsteels5207 4 ай бұрын
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
@mecetryengineer1850
@mecetryengineer1850 2 жыл бұрын
Please can you hel us to explain how cryocooler works
@Einheit101
@Einheit101 9 ай бұрын
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
@love2learn-itsastorynotasu40
@love2learn-itsastorynotasu40 Жыл бұрын
THANK YOU FOR MAKING THIS VIDEO THIS HELPED ME SO MUCH !!!!!
@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.
@laillaburka3392
@laillaburka3392 6 ай бұрын
Could you make a list of the tools and parts needed for this project with links please!
@LTMrr
@LTMrr 9 ай бұрын
How do you add multiple servos and how do you loop it?
@user-bv7gg9vg2l
@user-bv7gg9vg2l 2 жыл бұрын
это круто.
@THELEGENDS-vg9lg
@THELEGENDS-vg9lg 2 жыл бұрын
Make a video about types of transformer
@PerilNotion
@PerilNotion 7 ай бұрын
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
@Kattoe
@Kattoe 10 ай бұрын
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.
@csmyfavoritecompany1213
@csmyfavoritecompany1213 6 ай бұрын
I need video on how program and connect stepper motor on controler
@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?
@ytivarg2094
@ytivarg2094 4 ай бұрын
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
@haideremtiazuddin4125
@haideremtiazuddin4125 2 жыл бұрын
sir is this like servo motor?
@jumbo999614
@jumbo999614 2 жыл бұрын
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.
@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?
@Rajput025
@Rajput025 2 жыл бұрын
How to make servo motor reverse and forward using ir remote
@tyfinancial
@tyfinancial 10 ай бұрын
What about current driven potentiometer ? It is possible ?
@EngineeringMindset
@EngineeringMindset 6 ай бұрын
Seen our new Potentiometer Explained video? ➡️ kzfaq.info/get/bejne/jshdgL1-1LvYk4U.html
@akashsunil7464
@akashsunil7464 Ай бұрын
Why couldnt we connect 3rd terminal of the potentiometer to one of of the digital pins
@nguyenzero1405
@nguyenzero1405 23 күн бұрын
sorry how calculate number 1024 for angle need go?
@aryasatyoa.r.339
@aryasatyoa.r.339 Ай бұрын
How to make it move back and forth without turning the potentiometer?
@richardlarsson4133
@richardlarsson4133 2 жыл бұрын
On the drawing you have ground and the 5 volt on the breadboard in the same rail. Probly not good for the arduino.
@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).
@AstroFifl
@AstroFifl Жыл бұрын
I can't have it in the 5v port or it just heats up and doesn't work
@gameplayguide2299
@gameplayguide2299 2 ай бұрын
umm in this image at 0:57 the ground wire(black wire) also connected to the positive side?
@districtlantern514
@districtlantern514 Ай бұрын
It must be a mistake obviously, don’t do that, simply put it on the negative rail
@zenwheat
@zenwheat 2 жыл бұрын
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.
@ravisundar9853
@ravisundar9853 2 жыл бұрын
Please How to control servo motor by joystick with potentiometer to control the speed
@EngineeringMindset
@EngineeringMindset 6 ай бұрын
Seen our new Potentiometer Explained video? ➡️ kzfaq.info/get/bejne/jshdgL1-1LvYk4U.html
@r.dasgupta2966
@r.dasgupta2966 2 жыл бұрын
Can you make a video on how to learn Arduino from scratch for free
@nani_alpha
@nani_alpha 2 жыл бұрын
Unfortunately i didn't got notified idk why🙄
@jasonseib5066
@jasonseib5066 Жыл бұрын
Is there a bigger Arduino that can handle 12v?
@muflah
@muflah 7 ай бұрын
No, You need optocouplers and transistors/relays for that.
@wolfVRYT
@wolfVRYT 2 ай бұрын
Can someone help it keeps saying error uploading?
@traveler8696
@traveler8696 2 жыл бұрын
Is '1023' significant?
@mascot4950
@mascot4950 Жыл бұрын
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 😀
@user-do1di1be5l
@user-do1di1be5l 2 жыл бұрын
Sir please make a video how to connect a 11 pin timer relay 😑😑
@voiderz42
@voiderz42 Жыл бұрын
im getting this error Compilation error: expected unqualified-id before '.' token please help anyone
@melreyes8461
@melreyes8461 2 жыл бұрын
Can i use your blueprint background on my YT videos??? @The Engineering Mindset 🥺
@EngineeringMindset
@EngineeringMindset 2 жыл бұрын
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 7 ай бұрын
Ye.......ah,
@Trolleydolly130
@Trolleydolly130 2 жыл бұрын
hello. what is the point to connect it to an arduino when a servo tester does the same?
@EngineeringMindset
@EngineeringMindset 2 жыл бұрын
Servo tester is manual, you can program the arduino to move automatically
@Trolleydolly130
@Trolleydolly130 2 жыл бұрын
@@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.
@ketanmorajker
@ketanmorajker 2 жыл бұрын
🤝🏻
@letsgo238
@letsgo238 3 ай бұрын
your ground wire is not connected right it almost fried my arduino
@ganiyumujeeb3393
@ganiyumujeeb3393 2 жыл бұрын
please what's your name?
@harman.6124
@harman.6124 2 жыл бұрын
hloooo
@crypcase150
@crypcase150 2 жыл бұрын
How conect 3-380v electro-mag-fan controller. Cooper wire 2/0:4/0awg 3phase cable 🤍
@aaravahlawat
@aaravahlawat 19 күн бұрын
does nto work
@EngineeringMindset
@EngineeringMindset 18 күн бұрын
It worked fine when I made the video. Check over your connections and code.
@Mr.chandan
@Mr.chandan 2 жыл бұрын
send me merch
@solimancedricgil6782
@solimancedricgil6782 8 ай бұрын
Don't connect the servo motor from 5v trust me it will fry your arduino
@sdthomson10
@sdthomson10 2 күн бұрын
It does not work Edit: JK I FORGOT TO PLUG THE AUDRINO INTO MY PC LOL
@relaxingwater6779
@relaxingwater6779 2 күн бұрын
Maybe your using another language in the Arduino ide
@peopleicat115
@peopleicat115 2 жыл бұрын
Solar cell 🤔🤔🤔🤔🤔
@EngineeringMindset
@EngineeringMindset 9 ай бұрын
Seen our new video on HOW SOLAR PANELS WORK in detail kzfaq.info/get/bejne/j96kapWSqdCql40.html
Servo Motors, how do they work?
15:12
The Engineering Mindset
Рет қаралды 1,9 МЛН
Using Servo Motors with Arduino
43:06
DroneBot Workshop
Рет қаралды 1,4 МЛН
Задержи дыхание дольше всех!
00:42
Аришнев
Рет қаралды 3,2 МЛН
Playing hide and seek with my dog 🐶
00:25
Zach King
Рет қаралды 33 МЛН
Arduino MASTERCLASS | Full Programming Workshop in 90 Minutes!
1:25:31
Programming Electronics Academy
Рет қаралды 2,4 МЛН
Try these 16 Brilliant ESP32 projects!!!
11:18
ToP Projects Compilation
Рет қаралды 556 М.
Arduino Tutorial 30: Understanding and Using Servos in Projects
18:05
Paul McWhorter
Рет қаралды 239 М.
HYDRAULIC PRESS VS ARMOR, USA AND RUSSIA
10:16
Crazy Hydraulic Press
Рет қаралды 140 М.
I tried the Cheapest Arduino Alternative (that Nobody heard of)
13:31
How to Control a 12V Motor with Arduino: Easy Wiring & Code Examples
44:13
Arduino Servo Control: How to Make a Laser Turret with XOD
12:32
Afrotechmods
Рет қаралды 947 М.
Operating a Servo Without an #arduino!
0:26
THE ELECTRONIC GUY
Рет қаралды 117 М.
How Stepper Motors Work - Electric motor
14:01
The Engineering Mindset
Рет қаралды 1 МЛН