Arduino Tutorial: Using a Motor shield!

Поделиться
HTML-код
  • Опубликовано: 6 июл 2024
  • In this, we will see how we can control a DC Motor using a motor shield!
    Link for Motor shield library:
    goo.gl/fScTIj
    Link for codes:
    [will reupload shortly]
    This is one of many videos yet to come, so subscribe and leave your feedback!
    Cheers!
    Intro Music: Ahrix - Nova
    Artist: Ahrix
    Track: • Video
  • НаукаНаука

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

  • @ianbirkinhead4103
    @ianbirkinhead4103 5 лет назад +2

    Works well, thought I had it wrong then realised that I hadn’t put jumper for power. A good teaching video

  • @toppervikingo
    @toppervikingo 6 лет назад +2

    Very good. I`m still a beginder but I got my motor to spin. I´m happy thank you.

  • @shikaribong7162
    @shikaribong7162 5 лет назад +9

    It is so very much helpful thank you so much Sir.

  • @ahamatibrahimhassan3265
    @ahamatibrahimhassan3265 5 лет назад +3

    IT GIVES A BASIC IDEA THANK U A LOT

  • @didiersee
    @didiersee 5 лет назад +1

    Hello congratulations for sharing. I have a roue codeuse on the motor shaft (recovered from a printer).I did the test of 5v pulses sent by the transistor. Could you specify where I have to connect these pulses on the arduino motor shield. Thank you.

  • @liamwhitehouse8938
    @liamwhitehouse8938 5 лет назад

    love you-you have fixed all my problems in life.

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

    Great video! I am making a ball launching machine using a 12V 30W motor and a 16.8 Ah Lithium battery. Would this motor shield work with this setup? If not, what's your recommentation? Thanks

  • @blinkfaraway2721
    @blinkfaraway2721 6 лет назад +2

    Pls can u tell me how i connect mpu 6050 with motor shield

  • @ArcanePath360
    @ArcanePath360 5 лет назад +2

    Invaluable info, thanks very much

  • @ayizel_
    @ayizel_ 3 года назад +2

    I chose this tutorial because it is easy to understand and it slowly points to the different parts I liked because we also understood better how to use a motor shield and for me it was a huge help.

  • @angelramirez2400
    @angelramirez2400 5 лет назад +2

    GREAT tutorial works great.

  • @asadrking
    @asadrking 4 года назад +1

    Great video, it was really helpful!

  • @nagarajgawde3445
    @nagarajgawde3445 5 лет назад

    Hi I want to connect 4 12 volt gear motor. Which batter I can use for it

  • @Junaidkhan-nd7zx
    @Junaidkhan-nd7zx 4 года назад

    Sir how to use the digital pins after placing motor shield on arduino. I am currently working on my final year project which is a fire fighting robot and when I put the motor shield on arduino then the digital pins are also covered . Do I have to perform soldering on motor shield

  • @adnanrouf278
    @adnanrouf278 6 лет назад +1

    when i put off cable from arduino ...the code dose not work with motor control shield,even i connect external 18 volt bettry to the ardunio

  • @ahb5819
    @ahb5819 4 года назад +1

    How did you solder header pins on the motor driver shield ? Please reply project pending

  • @himanshurathore8152
    @himanshurathore8152 6 лет назад

    can I contol the speed of DC motor with Arduino pwm by simulink(MATLAB)

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

    If I would use two servos and I give power to Arduino with the USB, can I use a battery pack to power the servos ?

  • @sachinPatel-vm6zd
    @sachinPatel-vm6zd 4 года назад

    Nice explanation. I have one doubt. Why you have given power supply to Arduino board but not to motor shield? What if I power the arduino by usb and connect the power supply to motor shield? What if I power the motor shield only and not connect the usb?

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

    is there any specification to connect motor wires to audrino? ie. black and red can it be any order?

  • @rennellliwanag
    @rennellliwanag 4 года назад

    May i ask what are the pin input in M1 and M2

  • @HandyC
    @HandyC 5 лет назад

    Maximum amps that the shield board can transmit is ??

  • @samiyemeyahni1488
    @samiyemeyahni1488 5 лет назад

    Why do you use the power jack? Is it to powe the motor because it draws way too much current and arduino can not handle?

  • @Xyzqwj
    @Xyzqwj 5 лет назад

    How did you power the motor shield and Arduino

  • @jefflegend456
    @jefflegend456 6 лет назад

    What type of motor shield did you use?

  • @mohamedkhaled-qc7kb
    @mohamedkhaled-qc7kb 6 лет назад

    I want to use other digital pins in arduino how to use it and the motor shield on arduino

  • @g.suganyasugan8022
    @g.suganyasugan8022 6 лет назад

    How to setup pins for 4 motors
    With arduino nano

  • @abhinavdev2197
    @abhinavdev2197 5 лет назад

    not getting enough power from motor shield to drive my motor. how to get more power output from motor shield ?

  • @batticha462
    @batticha462 5 лет назад

    Why the additional power supply is connected to the arduino and not to the shield ?

  • @kushairiaziz3118
    @kushairiaziz3118 6 лет назад

    how to know (max) input motor shield and output....im stp help me!!!

  • @bappapan1297
    @bappapan1297 6 лет назад +3

    Thank you sir..

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

    Awesome tutorial! can the board drive more than one dc motor

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

    Thank you for the video!

  • @Intellectual_House
    @Intellectual_House 5 лет назад

    If we have 2 motors one work with 12v and the other one with 9 v how can we use the shield

  • @murdy1975
    @murdy1975 6 лет назад

    Worked awesome thanks!

  • @ramazanaksari7007
    @ramazanaksari7007 5 лет назад

    I have KA03 motorshield is the code compatable for my shield?

  • @honestbrian1
    @honestbrian1 6 лет назад

    Great video, worked first go

  • @ravikumarmutyala3062
    @ravikumarmutyala3062 4 года назад

    sir i want please upload, how to connect hc-05 bluetooth to arduino uno,i had totally confused.

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

    I liked this video very much and usefull can you put the video of how can we connect hc 05 in arduino and motor driver shield for rotaiting the dc motor

  • @sathishp3831
    @sathishp3831 4 года назад

    Bro can you give link of motor driver A0-A5 you're inserted pins please bro

  • @prabhakrishnan5171
    @prabhakrishnan5171 5 лет назад +1

    How to use it with joystick?

  • @curiosityseesomethinginter9116
    @curiosityseesomethinginter9116 6 лет назад +1

    thanks man its working good

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

    Much easier than using an L298N bridge. Shukria.

  • @geospectrum
    @geospectrum 5 лет назад

    Very useful, thanks.

  • @ravikumarmutyala3062
    @ravikumarmutyala3062 4 года назад

    Thank you sir..excellent workingg,

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

    is it okay if my H Bridge is not on the top of the arduino?

  • @chandrakantanayak9481
    @chandrakantanayak9481 6 лет назад

    Sir i need help when im useing AFMotor code it is not working king

  • @MohammadAlshahrani
    @MohammadAlshahrani 4 года назад

    Thanks, good job, make sure that you motor does not pull more than 0.6 A

  • @gamingkite9208
    @gamingkite9208 5 лет назад +1

    Plz make HD video video I can't see programing

  • @balajivannikumar3170
    @balajivannikumar3170 6 лет назад

    What means if led doest not turn on when I connect the af motor shield with. Arduino .. please reply me fast bro

  • @ElectroFriendly
    @ElectroFriendly 6 лет назад

    can I use this motor shield for quadcuptar mini brushless motor

  • @ismaeelmalik4688
    @ismaeelmalik4688 4 года назад

    Bro , how to avoid thermal failure ?

  • @yxhankun
    @yxhankun 4 года назад

    Can you demostrate wit Pro MINI pllease?

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

    Just brilliant

  • @cavops_platform
    @cavops_platform 6 лет назад +1

    Thanks u so much buddy

  • @honeybhagat7224
    @honeybhagat7224 5 лет назад

    Ye btao steper or dc ko ek sath kase chlaye code

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

    Hello sir my ardrino shield start making beep sound and gives very less power that even can't run the motor plz help

  • @yahiyashaikh9146
    @yahiyashaikh9146 5 лет назад

    How much power supply??

  • @falliantquelnath
    @falliantquelnath 6 лет назад

    Thank you very much, managed to power 4 dc motors and got the bot running fine

    • @ravipathak3679
      @ravipathak3679 6 лет назад

      same here

    • @ravipathak3679
      @ravipathak3679 6 лет назад

      .

    • @mhenzine
      @mhenzine 6 лет назад

      I want to ask doubt can you please give me ur contact number

    • @Xyzqwj
      @Xyzqwj 5 лет назад

      Falliant quelnath can you tell me how did you power your arduino and motor shield?

  • @godexolrv4906
    @godexolrv4906 5 лет назад

    what is the motor used

  • @CyberSecWithDesire
    @CyberSecWithDesire 6 лет назад

    thank you so much

  • @IbgI
    @IbgI 6 лет назад +1

    nice video bro
    how to connect 4 motor with arduino nano

  • @bogdanmihai82
    @bogdanmihai82 6 лет назад

    THANK YOU !!!

  • @treereaverjones6535
    @treereaverjones6535 6 лет назад

    why do I get the following error:
    call to 'AF_DCMotor::AF_DCMotor(uint8_t, uint8_t)' uses the default argument for parameter 2, which is not yet defined
    Has AdaFruit changed their library?
    Any information would be gratefully received.

    • @treereaverjones6535
      @treereaverjones6535 6 лет назад

      OK. Sorted. There has been a change in the software. A sketch for my 2 year old obstacle avoiding robot works and it was compiled 2 years ago with the line :
      AF_DCMotor motor1(1);
      but this same line fails now.
      Using the lines:
      AF_DCMotor motor1(3,2);
      AF_DCMotor motor2(4,2);
      compiles and works on my grandson's tank. I suppose the second parameter is useful but since Adafruit don't support the board I can't see many people not being caught out by it.

    • @shyamsundarsaravanan7398
      @shyamsundarsaravanan7398  6 лет назад

      +Treereaver Jones The second parameter is for frequency (speed of the control signal)

    • @treereaverjones6535
      @treereaverjones6535 6 лет назад

      Thank you for this. But it doesn't explain why a sketch, even Adafruit's own examples, now fail to compile. Whereas they always used to, without the second parameter. I am not very good at coding so I don't have much time for sketches/programs that don't work. Nor do I understand the complexities of .h and .cpp files so I have to rely on expert advice and I am very thankful for it!

  • @ashutoshdeshwal1783
    @ashutoshdeshwal1783 6 лет назад

    If you have to attach some jumper wires to Arduino how you can connect wire with Arduino.

    • @shyamsundarsaravanan7398
      @shyamsundarsaravanan7398  6 лет назад

      Only digital pin 2 can be used. You can solder a header pin in the given hole in the motor shield.

  • @deepab8735
    @deepab8735 4 года назад

    What is PWR in motor shield

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

    how to control 1 servo and 1 dc motor using l293d motor shield at same time.
    I watch many video on l293d shield but in all video different motor not run at same time .
    For example if there is a code for dc motor than you can run only 4 dc motor. If there is a code for servo motor you can run only 2 servo.
    But I want to run servo and dc motor together using l293d motor shield.
    So sir please provide me code for running two different motor ie..Servo and Dc motor same time.

  • @niggivlog5921
    @niggivlog5921 6 лет назад

    Thank you sir

  • @amitverma2778
    @amitverma2778 6 лет назад +1

    Hi sir I am watching video tutorial is awesome or resolve my half problem but how to connect with Bluetooth app

    • @ahamatibrahimhassan3265
      @ahamatibrahimhassan3265 5 лет назад

      HAVE YOU GET SOLUTION OF YOUR PROBLEM?

    • @ku8721
      @ku8721 4 года назад

      I too would like to know that solution!!!

  • @leeladhareshrock7578
    @leeladhareshrock7578 6 лет назад

    what pins from Arduino Uno do the motor shield use.i want add some other components leaving the pins used ???

    • @shyamsundarsaravanan7398
      @shyamsundarsaravanan7398  6 лет назад

      +leeladharesh leela you can use the digital pin 2

    • @leeladhareshrock7578
      @leeladhareshrock7578 6 лет назад

      I wanted to use the LCD display. so can I do it with which pins...

    • @shyamsundarsaravanan7398
      @shyamsundarsaravanan7398  6 лет назад

      +leeladharesh leela no you cannot. Buy a L293D board.
      Robodo Electronics L298 Motor Driver Module www.amazon.in/dp/B00N4KWYDE/ref=cm_sw_r_cp_apa_i_YzPAAbTXP8F44

  • @pushpakrad541
    @pushpakrad541 4 года назад

    very good helpful thank you

  • @rohansinha2282
    @rohansinha2282 6 лет назад

    Can i connect bluetooth hc05 to the arduino with this motor shield?

  • @Drkarthikeyanramalingam
    @Drkarthikeyanramalingam 5 лет назад

    Great Working well . How to control code for 4 dc motor . Copy and paste and change motor no .
    Please help for 4 axis robot . How to remove loop

  • @shyamlabs9118
    @shyamlabs9118 6 лет назад +1

    Please help brother,
    my dc motor is not working using this af motor shield.

  • @user-yd4zc6lt8z
    @user-yd4zc6lt8z 3 года назад

    Bro which wires are those please someone asnwer

  • @ejay620
    @ejay620 6 лет назад +1

    i tried this but had no luck :( "avrdude: ser_open(): can't open device "/devttyACMO": no such file or directory"

    • @shyamsundarsaravanan7398
      @shyamsundarsaravanan7398  6 лет назад

      +Junior Cabrera Select the correct COM port.

    • @anantrathi373
      @anantrathi373 6 лет назад

      same here

    • @ejay620
      @ejay620 6 лет назад

      pokemon pekka busters you have to manually change the setting in the arduino ide in the port tab

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

    Very useful video.......Shyam.......👍👍

  • @CarlosCruz-qd3db
    @CarlosCruz-qd3db 5 лет назад

    Excellent

  • @umeshtalekar5733
    @umeshtalekar5733 7 лет назад

    how to use the other digital pins in DK electronics motor shield

    • @shyamsundarsaravanan7398
      @shyamsundarsaravanan7398  7 лет назад

      +Umesh Talekar You can use the Digital Pin 2. Just Solder a single male header pin in the given hole.

  • @zanuzkariapper6062
    @zanuzkariapper6062 7 лет назад

    motorshield is not working when I connect arduino

  • @salvatorecristiano2030
    @salvatorecristiano2030 6 лет назад

    Ok, so what is the minimum voltage I can apply to the shield?

  • @danielthackeray7798
    @danielthackeray7798 4 года назад

    The board has ONE configurable component - the PWR jumper - and it isn't mentioned!When the jumper is installed power is supplied from the Arduino 9v supply. The plug for this supply is visible in the video, below the motor shield, when the motor is operating. When the jumper is removed power is supplied from the motor board +M terminal. This is the recommended mode of operation if using multiple motors or servos. Do not leave the jumper installed if both power supplies are connected: there are no isolating diodes.The description of the LED is unintelligible.

  • @MrHomyachek
    @MrHomyachek 5 лет назад

    Как подключить шаговый мотор от сканера что-бы он играл музыку как на youtube канале floppotron?
    स्कैनर से स्टेपिंग मोटर को कैसे कनेक्ट करें ताकि वह यूट्यूब चैनल फ्लॉपोट्रॉन की तरह संगीत बजाए?
    How to connect the stepping motor from the scanner so that he plays music like on the youtube channel floppotron?ff

  • @starknation2830
    @starknation2830 5 лет назад +1

    Thanq so much bhaya
    We love u so much
    You have helped me so much

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

    Bro please help me ma code upload krne ke bad bhi nahi chal rhi ak bhi gear motor

  • @sangidileepchakravarthi8000
    @sangidileepchakravarthi8000 6 лет назад

    Bro I am getting 'the system cannot find the file specified' error what to do

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

    u shud talk about the code too, as what those lines do and what are possible lines of code tht is impportant to remember?

  • @CyberSecWithDesire
    @CyberSecWithDesire 6 лет назад

    it works

    • @mhenzine
      @mhenzine 6 лет назад

      I want to ask doubt can you please give me ur contact number

  • @amirhazwan9960
    @amirhazwan9960 5 лет назад

    how to control power window motor using motor shield

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

    👍👍👍👍

  • @patricklickel
    @patricklickel 5 лет назад

    My friend is very, very good projet vidéo

  • @abduelhamidelhamid
    @abduelhamidelhamid 5 лет назад

    Good

  • @vinodnadoni5047
    @vinodnadoni5047 4 года назад

    tq sir

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

    good

  • @rakibsarkar1783
    @rakibsarkar1783 6 лет назад +1

    how to connect 4 motor with arduino nano & how this code

    • @Thinkdifferentsagnic
      @Thinkdifferentsagnic 5 лет назад

      Rakib Sarkar You can use a ULN2003 IC with arduino nano or you can use a l293D or l298 motar driver.

  • @apoapsisrocketsupplies1063
    @apoapsisrocketsupplies1063 4 года назад

    sir thank much very sirr

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

    Apne mere quest ka answer kyo nahi dia

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

    Please reply for that

  • @chandrakantanayak9481
    @chandrakantanayak9481 6 лет назад

    Please somebody help me