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

Поделиться
HTML-код
  • Опубликовано: 1 окт 2024
  • 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 RUclips 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

Комментарии • 105

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

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

  • @sowhardo_islam
    @sowhardo_islam 17 дней назад +1

    Can you give me code

    • @UtGoTech
      @UtGoTech  17 дней назад

      You can find code in the Example sketch of the Arduino IDE

  • @cliffordfaria4412
    @cliffordfaria4412 3 года назад +1

    What is the function of 74HC595 in L293D Shield?

    • @UtGoTech
      @UtGoTech  3 года назад +1

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

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

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

  • @nilimakulkarni4541
    @nilimakulkarni4541 11 месяцев назад

    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  11 месяцев назад

      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.

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

  • @vanezone
    @vanezone Год назад

    would prefer you explaining different command for the servo motor

  • @bharathchandra2006
    @bharathchandra2006 Год назад

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

  • @UzunKamis
    @UzunKamis Год назад

    Part 1: ruclips.net/video/DCqvSVN96Lk/видео.html
    Part 2: ruclips.net/video/LlfXfWwoO50/видео.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.

  • @Kunal-1001
    @Kunal-1001 Год назад

    i cant find the example servo

    • @UtGoTech
      @UtGoTech  Год назад

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

  • @wallpapermaster1258
    @wallpapermaster1258 3 года назад +1

    nice work bro ,keep it doing

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

  • @mech761
    @mech761 11 месяцев назад

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

    • @UtGoTech
      @UtGoTech  11 месяцев назад

      Just initiate 2 stepper objects and control them seperatelty.

    • @mech761
      @mech761 11 месяцев назад

      @@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  11 месяцев назад

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

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

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

  • @abdullahfaruk2667
    @abdullahfaruk2667 2 года назад

    Which battery did u use?

    • @UtGoTech
      @UtGoTech  2 года назад

      Lithium ion battery

  • @wojciechz2607
    @wojciechz2607 3 года назад +1

    Perfect job. Thank U!

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

  • @ajitharrhenius691
    @ajitharrhenius691 3 месяца назад

    What’s the supply voltage given to the shield ?

    • @UtGoTech
      @UtGoTech  3 месяца назад

      6 volts to 12 volts

    • @ajitharrhenius691
      @ajitharrhenius691 3 месяца назад

      @@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  3 месяца назад +1

      You have to use a lithium based battery

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

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

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

  • @karabomaila1770
    @karabomaila1770 3 года назад

    ❤❤❤

  • @NothingBootz
    @NothingBootz 2 года назад

    Everything works! Thank you for making this video!

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

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

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

  • @guide_line8711
    @guide_line8711 3 года назад

    Very simple but highly useful .. carry on

  • @stanislavamolnarova798
    @stanislavamolnarova798 Год назад

    Very helpful.
    Thank you👍

  • @michaelwest7822
    @michaelwest7822 3 года назад

    Very clear instructions... Thank You..

  • @АнтонРудченко-ю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.

  • @MrRenoman2011
    @MrRenoman2011 Год назад

    another great video thanks

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

  • @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 года назад +1

      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 года назад +1

      Yes

  • @techg.s.galaris2771
    @techg.s.galaris2771 3 года назад

    Nice and helpful video.

    • @UtGoTech
      @UtGoTech  2 года назад

      Thanks and welcome👍

  • @snax_4820
    @snax_4820 2 года назад

    Great tutorial - totally underrated.

  • @738shani
    @738shani 3 года назад

    Thank you

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

  • @villvamalar9056
    @villvamalar9056 3 года назад

    email address please

    • @UtGoTech
      @UtGoTech  3 года назад

      You can contact me on my telegram account @UtGoTech