Motor Driver | How to use Arduino Motor Shield to drive different types of DC Motors Part 2 | Ut Go

  Рет қаралды 32,320

UtGo Tech

UtGo Tech

Күн бұрын

Learn about Arduino Motor Shield and how to use to drive different types of DC Motors.
In part 1 you will learn how to control simple dc motors. In part 2 you will learn to control stepper motor and servo motor.
Follow Us❤️/ Contact :
Instagram: / utgo_tech
Telegram: t.me/UtGoTech
------------------------------------------------------------------------
Components Link:
Arduino Uno Board : amzn.to/3GwFuS0
Arduino Motor Shield: amzn.to/3QuCyKa
Simple DC Motor : amzn.to/3XfkOVi
Stepper Motor : amzn.to/3k8qylv
Servo Motor : amzn.to/3CHEYQ1
12V Power Adapter : amzn.to/3vTTWhM
Library used: Adafruit Motor Shield V1 Library.
Other Videos and Tutorials Links :
• How to make Heartbeat ... : How to make heartbeat monitoring device
• What is MAX30102 and h... : How to use MAX30102 Sensor
• How to use OLED with A... : How to use OLED Display
• How to use Liquid Cry... : How to use Liquid Crystal Display | LCD
• HOW TO USE I2C LCD DIS... : HOW TO USE I2C LCD DISPLAY
• How to use RFID CARD R... : How to use RFID CARD READER
• DigiSpark Tutorial - I... : DigiSpark Tutorial
• How to program ESP8266... : How to program ESP8266 using Arduino IDE
• How to host web pages ... : How to host web pages using ESP8266
Thanks for watching this Video. If you liked this video then hit the LIKE button and share it.
Please share your questions, suggestions and thoughts regarding this project in the comment section below :)
Need any help, ask in the comment section
.
If you want to support me then please subscribe to my KZbin Channel
-- bit.ly/34GtRnZ
Thanks, see you again in my next tutorial.
Here my Social Links:
Twitter: / utgo2
Facebook: / ut.go.524
Instagram : / utgo_tech
Like | Share | Subscribe | Comment
#Arduino #Motor #Shield #MotorShield #Robot #Controller #Driver #MotorDriver #DCMotor
Music: www.bensound.com
Song: Atch - Daydream
Music provided by Vlog No Copyright Music.
Creative Commons - Attribution-ShareAlike 3.0 Unported
Video Link: • Atch - Daydream (Vlog ...
#NoCopyrightMusic #VlogMusic #VlogNoCopyrightMusic

Пікірлер: 103
@mhonnczedz1
@mhonnczedz1 Жыл бұрын
Thank you so much, my man! I have just entered the world of arduino and these are the kind of tutorials that make life easier. Thank you very much!
@UtGoTech
@UtGoTech Жыл бұрын
Welcome
@giri.phonems2228
@giri.phonems2228 Жыл бұрын
Thank you very much for this tutorial. The explanation was very good. It was at a pace we could follow step by step. I was able to drive CD/DVD stepper motor and servo from the shield shown.
@UtGoTech
@UtGoTech Жыл бұрын
Welcome👍
@NothingBootz
@NothingBootz 2 жыл бұрын
Everything works! Thank you for making this video!
@UtGoTech
@UtGoTech 2 жыл бұрын
Welcome👍
@snax_4820
@snax_4820 3 жыл бұрын
Great tutorial - totally underrated.
@UtGoTech
@UtGoTech 3 жыл бұрын
Thanks
@guide_line8711
@guide_line8711 4 жыл бұрын
Very simple but highly useful .. carry on
@UtGoTech
@UtGoTech 3 жыл бұрын
Thanks👍
@wojciechz2607
@wojciechz2607 4 жыл бұрын
Perfect job. Thank U!
@UtGoTech
@UtGoTech 3 жыл бұрын
Welcome 👍
@stanislavamolnarova798
@stanislavamolnarova798 Жыл бұрын
Very helpful. Thank you👍
@UtGoTech
@UtGoTech Жыл бұрын
Welcome👍
@michaelwest7822
@michaelwest7822 3 жыл бұрын
Very clear instructions... Thank You..
@UtGoTech
@UtGoTech 3 жыл бұрын
Welcome 👍
@MrRenoman2011
@MrRenoman2011 2 жыл бұрын
another great video thanks
@UtGoTech
@UtGoTech 2 жыл бұрын
Welcome
@UzunKamis
@UzunKamis 2 жыл бұрын
Is it possible to run 2 stepper motors simultaneously? When I use `stepper1.step(250, FORWARD, MICROSTEP); stepper2.step(250, FORWARD, MICROSTEP);´ First stepper1 runs and then stepper2 runs. I need to run both at the same time if possible. Should I use loops for this?
@UtGoTech
@UtGoTech 2 жыл бұрын
This way you can't control both stepper motors simultaneously. You have to use different coding. Yes you can make it using loops.
@moneyatenot7405
@moneyatenot7405 Жыл бұрын
Hello first of all great video Im having an issue Im connecting a 28BYJ-48 Stepper motor (I have checked the connections many times) and im powering the shield with a 12V 2A adapter It doesn't rotate nor vibrate only it heats up I was earlier using 2 nema17 motors and those weren't doing anything Pls suggest me what am I doing wrong is it the supply issue or is my shield broken? Ps - the led on shield does glow when powered with external supply i have also unshorted the pwr pins
@UtGoTech
@UtGoTech Жыл бұрын
Disconnect any load from 28BYJ-48 Stepper motor then try to operate it.
@wallpapermaster1258
@wallpapermaster1258 4 жыл бұрын
nice work bro ,keep it doing
@UtGoTech
@UtGoTech 3 жыл бұрын
Thanks👍
@zynospark6764
@zynospark6764 Жыл бұрын
Can u still use servo motors and Bluetooth with this shield? I've just noticed that some tutorials connect the Bluetooth module to the servo headers.
@UtGoTech
@UtGoTech Жыл бұрын
I haven't tried it yet but I think it is possible.
@ashamt4944
@ashamt4944 2 жыл бұрын
thank you. can i connect a key to Arduino when i use this shield? what are free pins for input control?
@UtGoTech
@UtGoTech 2 жыл бұрын
Analog pins are free to use.
@nilimakulkarni4541
@nilimakulkarni4541 Жыл бұрын
Sir,vdo is quite helpful. i want to interface 4 servos at a time to arduino either UNO or nano. how it can be done? please guide.
@UtGoTech
@UtGoTech Жыл бұрын
It's very simple and doesn't require a motor shield. You have to connect digital pins with servo signal pins and in code make 4 objects of servo.
@vanezone
@vanezone Жыл бұрын
would prefer you explaining different command for the servo motor
@UtGoTech
@UtGoTech Жыл бұрын
Ok I will plan.
@bharathchandra2006
@bharathchandra2006 2 жыл бұрын
Can we use mg 995 instead of servo in shield???
@UtGoTech
@UtGoTech 2 жыл бұрын
Yes you can use.
@mominfaisalanjum5772
@mominfaisalanjum5772 2 жыл бұрын
Hey bro its very help full video First time i ever learn how to code! But there is a problem with my code, my motors run one and after each other not simultaneously.. how could i run them together?
@UtGoTech
@UtGoTech 2 жыл бұрын
You have to write proper code that.
@seditiousmonkeyart
@seditiousmonkeyart 4 жыл бұрын
Well done. One of the best introductions to servo motors and the controller shield I have seen. You kept it simple and to the point. Looking forward to following you and watching your other videos. I'd like to see a video from you building a 2D plotter from the DVD stepper motors. I think you would do a good job explaining it.
@UtGoTech
@UtGoTech 3 жыл бұрын
Sure 👍
@techg.s.galaris2771
@techg.s.galaris2771 3 жыл бұрын
Nice and helpful video.
@UtGoTech
@UtGoTech 3 жыл бұрын
Thanks and welcome👍
@abdullahfaruk2667
@abdullahfaruk2667 3 жыл бұрын
Which battery did u use?
@UtGoTech
@UtGoTech 3 жыл бұрын
Lithium ion battery
@mertcabilar
@mertcabilar 3 жыл бұрын
If I feed the shield with 12v, and have a servo of 5V, does the shield do the regulation? Or should I concern my voltage and use a regulator?
@UtGoTech
@UtGoTech 3 жыл бұрын
No need to worry. Servo power is connected to 5volt rail of Arduino board.
@mertcabilar
@mertcabilar 3 жыл бұрын
@@UtGoTech one last question, if I power my arduino, can I still benefit the shields amper limit or do I have to externally power the shield for using its ampere boost? Thanks in advance man, you’ve helped me more than you can imagine.
@pratikjambotkar4626
@pratikjambotkar4626 2 жыл бұрын
Sir I want to run two stepper motor with two respective potentiometer for speed and direction limit switch respectively ... It is possible please help me
@UtGoTech
@UtGoTech 2 жыл бұрын
Yes it is possible.
@pratikjambotkar4626
@pratikjambotkar4626 2 жыл бұрын
@@UtGoTech sir can you tell how to connect two pot and limit switch for direction of two stepper
@UtGoTech
@UtGoTech 2 жыл бұрын
You can use free pins to take input from pot and switch.
@ridhimathakur9350
@ridhimathakur9350 Жыл бұрын
Sir, for my project i have to control 2 servis using buttons pls if yiu make a vedio for it. I will bevery thankfull to you
@UtGoTech
@UtGoTech Жыл бұрын
Looking forward to it.
@АнтонРудченко-ю1р
@АнтонРудченко-ю1р 2 жыл бұрын
But if I need to give external power source of 21 V 0.5 A, can I still remove the jumper so arduino could be powered through the motor driver?
@UtGoTech
@UtGoTech 2 жыл бұрын
21 Volt will damage the boards.
@АнтонРудченко-ю1р
@АнтонРудченко-ю1р 2 жыл бұрын
@@UtGoTech but is spec it was said that this driver can handle up to 36v
@UtGoTech
@UtGoTech 2 жыл бұрын
Yes it can handle. But Arduino board cannot handle for long time
@АнтонРудченко-ю1р
@АнтонРудченко-ю1р 2 жыл бұрын
@@UtGoTech But if to unplug the pin this voltage should not be transfered to arduino, it will be given to motor only, no?
@UtGoTech
@UtGoTech 2 жыл бұрын
Remove the jumper if you want to power up your shield using higher voltages.
@darwin3615
@darwin3615 3 жыл бұрын
use ful video ! how to use arduino input pins , now that the shield is sitting on it ? pls help
@UtGoTech
@UtGoTech 3 жыл бұрын
Your can use pins A0 to A5 and pin 2 and 13
@darwin3615
@darwin3615 3 жыл бұрын
@@UtGoTech by soldering on the shield ? sry im new to this
@UtGoTech
@UtGoTech 3 жыл бұрын
Yes
@cliffordfaria4412
@cliffordfaria4412 3 жыл бұрын
What is the function of 74HC595 in L293D Shield?
@UtGoTech
@UtGoTech 3 жыл бұрын
The 74HC595 is a serial in parallel out shift register which is used to control two L293D motor driver IC.
@mech761
@mech761 Жыл бұрын
Hi! How to control 2 stepper motors at the same time! If possible, a sample program.
@UtGoTech
@UtGoTech Жыл бұрын
Just initiate 2 stepper objects and control them seperatelty.
@mech761
@mech761 Жыл бұрын
@@UtGoTech Thank you for your reply! Could you please give some example sketch how to do it. I am a beginner. I'm trying to figure it out. Thank you!
@UtGoTech
@UtGoTech Жыл бұрын
There are various libraries to control multiple stepper motors simultaneously. Just Google it and you are good to go.
@738shani
@738shani 3 жыл бұрын
Thank you
@UtGoTech
@UtGoTech 3 жыл бұрын
Welcome
@vivaanbhasin3192
@vivaanbhasin3192 2 жыл бұрын
Can I use the 12v adapter to run the Arduino
@UtGoTech
@UtGoTech 2 жыл бұрын
Yes
@vivaanbhasin3192
@vivaanbhasin3192 2 жыл бұрын
@@UtGoTech thank you
@UtGoTech
@UtGoTech 2 жыл бұрын
Welcome
@vivaanbhasin3192
@vivaanbhasin3192 2 жыл бұрын
@@UtGoTech Sorry to disturb again but when I uploaded the code it.got uploaded but the motor 3 was not receiving power I also checked it with a bulb
@vivaanbhasin3192
@vivaanbhasin3192 2 жыл бұрын
I used a servo and it was working But the motor was not
@ajitharrhenius691
@ajitharrhenius691 7 ай бұрын
What’s the supply voltage given to the shield ?
@UtGoTech
@UtGoTech 7 ай бұрын
6 volts to 12 volts
@ajitharrhenius691
@ajitharrhenius691 7 ай бұрын
@@UtGoTech I am using a 9V battery(radio battery) to drive 4 dc motors, but the motors doesn’t rotate. Then I changed to 4 AA cells in series. Even then it doesn’t rotate.(I had given separate supply for Arduino through USB then it works)
@UtGoTech
@UtGoTech 7 ай бұрын
You have to use a lithium based battery
@Geektopro
@Geektopro 2 жыл бұрын
Hey hope you are doing great. I got a few questions hope you'll reply. The library you've talked about in the earlier video to download works only with the Arduino shield or can we download that library and code our motors using that library (syntax) and get our job done without the sheild?
@UtGoTech
@UtGoTech 2 жыл бұрын
No. Library is specifically made for the hardware present in the motor shield.
@ChandanRoy-oc7kq
@ChandanRoy-oc7kq 2 жыл бұрын
Agar motar ko enach me chalana ho to codiga kaese karege sar
@UtGoTech
@UtGoTech 2 жыл бұрын
You can use same function to achieve your requirements.
@ashutoshdwi
@ashutoshdwi Жыл бұрын
Can you show the code where you are controlling both the stepper and dc motor?
@UtGoTech
@UtGoTech Жыл бұрын
Currently I don't have have code
@sowhardo_islam
@sowhardo_islam 4 ай бұрын
Can you give me code
@UtGoTech
@UtGoTech 4 ай бұрын
You can find code in the Example sketch of the Arduino IDE
@seanieg
@seanieg 2 жыл бұрын
Thanks for the great video! Can you control stepper motors with Amazon Alexa? I want to make a drawer open and close on command. Thanks for your help.
@UtGoTech
@UtGoTech 2 жыл бұрын
Yes it is possible to control with Amazon Alexa.
@el_skiller21
@el_skiller21 4 жыл бұрын
How you run 2 stepper motors at the same time? PLS help
@UtGoTech
@UtGoTech 4 жыл бұрын
I have used onestep function to operate two stepper motor simultaneously
@karabomaila1770
@karabomaila1770 3 жыл бұрын
❤❤❤
@UzunKamis
@UzunKamis 2 жыл бұрын
Part 1: kzbin.info/www/bejne/enTUp4aMg55pgs0 Part 2: kzbin.info/www/bejne/gp3JiZmNrNSCa5I
@UtGoTech
@UtGoTech 2 жыл бұрын
?
@UzunKamis
@UzunKamis 2 жыл бұрын
@@UtGoTech For those who need to watch P1 and P2 back and forth...
@UtGoTech
@UtGoTech 2 жыл бұрын
There is also a Full tutorial.
@villvamalar9056
@villvamalar9056 3 жыл бұрын
email address please
@UtGoTech
@UtGoTech 3 жыл бұрын
You can contact me on my telegram account @UtGoTech
Motor Driver in depth | H-Bridge | L293D, L298N, TB6612FNG, VNH2SP30
12:50
Try this prank with your friends 😂 @karina-kola
00:18
Andrey Grechka
Рет қаралды 9 МЛН
Каха и дочка
00:28
К-Media
Рет қаралды 3,4 МЛН
Make a TINY Arduino Drone with FPV Camera - Will It Fly?
20:26
Max Imagination
Рет қаралды 1,6 МЛН
Beginners Guide To Using Large Stepper Motors: #087
19:49
Jeremy Fielding
Рет қаралды 309 М.
Driving DC Motors with Microcontrollers
1:04:32
DroneBot Workshop
Рет қаралды 743 М.
Arduino Uno Gets Its BIGGEST Upgrade In 12 Years
11:49
Electronoobs
Рет қаралды 101 М.
Stepper Motors and Arduino - The Ultimate Guide
29:57
How To Mechatronics
Рет қаралды 1,3 МЛН
This Device is very helpful ,, you can make at home
6:47
Inventor AW
Рет қаралды 957 М.
Try this prank with your friends 😂 @karina-kola
00:18
Andrey Grechka
Рет қаралды 9 МЛН