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

แชร์
ฝัง
  • เผยแพร่เมื่อ 26 มิ.ย. 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 TH-cam 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
  • วิทยาศาสตร์และเทคโนโลยี

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

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

    Everything works! Thank you for making this video!

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

      Welcome👍

  • @giri.phonems2228
    @giri.phonems2228 ปีที่แล้ว +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.

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

      Welcome👍

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

    Great tutorial - totally underrated.

  • @mhonnczedz1
    @mhonnczedz1 ปีที่แล้ว +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!

  • @guide_line8711
    @guide_line8711 3 ปีที่แล้ว

    Very simple but highly useful .. carry on

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

      Thanks👍

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

    Perfect job. Thank U!

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

      Welcome 👍

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

    nice work bro ,keep it doing

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

      Thanks👍

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

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

    Very clear instructions... Thank You..

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

      Welcome 👍

  • @techg.s.galaris2771
    @techg.s.galaris2771 3 ปีที่แล้ว

    Nice and helpful video.

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

      Thanks and welcome👍

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

    Very helpful.
    Thank you👍

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

      Welcome👍

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

    another great video thanks

  • @seditiousmonkeyart
    @seditiousmonkeyart 3 ปีที่แล้ว

    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  2 ปีที่แล้ว

      Sure 👍

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

    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  7 หลายเดือนก่อน

      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.

  • @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 ปีที่แล้ว

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

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

      Analog pins are free to use.

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

    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  ปีที่แล้ว +1

      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.

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

    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  ปีที่แล้ว

      You have to write proper code that.

  • @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 ปีที่แล้ว +2

      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.

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

  • @738shani
    @738shani 2 ปีที่แล้ว

    Thank you

  • @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  ปีที่แล้ว +1

      Looking forward to it.

  • @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 ปีที่แล้ว +1

      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.

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

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

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

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

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

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

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

      Yes

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

    What is the function of 74HC595 in L293D Shield?

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

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

  • @user-sj6hn3lb8t
    @user-sj6hn3lb8t 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.

    • @user-sj6hn3lb8t
      @user-sj6hn3lb8t 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

    • @user-sj6hn3lb8t
      @user-sj6hn3lb8t 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.

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

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

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

      Yes you can use.

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

    ❤❤❤

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

    would prefer you explaining different command for the servo motor

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

      Ok I will plan.

  • @ChandanRoy-oc7kq
    @ChandanRoy-oc7kq ปีที่แล้ว

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

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

      You can use same function to achieve your requirements.

  • @el_skiller21
    @el_skiller21 3 ปีที่แล้ว

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

    • @UtGoTech
      @UtGoTech  3 ปีที่แล้ว

      I have used onestep function to operate two stepper motor simultaneously

  • @user-si7ms7lp6b
    @user-si7ms7lp6b 7 หลายเดือนก่อน

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

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

      Just initiate 2 stepper objects and control them seperatelty.

    • @user-si7ms7lp6b
      @user-si7ms7lp6b 7 หลายเดือนก่อน

      @@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  7 หลายเดือนก่อน

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

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

    Which battery did u use?

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

      Lithium ion battery

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

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

  • @Kunal-1001
    @Kunal-1001 10 หลายเดือนก่อน

    i cant find the example servo

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

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

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

    Part 1: th-cam.com/video/DCqvSVN96Lk/w-d-xo.html
    Part 2: th-cam.com/video/LlfXfWwoO50/w-d-xo.html

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

      ?

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

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

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

      There is also a Full tutorial.

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

    email address please

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

      You can contact me on my telegram account @UtGoTech