Arduino Tutorial: Using a Motor shield!

Ғылым және технология

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
    @ianbirkinhead41035 жыл бұрын

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

  • @toppervikingo
    @toppervikingo6 жыл бұрын

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

  • @ahamatibrahimhassan3265
    @ahamatibrahimhassan32655 жыл бұрын

    IT GIVES A BASIC IDEA THANK U A LOT

  • @liamwhitehouse8938
    @liamwhitehouse89385 жыл бұрын

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

  • @shikaribong7162
    @shikaribong71625 жыл бұрын

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

  • @asadrking
    @asadrking4 жыл бұрын

    Great video, it was really helpful!

  • @ArcanePath360
    @ArcanePath3605 жыл бұрын

    Invaluable info, thanks very much

  • @angelramirez2400
    @angelramirez24005 жыл бұрын

    GREAT tutorial works great.

  • @tomjoad1060
    @tomjoad1060 Жыл бұрын

    Thank you for the video!

  • @murdy1975
    @murdy19756 жыл бұрын

    Worked awesome thanks!

  • @Junaidkhan-nd7zx
    @Junaidkhan-nd7zx4 жыл бұрын

    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

  • @nagarajgawde3445
    @nagarajgawde34455 жыл бұрын

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

  • @ksanand80ify
    @ksanand80ify2 жыл бұрын

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

  • @ahb5819
    @ahb58194 жыл бұрын

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

  • @adnanrouf278
    @adnanrouf2786 жыл бұрын

    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

  • @samiyemeyahni1488
    @samiyemeyahni14885 жыл бұрын

    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?

  • @blinkfaraway2721
    @blinkfaraway27216 жыл бұрын

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

  • @Borishal
    @Borishal Жыл бұрын

    Much easier than using an L298N bridge. Shukria.

  • @AlessandroBoggiano
    @AlessandroBoggiano3 жыл бұрын

    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 ?

  • @rennellliwanag
    @rennellliwanag4 жыл бұрын

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

  • @ayizel_
    @ayizel_3 жыл бұрын

    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.

  • @honestbrian1
    @honestbrian16 жыл бұрын

    Great video, worked first go

  • @HandyC
    @HandyC5 жыл бұрын

    Maximum amps that the shield board can transmit is ??

  • @charissazandracorrea2573
    @charissazandracorrea25732 жыл бұрын

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

  • @geospectrum
    @geospectrum5 жыл бұрын

    Very useful, thanks.

  • @didiersee
    @didiersee5 жыл бұрын

    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.

  • @curiosityseesomethinginter9116
    @curiosityseesomethinginter91166 жыл бұрын

    thanks man its working good

  • @seanlyon2870
    @seanlyon28702 жыл бұрын

    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

  • @mohamedkhaled-qc7kb
    @mohamedkhaled-qc7kb6 жыл бұрын

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

  • @Intellectual_House
    @Intellectual_House5 жыл бұрын

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

  • @himanshurathore8152
    @himanshurathore81526 жыл бұрын

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

  • @kushairiaziz3118
    @kushairiaziz31186 жыл бұрын

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

  • @batticha462
    @batticha4625 жыл бұрын

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

  • @ravikumarmutyala3062
    @ravikumarmutyala30624 жыл бұрын

    Thank you sir..excellent workingg,

  • @ramazanaksari7007
    @ramazanaksari70075 жыл бұрын

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

  • @Xyzqwj
    @Xyzqwj5 жыл бұрын

    How did you power the motor shield and Arduino

  • @abhinavdev2197
    @abhinavdev21975 жыл бұрын

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

  • @bappapan1297
    @bappapan12976 жыл бұрын

    Thank you sir..

  • @g.suganyasugan8022
    @g.suganyasugan80226 жыл бұрын

    How to setup pins for 4 motors With arduino nano

  • @HirenNarkarRadhvanaj
    @HirenNarkarRadhvanaj3 жыл бұрын

    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.

  • @bullygram
    @bullygram3 жыл бұрын

    Just brilliant

  • @jefflegend456
    @jefflegend4566 жыл бұрын

    What type of motor shield did you use?

  • @cavops_platform
    @cavops_platform6 жыл бұрын

    Thanks u so much buddy

  • @drbrajbhushan953
    @drbrajbhushan9533 жыл бұрын

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

  • @MohammadAlshahrani
    @MohammadAlshahrani4 жыл бұрын

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

  • @ElectroFriendly
    @ElectroFriendly6 жыл бұрын

    can I use this motor shield for quadcuptar mini brushless motor

  • @shyamsundarsaravanan7398

    @shyamsundarsaravanan7398

    6 жыл бұрын

    +Creative Bong Nope! You should use an ESC (electronic speed controller)

  • @pushpakrad541
    @pushpakrad5414 жыл бұрын

    very good helpful thank you

  • @chandrakantanayak9481
    @chandrakantanayak94816 жыл бұрын

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

  • @bogdanmihai82
    @bogdanmihai826 жыл бұрын

    THANK YOU !!!

  • @ravikumarmutyala3062
    @ravikumarmutyala30624 жыл бұрын

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

  • @suhailathparakkulam8143
    @suhailathparakkulam81433 жыл бұрын

    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

  • @balajivannikumar3170
    @balajivannikumar31706 жыл бұрын

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

  • @shyamsundarsaravanan7398

    @shyamsundarsaravanan7398

    6 жыл бұрын

    +Mechanic 27 Connect it as shown in the video.

  • @deepab8735
    @deepab87354 жыл бұрын

    What is PWR in motor shield

  • @sathishp3831
    @sathishp38314 жыл бұрын

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

  • @CyberSecWithDesire
    @CyberSecWithDesire6 жыл бұрын

    thank you so much

  • @prabhakrishnan5171
    @prabhakrishnan51715 жыл бұрын

    How to use it with joystick?

  • @sachinPatel-vm6zd
    @sachinPatel-vm6zd4 жыл бұрын

    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?

  • @niggivlog5921
    @niggivlog59216 жыл бұрын

    Thank you sir

  • @jyothipattipati1562
    @jyothipattipati15622 жыл бұрын

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

  • @user-yd4zc6lt8z
    @user-yd4zc6lt8z3 жыл бұрын

    Bro which wires are those please someone asnwer

  • @falliantquelnath
    @falliantquelnath6 жыл бұрын

    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
    @godexolrv49065 жыл бұрын

    what is the motor used

  • @CarlosCruz-qd3db
    @CarlosCruz-qd3db5 жыл бұрын

    Excellent

  • @ayushharit1151
    @ayushharit11513 жыл бұрын

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

  • @honeybhagat7224
    @honeybhagat72245 жыл бұрын

    Ye btao steper or dc ko ek sath kase chlaye code

  • @ashutoshdeshwal1783
    @ashutoshdeshwal17836 жыл бұрын

    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.

  • @treereaverjones6535
    @treereaverjones65356 жыл бұрын

    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!

  • @yxhankun
    @yxhankun4 жыл бұрын

    Can you demostrate wit Pro MINI pllease?

  • @shyamlabs9118
    @shyamlabs91186 жыл бұрын

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

  • @alexanderalex3692

    @alexanderalex3692

    4 жыл бұрын

    neither mine

  • @rohansinha2282
    @rohansinha22826 жыл бұрын

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

  • @ahamatibrahimhassan3265

    @ahamatibrahimhassan3265

    5 жыл бұрын

    WHAT HAVE U DID OF YOUR PROBLEM

  • @leeladhareshrock7578
    @leeladhareshrock75786 жыл бұрын

    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

  • @umeshtalekar5733
    @umeshtalekar57337 жыл бұрын

    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.

  • @gamingkite9208
    @gamingkite92085 жыл бұрын

    Plz make HD video video I can't see programing

  • @starknation2830
    @starknation28305 жыл бұрын

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

  • @ismaeelmalik4688
    @ismaeelmalik46884 жыл бұрын

    Bro , how to avoid thermal failure ?

  • @murmure6565
    @murmure65653 жыл бұрын

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

  • @amitverma2778
    @amitverma27786 жыл бұрын

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

  • @yahiyashaikh9146
    @yahiyashaikh91465 жыл бұрын

    How much power supply??

  • @ejay620
    @ejay6206 жыл бұрын

    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

  • @abduelhamidelhamid
    @abduelhamidelhamid5 жыл бұрын

    Good

  • @danielthackeray7798
    @danielthackeray77984 жыл бұрын

    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.

  • @zanuzkariapper6062
    @zanuzkariapper60627 жыл бұрын

    motorshield is not working when I connect arduino

  • @veerasalam1
    @veerasalam13 жыл бұрын

    good

  • @darshil_2007
    @darshil_20073 жыл бұрын

    👍👍👍👍

  • @MrHomyachek
    @MrHomyachek5 жыл бұрын

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

  • @salvatorecristiano2030
    @salvatorecristiano20306 жыл бұрын

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

  • @shyamsundarsaravanan7398

    @shyamsundarsaravanan7398

    6 жыл бұрын

    Anywhere from 7-24V.

  • @CyberSecWithDesire
    @CyberSecWithDesire6 жыл бұрын

    it works

  • @mhenzine

    @mhenzine

    6 жыл бұрын

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

  • @patricklickel
    @patricklickel5 жыл бұрын

    My friend is very, very good projet vidéo

  • @sangidileepchakravarthi8000
    @sangidileepchakravarthi80006 жыл бұрын

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

  • @shyamsundarsaravanan7398

    @shyamsundarsaravanan7398

    6 жыл бұрын

    +TD channel Try extracting the library zip file and put in the Libraries folder.

  • @joshitoshi9835
    @joshitoshi98352 жыл бұрын

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

  • @apoapsisrocketsupplies1063
    @apoapsisrocketsupplies10634 жыл бұрын

    sir thank much very sirr

  • @Drkarthikeyanramalingam
    @Drkarthikeyanramalingam5 жыл бұрын

    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

  • @vinodnadoni5047
    @vinodnadoni50474 жыл бұрын

    tq sir

  • @IbgI
    @IbgI6 жыл бұрын

    nice video bro how to connect 4 motor with arduino nano

  • @ayushharit1151
    @ayushharit11513 жыл бұрын

    Apne mere quest ka answer kyo nahi dia

  • @amirhazwan9960
    @amirhazwan99605 жыл бұрын

    how to control power window motor using motor shield

  • @suhailathparakkulam8143
    @suhailathparakkulam81433 жыл бұрын

    Please reply for that

  • @rakibsarkar1783
    @rakibsarkar17836 жыл бұрын

    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.

  • @anujpratapsingh1597
    @anujpratapsingh15974 жыл бұрын

    Arduino: 1.8.10 (Windows 7), Board: "Arduino/Genuino Uno" sketch_nov16a:1:9: error: AFMoter.h: No such file or directory #include ^~~~~~~~~~~ compilation terminated. exit status 1 AFMoter.h: No such file or directory This report would have more information with "Show verbose output during compilation" option enabled in File -> Preferences.

  • @shyamsundarsaravanan7398

    @shyamsundarsaravanan7398

    4 жыл бұрын

    It's #include

Келесі