Arduino Tutorial: Using a Motor shield!

  Рет қаралды 190,924

Shyam Sundar Saravanan

Shyam Sundar Saravanan

Күн бұрын

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 жыл бұрын
Works well, thought I had it wrong then realised that I hadn’t put jumper for power. A good teaching video
@toppervikingo
@toppervikingo 6 жыл бұрын
Very good. I`m still a beginder but I got my motor to spin. I´m happy thank you.
@ahamatibrahimhassan3265
@ahamatibrahimhassan3265 5 жыл бұрын
IT GIVES A BASIC IDEA THANK U A LOT
@liamwhitehouse8938
@liamwhitehouse8938 5 жыл бұрын
love you-you have fixed all my problems in life.
@shikaribong7162
@shikaribong7162 6 жыл бұрын
It is so very much helpful thank you so much Sir.
@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.
@ArcanePath360
@ArcanePath360 5 жыл бұрын
Invaluable info, thanks very much
@asadrking
@asadrking 5 жыл бұрын
Great video, it was really helpful!
@angelramirez2400
@angelramirez2400 5 жыл бұрын
GREAT tutorial works great.
@didiersee
@didiersee 5 жыл бұрын
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.
@murdy1975
@murdy1975 6 жыл бұрын
Worked awesome thanks!
@tomjoad1060
@tomjoad1060 Жыл бұрын
Thank you for the video!
@Borishal
@Borishal 2 жыл бұрын
Much easier than using an L298N bridge. Shukria.
@bappapan1297
@bappapan1297 6 жыл бұрын
Thank you sir..
@jyothipattipati1562
@jyothipattipati1562 2 жыл бұрын
Very useful video.......Shyam.......👍👍
@ravikumarmutyala3062
@ravikumarmutyala3062 5 жыл бұрын
Thank you sir..excellent workingg,
@MohammadAlshahrani
@MohammadAlshahrani 4 жыл бұрын
Thanks, good job, make sure that you motor does not pull more than 0.6 A
@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
@murmure6565
@murmure6565 3 жыл бұрын
Awesome tutorial! can the board drive more than one dc motor
@suhailathparakkulam8143
@suhailathparakkulam8143 3 жыл бұрын
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
@geospectrum
@geospectrum 5 жыл бұрын
Very useful, thanks.
@curiosityseesomethinginter9116
@curiosityseesomethinginter9116 6 жыл бұрын
thanks man its working good
@honestbrian1
@honestbrian1 6 жыл бұрын
Great video, worked first go
@cavops_platform
@cavops_platform 6 жыл бұрын
Thanks u so much buddy
@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?
@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
@CyberSecWithDesire
@CyberSecWithDesire 6 жыл бұрын
thank you so much
@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?
@bullygram
@bullygram 4 жыл бұрын
Just brilliant
@adnanrouf278
@adnanrouf278 6 жыл бұрын
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
@blinkfaraway2721
@blinkfaraway2721 6 жыл бұрын
Pls can u tell me how i connect mpu 6050 with motor shield
@bogdanmihai82
@bogdanmihai82 6 жыл бұрын
THANK YOU !!!
@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?
@pushpakrad541
@pushpakrad541 4 жыл бұрын
very good helpful thank you
@ksanand80ify
@ksanand80ify 2 жыл бұрын
is there any specification to connect motor wires to audrino? ie. black and red can it be any order?
@niggivlog5921
@niggivlog5921 6 жыл бұрын
Thank you sir
@starknation2830
@starknation2830 5 жыл бұрын
Thanq so much bhaya We love u so much You have helped me so much
@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 ?
@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.
@nagarajgawde3445
@nagarajgawde3445 5 жыл бұрын
Hi I want to connect 4 12 volt gear motor. Which batter I can use for it
@ahb5819
@ahb5819 4 жыл бұрын
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)
@mohamedkhaled-qc7kb
@mohamedkhaled-qc7kb 6 жыл бұрын
I want to use other digital pins in arduino how to use it and the motor shield on arduino
@HandyC
@HandyC 6 жыл бұрын
Maximum amps that the shield board can transmit is ??
@rennellliwanag
@rennellliwanag 4 жыл бұрын
May i ask what are the pin input in M1 and M2
@batticha462
@batticha462 5 жыл бұрын
Why the additional power supply is connected to the arduino and not to the shield ?
@abhinavdev2197
@abhinavdev2197 5 жыл бұрын
not getting enough power from motor shield to drive my motor. how to get more power output from motor shield ?
@g.suganyasugan8022
@g.suganyasugan8022 6 жыл бұрын
How to setup pins for 4 motors With arduino nano
@CarlosCruz-qd3db
@CarlosCruz-qd3db 5 жыл бұрын
Excellent
@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
@kushairiaziz3118
@kushairiaziz3118 6 жыл бұрын
how to know (max) input motor shield and output....im stp help me!!!
@Xyzqwj
@Xyzqwj 5 жыл бұрын
How did you power the motor shield and Arduino
@ravikumarmutyala3062
@ravikumarmutyala3062 5 жыл бұрын
sir i want please upload, how to connect hc-05 bluetooth to arduino uno,i had totally confused.
@IbgI
@IbgI 6 жыл бұрын
nice video bro how to connect 4 motor with arduino nano
@jefflegend456
@jefflegend456 6 жыл бұрын
What type of motor shield did you use?
@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.
@patricklickel
@patricklickel 5 жыл бұрын
My friend is very, very good projet vidéo
@ramazanaksari7007
@ramazanaksari7007 5 жыл бұрын
I have KA03 motorshield is the code compatable for my shield?
@drbrajbhushan953
@drbrajbhushan953 4 жыл бұрын
Hello sir my ardrino shield start making beep sound and gives very less power that even can't run the motor plz help
@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
@sathishp3831
@sathishp3831 4 жыл бұрын
Bro can you give link of motor driver A0-A5 you're inserted pins please bro
@charissazandracorrea2573
@charissazandracorrea2573 2 жыл бұрын
is it okay if my H Bridge is not on the top of the arduino?
@prabhakrishnan5171
@prabhakrishnan5171 5 жыл бұрын
How to use it with joystick?
@gamingkite9208
@gamingkite9208 6 жыл бұрын
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
@shyamsundarsaravanan7398
@shyamsundarsaravanan7398 6 жыл бұрын
+Mechanic 27 Connect it as shown in the video.
@chandrakantanayak9481
@chandrakantanayak9481 6 жыл бұрын
Sir i need help when im useing AFMotor code it is not working king
@apoapsisrocketsupplies1063
@apoapsisrocketsupplies1063 4 жыл бұрын
sir thank much very sirr
@ismaeelmalik4688
@ismaeelmalik4688 4 жыл бұрын
Bro , how to avoid thermal failure ?
@amitverma2778
@amitverma2778 6 жыл бұрын
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!!!
@darshil_2007
@darshil_2007 3 жыл бұрын
👍👍👍👍
@vinodnadoni5047
@vinodnadoni5047 4 жыл бұрын
tq sir
@abduelhamidelhamid
@abduelhamidelhamid 5 жыл бұрын
Good
@ElectroFriendly
@ElectroFriendly 7 жыл бұрын
can I use this motor shield for quadcuptar mini brushless motor
@shyamsundarsaravanan7398
@shyamsundarsaravanan7398 7 жыл бұрын
+Creative Bong Nope! You should use an ESC (electronic speed controller)
@veerasalam1
@veerasalam1 3 жыл бұрын
good
@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.
@CyberSecWithDesire
@CyberSecWithDesire 6 жыл бұрын
it works
@mhenzine
@mhenzine 6 жыл бұрын
I want to ask doubt can you please give me ur contact number
@yxhankun
@yxhankun 4 жыл бұрын
Can you demostrate wit Pro MINI pllease?
@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!
@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
@honeybhagat7224
@honeybhagat7224 5 жыл бұрын
Ye btao steper or dc ko ek sath kase chlaye code
@godexolrv4906
@godexolrv4906 5 жыл бұрын
what is the motor used
@Aarokkiyam2024
@Aarokkiyam2024 7 жыл бұрын
motorshield is not working when I connect arduino
@shyamlabs9118
@shyamlabs9118 6 жыл бұрын
Please help brother, my dc motor is not working using this af motor shield.
@alexanderalex3692
@alexanderalex3692 4 жыл бұрын
neither mine
@ejay620
@ejay620 7 жыл бұрын
i tried this but had no luck :( "avrdude: ser_open(): can't open device "/devttyACMO": no such file or directory"
@shyamsundarsaravanan7398
@shyamsundarsaravanan7398 7 жыл бұрын
+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
@yahiyashaikh9146
@yahiyashaikh9146 5 жыл бұрын
How much power supply??
@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
@rohansinha2282
@rohansinha2282 6 жыл бұрын
Can i connect bluetooth hc05 to the arduino with this motor shield?
@ahamatibrahimhassan3265
@ahamatibrahimhassan3265 5 жыл бұрын
WHAT HAVE U DID OF YOUR PROBLEM
@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.
@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?
@deepab8735
@deepab8735 4 жыл бұрын
What is PWR in motor shield
@user-yd4zc6lt8z
@user-yd4zc6lt8z 3 жыл бұрын
Bro which wires are those please someone asnwer
@ayushharit1151
@ayushharit1151 3 жыл бұрын
Bro please help me ma code upload krne ke bad bhi nahi chal rhi ak bhi gear motor
@salvatorecristiano2030
@salvatorecristiano2030 6 жыл бұрын
Ok, so what is the minimum voltage I can apply to the shield?
@shyamsundarsaravanan7398
@shyamsundarsaravanan7398 6 жыл бұрын
Anywhere from 7-24V.
@amirhazwan9960
@amirhazwan9960 5 жыл бұрын
how to control power window motor using motor shield
@sangidileepchakravarthi8000
@sangidileepchakravarthi8000 7 жыл бұрын
Bro I am getting 'the system cannot find the file specified' error what to do
@shyamsundarsaravanan7398
@shyamsundarsaravanan7398 7 жыл бұрын
+TD channel Try extracting the library zip file and put in the Libraries folder.
@rakibsarkar1783
@rakibsarkar1783 6 жыл бұрын
how to connect 4 motor with arduino nano & how this code
@Thinkdifferentsagnic
@Thinkdifferentsagnic 6 жыл бұрын
Rakib Sarkar You can use a ULN2003 IC with arduino nano or you can use a l293D or l298 motar driver.
@anujpratapsingh1597
@anujpratapsingh1597 4 жыл бұрын
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
@ayushharit1151
@ayushharit1151 3 жыл бұрын
Apne mere quest ka answer kyo nahi dia
@chandrakantanayak9481
@chandrakantanayak9481 6 жыл бұрын
Please somebody help me
How to Control a 12V Motor with Arduino: Easy Wiring & Code Examples
44:13
Nastya and SeanDoesMagic
00:16
Nastya
Рет қаралды 39 МЛН
Inside Out Babies (Inside Out Animation)
00:21
FASH
Рет қаралды 22 МЛН
Эффект Карбонаро и нестандартная коробка
01:00
История одного вокалиста
Рет қаралды 10 МЛН
World’s Largest Jello Pool
01:00
Mark Rober
Рет қаралды 102 МЛН
Run L298 Motor Driver with Flysky Receiver without Arduino
3:53
How to Control Stepper Motors with Arduino using a GRBL CNC Shield!
8:55
How to control a DC motor with L298N driver and Arduino Uno
9:50
The Ultimate Guide to using Motors in Robotics (including ROS, Raspberry Pi)
25:56
Stepper Motors and Arduino - The Ultimate Guide
29:57
How To Mechatronics
Рет қаралды 1,1 МЛН
L293D Motor Shield Arduino Tutorial [ HINDI - हिन्दी ]
6:53
Controlling 3 Stepper Motors with the AccelStepper Library for Arduino
11:49
Arduino Motor Shield Explained
4:10
Tech Talkies
Рет қаралды 5 М.
Controlling DC Motors with the L298N H Bridge and Arduino
36:41
DroneBot Workshop
Рет қаралды 1,3 МЛН
$1 vs $100,000 Slow Motion Camera!
0:44
Hafu Go
Рет қаралды 28 МЛН
Todos os modelos de smartphone
0:20
Spider Slack
Рет қаралды 64 МЛН
Опасность фирменной зарядки Apple
0:57
SuperCrastan
Рет қаралды 11 МЛН
Bluetooth connected successfully 💯💯
0:16
Blue ice Comedy
Рет қаралды 1,1 МЛН