L293D Motor control Module Tutorial - Run motors off the Arduino

  Рет қаралды 304,713

Fungineers

Fungineers

6 жыл бұрын

I recommend this Arduino and sensors kit to get started with Arduino:
usa.banggood.com/custlink/GKD...
This is a reliable L293D board:
usa.banggood.com/custlink/DGm...
Recommended soldering iron: TS100:
usa.banggood.com/custlink/vv3...
This tutorial covers the L293D Module. The L293D is a motor control module or an l293 motor driver. It comes in various forms, this one is an expansion shield, which means it stacks on top of the arduino. This L293D module can run 4 DC motors at a time, conversely, it can run 2 Stepper and 2 servo motors at a time. The L293D is a very useful module for Arduino projects like robotics, rovers, cars, line follower robots, etc.
This video covers L293D connection to arduino, coding the L293D for running motors and servos, and running motors with external power supply with L293D motor shield.
Hope you liked the tutorial on L293D expansion module for Arduino.
Subscribe to Fungineers for more projects and tutorials!

Пікірлер: 403
@Dustysundew
@Dustysundew 2 ай бұрын
Great tutorial 😁
@chanakagamage8599
@chanakagamage8599 3 жыл бұрын
good thank very much
@nishuahuja1688
@nishuahuja1688 3 жыл бұрын
Best explanation
@abdullahbinsajeer3371
@abdullahbinsajeer3371 2 жыл бұрын
thanks for sharing your valuble knoledge🙏
@psreenupsreenu7713
@psreenupsreenu7713 2 жыл бұрын
Without connecting to computer it works
@rohitnandu9169
@rohitnandu9169 2 жыл бұрын
Thank you very much!
@he_good7264
@he_good7264 Жыл бұрын
great video pls make tutorial for ultrasonic sensor with this
@jayaramannarayanasamy1521
@jayaramannarayanasamy1521 3 жыл бұрын
Thank you bro
@LIVEGAMEROfficial
@LIVEGAMEROfficial 2 жыл бұрын
Subscribed. I watched first video. Now i am a permanent subscriber
@carzycults6119
@carzycults6119 3 жыл бұрын
Great idea
@umargul5644
@umargul5644 2 жыл бұрын
Well done
@sakalagamingyt3563
@sakalagamingyt3563 8 ай бұрын
Thank you very much.
@theblok7940
@theblok7940 Жыл бұрын
Thank you
@nooknorth268
@nooknorth268 5 жыл бұрын
just magic! I was trying to learn how to combine sketches, your modification of the script gave me a lot of information. thanks.
@PiotrasSNK
@PiotrasSNK 5 жыл бұрын
Thank you for this tutorial it was very helpful for start playing with shield.
@madhugn
@madhugn 5 жыл бұрын
Perfect explanation. Thank you
@enricogironi8887
@enricogironi8887 4 жыл бұрын
Great video, thank you, has helped me overcome a few issues I've been experiencing with a motorshield project 👍🏼
@mateuszfrydryszak3856
@mateuszfrydryszak3856 4 жыл бұрын
Thanks for this video man! You cured my headache!
@onlyme3543
@onlyme3543 3 жыл бұрын
Omg I’ve been searching for your vid for forever! Thank you for a true and basic knowledge on how to control and programme!
@virendrasinhvaghela9579
@virendrasinhvaghela9579 5 жыл бұрын
Nice
@TOYMALLMANJERI
@TOYMALLMANJERI 4 жыл бұрын
PERFECTLY DONE .
@Ed19601
@Ed19601 4 жыл бұрын
Thanks. Very useful. Afaik the shield can not only run 2 stepper motors and 2 servos it can run those servos just as well together with 4 dc motors. The servos are not controlled y the l293D but by pwm pins of the arduino so are completely separate from the amount of dc motors or stepper motors
@laserdad
@laserdad 3 жыл бұрын
Great job of explaining how the code works. Most others just skip over it.
@johnlestercedalla9230
@johnlestercedalla9230 5 жыл бұрын
Thankyou, it's very useful
@sumantakumardutta986
@sumantakumardutta986 3 жыл бұрын
The only video on KZbin to explain this clearly. I don't know how to thank you sir.🙏
@rizkyabdullah5347
@rizkyabdullah5347 5 жыл бұрын
thank you very much, work 100% 👍
@HimanshuVerma-sr2hb
@HimanshuVerma-sr2hb 5 жыл бұрын
THANKS SIR HELPED A LOT
@quintonvehon2638
@quintonvehon2638 2 жыл бұрын
First time working with Arduino shields and downloading libraries, this was a great video!
@BertHeideveld
@BertHeideveld 5 жыл бұрын
Thank you.
@danielgeorgejohn3072
@danielgeorgejohn3072 4 жыл бұрын
This might help me a lot for my presentation ♥️
@Fungineers
@Fungineers 4 жыл бұрын
Good luck!
@suryatej6342
@suryatej6342 4 жыл бұрын
thank you it's helpful
@LIGHTBULBCODING
@LIGHTBULBCODING 2 жыл бұрын
PERFECT! Just what I needed!
@GeorgeKWeah
@GeorgeKWeah 5 жыл бұрын
Great job. Can you please make a tutorial for 2 servo's and 2 ultrasonic sensors on the L293D?
@i.ncreator9918
@i.ncreator9918 4 жыл бұрын
Thanks man you explained everything in this video and answered all the questions that I had you're so cool
@Fungineers
@Fungineers 4 жыл бұрын
Thank you
@helios-jj2wq
@helios-jj2wq 3 жыл бұрын
Great and useful stuff and its presentation - I think i will be coming back to it many times in the future
@jonyjohan8958
@jonyjohan8958 5 жыл бұрын
Great video thank you so much
@Sumee21051987
@Sumee21051987 3 жыл бұрын
Awesome video. Very informative and to the point. Well Done !!!
@mrs2832
@mrs2832 5 жыл бұрын
Great video !!!!! Hats off
@designtech7788
@designtech7788 5 жыл бұрын
superb exaplation
@ArmRehabHands
@ArmRehabHands 3 жыл бұрын
best video so far on topic
@peterfarquharson9777
@peterfarquharson9777 4 жыл бұрын
thx
@hemre1913
@hemre1913 4 жыл бұрын
thank you,it is very helpful
@lonlandry69
@lonlandry69 4 жыл бұрын
Great work! Thanks.
@MakerTutor101
@MakerTutor101 5 жыл бұрын
Thank for sharing
@YashJain-qh5tn
@YashJain-qh5tn 2 жыл бұрын
Great........I really liked the way you explained it
@djbusters
@djbusters 4 жыл бұрын
Great explanation! thanks! :)
@satalaj
@satalaj 4 жыл бұрын
Very well explained
@agungmuhammadiqbal3105
@agungmuhammadiqbal3105 5 жыл бұрын
Great Great Great, it's very useful
@sarangalekamge1048
@sarangalekamge1048 2 жыл бұрын
So helpful. Thank you.
@kaindradjoemena7789
@kaindradjoemena7789 3 жыл бұрын
Thank you sir!
@napkin62
@napkin62 3 жыл бұрын
nice tutorial understand two dc motor and one servo motor function ....in one adafruit board tnx buddy...god bless you ..
@bojanmilojkovic3770
@bojanmilojkovic3770 3 жыл бұрын
My fledgling robot thanks you.
@user-xg4wn2pc1j
@user-xg4wn2pc1j 4 жыл бұрын
Excellent ...keep it up sir..👏 👏 👏
@lgs4854
@lgs4854 5 жыл бұрын
Great Video!
@smilingladka
@smilingladka 4 жыл бұрын
You posted that library part a bit quickly. Got confused what to. Brilliant tutorial tho ♥
@sagnikbiswas4457
@sagnikbiswas4457 3 жыл бұрын
Nice tutorial
@karthik8182
@karthik8182 3 жыл бұрын
There are more other types of motor drive's are explain that also please
@SchwanaCARDHUT
@SchwanaCARDHUT 4 жыл бұрын
Hello , very useful! information in detail on motor shield (L293D Module) with Arduino thanks so much ................
@Fungineers
@Fungineers 4 жыл бұрын
Thanks for appreciating my work.
@enriquehehezs4628
@enriquehehezs4628 3 ай бұрын
is there a way to make the motors run in turns? thank you for this video btw
@innayafauziahm6001
@innayafauziahm6001 4 жыл бұрын
Thanks... That's greet...
@jishabenny9183
@jishabenny9183 2 жыл бұрын
sir , in my moter driver shield l293d, when i connect moters it is not working. i am useing 12 volt battery, plzz reply.
@vikasprajapati941
@vikasprajapati941 4 жыл бұрын
Ooh it's really cool but make some tutorial on stepper motor. I've understand this now.
@laudonidelia
@laudonidelia 5 жыл бұрын
Great video! :)
@kirandutta4113
@kirandutta4113 3 жыл бұрын
I had a problem to connect this ..the problem is that if I connect both Arduino and motor driver to battery then motor driver light on but when I connect both battery and laptop cable to Adriano it will only on Adriano..... 😭..why
@anaslabanie471
@anaslabanie471 5 жыл бұрын
very good 👍
@zwekoko6768
@zwekoko6768 2 жыл бұрын
Could please present how to combine PSX2 lib and Adafruit lib
@pratikjambotkar4626
@pratikjambotkar4626 2 жыл бұрын
Sir can you help me to add two potentiometer for control two stepper motor speed and one stepper motor to change direction by any trigger like limit switch ... This setup is possible?? On L293D ??
@hizonopusdie
@hizonopusdie 5 жыл бұрын
Another great video :) Got a request though can you make a tutorial like this, using DC motor and Servo motor with bluetooth
@tonibusljeta1325
@tonibusljeta1325 4 жыл бұрын
i wuld like to see this turtorial, if you can share it :)
@lukman6762
@lukman6762 2 жыл бұрын
Very nice video ! Thanks a lot ! May i ask. Can you explain how to connect this stepper motor controller with a switch
@elmahdielmahdi6895
@elmahdielmahdi6895 4 жыл бұрын
very nice Thank you ;)
@prikundnani2622
@prikundnani2622 5 жыл бұрын
I appreciate you going in detail about every function
@Bianchi77
@Bianchi77 3 жыл бұрын
Cool info, thanks :)
@SK_Senthil
@SK_Senthil 4 жыл бұрын
Great video and explanation 👏👏👏 You have mentioned in the video about A0-A5 can be soldered! What about Digital pins? I need to connect D3-D6 for some other sensors! How to do that with L293D !
@Fungineers
@Fungineers 4 жыл бұрын
Thanks. You can use analog pins as digital too.
@syedashfaquddin2941
@syedashfaquddin2941 8 ай бұрын
What should be the external power max. Voltage and min. Voltage for motor driver shield please reply
@ixanagi_
@ixanagi_ 4 ай бұрын
I am currently using it in motor 4, but I don't know what digital pin to code it into.
@tb2.0editz26
@tb2.0editz26 Жыл бұрын
can we give power supply to the motor shield by using 12 v adapter plus minus to the point of motor shield
@joelortiz8833
@joelortiz8833 3 жыл бұрын
Hola q tal disculpa le quería poner unas 4 baterías 18650 de 4.7 volts y 8800mAh cada una mi pregunta era si el motor shield con el arduino lo soportan. PD. Estoy alimentando 4 motores, un servo y un ultrasonico
@ES-ll5uv
@ES-ll5uv 4 ай бұрын
How can i randomise the intervals of a servo movement? Like lets say i want robot eyes to open and close at random times. And to keep doing that, until power is shut off.
@vinodnadoni5047
@vinodnadoni5047 4 жыл бұрын
good explaination.but i want to know which pins of arduino send motor driving signals to the driver shield.
@Rakeshpattar5
@Rakeshpattar5 4 жыл бұрын
Had a doubt about connection of HC-05 to motor driver when staggered the you showed in video
@valenrocco618
@valenrocco618 5 жыл бұрын
alo , nice video , could you tale me how to conect an ultrasonic sensor
@georgekot6377
@georgekot6377 6 жыл бұрын
Please correct me if I am wrong but I think the shield can run 4 dc motors OR 2 stepper motors OR 2 servos. I do like the presentation of the video.
@mirelpera2573
@mirelpera2573 3 жыл бұрын
Very nice tutorial. I was wondering if a temperature sensor can be added in the scheme in order to change the rotation direction of the motors depending on the temperature read? Thank you.
@ExtantFrodo2
@ExtantFrodo2 Жыл бұрын
You can use the 3x6 grid of connections to the +5, Ground and A0-A5 shown at 4:13 - 4:57 in the usual way.
@heinzvarghese4893
@heinzvarghese4893 2 жыл бұрын
A great explanation my friend. I just like to ask whether I need to remove the jumper clip from the motor shield while the motor shield and Arduino is run by only an external power source?
@RijushreeGuha
@RijushreeGuha 4 жыл бұрын
Thanku sir u just cleared all my doubts love from india 🇮🇳
@CHANDRAKANTH-pk6dg
@CHANDRAKANTH-pk6dg 3 жыл бұрын
Can we connect 5v leds to motor driver and also blinks them.
@Bravaliya
@Bravaliya 4 жыл бұрын
Good knowledge 👌 Which is the best wifi module for this type of setup ? Can I connect Nodemcu ESP2866 with this setup ?
@circuitguru4554
@circuitguru4554 4 жыл бұрын
Hello! I was looking for this video! It is amazing. Question.... What Voltage did you use for those batteries. It may be 6volts?? Also, could I put 2 3volt battery packs together (2 positive wires into the + screw terminal, and 2 negative wires into the - screw terminal for the power (The 2 + and - wires from both the battery packs)) Thanks! I am asking this because I don’t have a 6 volt battery pack, so I was wondering if I could combine 2 3 volt battery packs.
@farazalam7021
@farazalam7021 9 ай бұрын
How to run stepper motar
@mayankdhameliya5931
@mayankdhameliya5931 5 жыл бұрын
Hey ,Very useful video. Keep it up man. One quick question, can I use this motor shield for control 6 dc motor(forward/ backward) If not,what I can use instead.
@Fungineers
@Fungineers 5 жыл бұрын
Thanks buddy. You can do up to 4 motors. You will have to stack another shield on top to control 8 motors. But battery voltage will also have to double.
@mayankdhameliya5931
@mayankdhameliya5931 5 жыл бұрын
@@Fungineers thank you🙂
@hrishikeshsamant4857
@hrishikeshsamant4857 4 жыл бұрын
Thanks bro..I had completely forgot all the functions and codes
@Fungineers
@Fungineers 4 жыл бұрын
Sometimes I forget too...then I watch my previous videos haha
@nagasaikatakamsetty3969
@nagasaikatakamsetty3969 7 ай бұрын
I have connected 5V 2A to shield. Tried with/without jumper. Arduino is not powered up and not detected. any help is appreciated.
@MrHomyachek
@MrHomyachek 5 жыл бұрын
How to connect the stepping motor from the scanner so that he plays music like on the youtube channel floppotron?
@ethanblanca5573
@ethanblanca5573 4 жыл бұрын
May I please ask if it has the same functions with the module version of the L293D?
@circuitguru4554
@circuitguru4554 4 жыл бұрын
Another Question also. How can I attach these pins for the Digital and Analog pins without soldering iron?
@miaw7014
@miaw7014 3 жыл бұрын
Can you post the codes (please reply urgently)
@himanshubhoria1832
@himanshubhoria1832 2 жыл бұрын
How do I use the digital pins to connect sensors/modules? I want to connect an ultrasonic sensor, a bluetooth module, and 4 dc motors.
@slkandy4136
@slkandy4136 3 жыл бұрын
Can i use that to start a cooling fan
@rohanpawar8259
@rohanpawar8259 2 жыл бұрын
Can we control 100-150 12v dc motors using such configuration?
@6f4hf
@6f4hf 2 жыл бұрын
it gives me an error:"no such file or directory" I downloaded the library and it is in the include libraries tab
Earn $1,350/Day with ChatGPT & Google Drive for FREE
17:03
Chad Kimball
Рет қаралды 242 М.
5 Disturbing Recordings Left by Missing Persons
24:42
Chilling Scares
Рет қаралды 2,4 МЛН
A teacher captured the cutest moment at the nursery #shorts
00:33
Fabiosa Stories
Рет қаралды 52 МЛН
Best KFC Homemade For My Son #cooking #shorts
00:58
BANKII
Рет қаралды 69 МЛН
Arduino Tutorial 37: Understanding How to Control DC Motors in Projects
31:25
How I Traveled at Lightspeed
24:43
Myles
Рет қаралды 971 М.
80 Year Olds Share Advice for Younger Self
12:22
Sprouht
Рет қаралды 1,6 МЛН
What happens if you connect Windows XP to the Internet in 2024?
20:35
Every Programming Language Ever Explained in 15 Minutes
15:29
Flash Bytes
Рет қаралды 304 М.
WhatsApp Messenger Runs Arbitrary Python Code
13:46
John Hammond
Рет қаралды 83 М.
Reasons Why SB19 Have Haters
13:36
Pop Culture PH
Рет қаралды 15 М.
low battery 🪫
0:10
dednahype
Рет қаралды 1,6 МЛН
تجربة أغرب توصيلة شحن ضد القطع تماما
0:56
صدام العزي
Рет қаралды 63 МЛН
Лучший браузер!
0:27
Honey Montana
Рет қаралды 1 МЛН