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

Sdílet
Vložit
  • čas přidán 26. 06. 2020
  • 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 CZcams 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
  • Věda a technologie

Komentáře • 103

  • @NothingBootz
    @NothingBootz Před 2 lety

    Everything works! Thank you for making this video!

  • @wojciechz2607
    @wojciechz2607 Před 3 lety +1

    Perfect job. Thank U!

  • @giri.phonems2228
    @giri.phonems2228 Před rokem +1

    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.

  • @mhonnczedz1
    @mhonnczedz1 Před rokem +1

    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!

  • @snax_4820
    @snax_4820 Před 2 lety

    Great tutorial - totally underrated.

  • @michaelwest7822
    @michaelwest7822 Před 3 lety

    Very clear instructions... Thank You..

  • @guide_line8711
    @guide_line8711 Před 3 lety

    Very simple but highly useful .. carry on

  • @stanislavamolnarova798

    Very helpful.
    Thank you👍

  • @techg.s.galaris2771
    @techg.s.galaris2771 Před 3 lety

    Nice and helpful video.

  • @MrRenoman2011
    @MrRenoman2011 Před rokem

    another great video thanks

  • @wallpapermaster1258
    @wallpapermaster1258 Před 3 lety +1

    nice work bro ,keep it doing

  • @shaheerriaz3024
    @shaheerriaz3024 Před 2 lety

    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  Před 2 lety

      No. Library is specifically made for the hardware present in the motor shield.

  • @738shani
    @738shani Před 3 lety

    Thank you

  • @nilimakulkarni4541
    @nilimakulkarni4541 Před 8 měsíci

    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  Před 8 měsíci

      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.

  • @ashamt4944
    @ashamt4944 Před 2 lety

    thank you. can i connect a key to Arduino when i use this shield? what are free pins for input control?

    • @UtGoTech
      @UtGoTech  Před 2 lety

      Analog pins are free to use.

  • @mominfaisalanjum5772
    @mominfaisalanjum5772 Před 2 lety

    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  Před 2 lety

      You have to write proper code that.

  • @seditiousmonkeyart
    @seditiousmonkeyart Před 3 lety

    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.

  • @moneyatenot7405
    @moneyatenot7405 Před rokem

    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  Před rokem

      Disconnect any load from 28BYJ-48 Stepper motor then try to operate it.

  • @karabomaila1770
    @karabomaila1770 Před 2 lety

    ❤❤❤

  • @cliffordfaria4412
    @cliffordfaria4412 Před 2 lety +1

    What is the function of 74HC595 in L293D Shield?

    • @UtGoTech
      @UtGoTech  Před 2 lety +1

      The 74HC595 is a serial in parallel out shift register which is used to control two L293D motor driver IC.

  • @zynospark6764
    @zynospark6764 Před rokem

    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  Před rokem

      I haven't tried it yet but I think it is possible.

  • @seanieg
    @seanieg Před 2 lety

    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  Před 2 lety

      Yes it is possible to control with Amazon Alexa.

  • @UzunKamis
    @UzunKamis Před rokem

    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  Před rokem +1

      This way you can't control both stepper motors simultaneously. You have to use different coding. Yes you can make it using loops.

  • @mertcabilar
    @mertcabilar Před 3 lety

    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  Před 3 lety +2

      No need to worry. Servo power is connected to 5volt rail of Arduino board.

    • @mertcabilar
      @mertcabilar Před 3 lety

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

  • @ridhimathakur9350
    @ridhimathakur9350 Před rokem

    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

  • @el_skiller21
    @el_skiller21 Před 3 lety

    How you run 2 stepper motors at the same time? PLS help

    • @UtGoTech
      @UtGoTech  Před 3 lety

      I have used onestep function to operate two stepper motor simultaneously

  • @bharathchandra2006
    @bharathchandra2006 Před rokem

    Can we use mg 995 instead of servo in shield???

  • @abdullahfaruk2667
    @abdullahfaruk2667 Před 2 lety

    Which battery did u use?

  • @vanezone
    @vanezone Před rokem

    would prefer you explaining different command for the servo motor

  • @darwin3615
    @darwin3615 Před 2 lety

    use ful video ! how to use arduino input pins , now that the shield is sitting on it ? pls help

    • @UtGoTech
      @UtGoTech  Před 2 lety +1

      Your can use pins A0 to A5 and pin 2 and 13

    • @darwin3615
      @darwin3615 Před 2 lety

      @@UtGoTech by soldering on the shield ? sry im new to this

    • @UtGoTech
      @UtGoTech  Před 2 lety +1

      Yes

  • @ChandanRoy-oc7kq
    @ChandanRoy-oc7kq Před rokem

    Agar motar ko enach me chalana ho to codiga kaese karege sar

    • @UtGoTech
      @UtGoTech  Před rokem

      You can use same function to achieve your requirements.

  • @pratikjambotkar4626
    @pratikjambotkar4626 Před 2 lety

    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  Před 2 lety +1

      Yes it is possible.

    • @pratikjambotkar4626
      @pratikjambotkar4626 Před 2 lety

      @@UtGoTech sir can you tell how to connect two pot and limit switch for direction of two stepper

    • @UtGoTech
      @UtGoTech  Před 2 lety

      You can use free pins to take input from pot and switch.

  • @user-sj6hn3lb8t
    @user-sj6hn3lb8t Před 2 lety

    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  Před 2 lety

      21 Volt will damage the boards.

    • @user-sj6hn3lb8t
      @user-sj6hn3lb8t Před 2 lety

      @@UtGoTech but is spec it was said that this driver can handle up to 36v

    • @UtGoTech
      @UtGoTech  Před 2 lety

      Yes it can handle. But Arduino board cannot handle for long time

    • @user-sj6hn3lb8t
      @user-sj6hn3lb8t Před 2 lety

      @@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  Před 2 lety

      Remove the jumper if you want to power up your shield using higher voltages.

  • @Kunal-1001
    @Kunal-1001 Před 11 měsíci

    i cant find the example servo

    • @UtGoTech
      @UtGoTech  Před 11 měsíci

      In Arduino IDE goto File -> Examples -> Servo.

  • @mech761
    @mech761 Před 8 měsíci

    Hi!
    How to control 2 stepper motors at the same time! If possible, a sample program.

    • @UtGoTech
      @UtGoTech  Před 8 měsíci

      Just initiate 2 stepper objects and control them seperatelty.

    • @mech761
      @mech761 Před 8 měsíci

      @@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  Před 8 měsíci

      There are various libraries to control multiple stepper motors simultaneously. Just Google it and you are good to go.

  • @ajitharrhenius691
    @ajitharrhenius691 Před 14 dny

    What’s the supply voltage given to the shield ?

    • @UtGoTech
      @UtGoTech  Před 14 dny

      6 volts to 12 volts

    • @ajitharrhenius691
      @ajitharrhenius691 Před 13 dny

      @@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  Před 13 dny +1

      You have to use a lithium based battery

  • @vivaanbhasin3192
    @vivaanbhasin3192 Před 2 lety

    Can I use the 12v adapter to run the Arduino

    • @UtGoTech
      @UtGoTech  Před 2 lety

      Yes

    • @vivaanbhasin3192
      @vivaanbhasin3192 Před 2 lety

      @@UtGoTech thank you

    • @UtGoTech
      @UtGoTech  Před 2 lety

      Welcome

    • @vivaanbhasin3192
      @vivaanbhasin3192 Před 2 lety

      @@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 Před 2 lety

      I used a servo and it was working But the motor was not

  • @ashutoshdwi
    @ashutoshdwi Před rokem

    Can you show the code where you are controlling both the stepper and dc motor?

    • @UtGoTech
      @UtGoTech  Před rokem

      Currently I don't have have code

  • @UzunKamis
    @UzunKamis Před rokem

    Part 1: czcams.com/video/DCqvSVN96Lk/video.html
    Part 2: czcams.com/video/LlfXfWwoO50/video.html

    • @UtGoTech
      @UtGoTech  Před rokem

      ?

    • @UzunKamis
      @UzunKamis Před rokem

      @@UtGoTech For those who need to watch P1 and P2 back and forth...

    • @UtGoTech
      @UtGoTech  Před rokem

      There is also a Full tutorial.

  • @villvamalar9056
    @villvamalar9056 Před 3 lety

    email address please

    • @UtGoTech
      @UtGoTech  Před 3 lety

      You can contact me on my telegram account @UtGoTech