L293D Motor control Module Tutorial - Run motors off the Arduino
Вставка
- Опубліковано 4 чер 2018
- 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! - Наука та технологія
just magic! I was trying to learn how to combine sketches, your modification of the script gave me a lot of information. thanks.
The only video on UA-cam to explain this clearly. I don't know how to thank you sir.🙏
Omg I’ve been searching for your vid for forever! Thank you for a true and basic knowledge on how to control and programme!
Great job of explaining how the code works. Most others just skip over it.
Great video, thank you, has helped me overcome a few issues I've been experiencing with a motorshield project 👍🏼
First time working with Arduino shields and downloading libraries, this was a great video!
Thank you for this tutorial it was very helpful for start playing with shield.
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
Great job. Can you please make a tutorial for 2 servo's and 2 ultrasonic sensors on the L293D?
Thanks man you explained everything in this video and answered all the questions that I had you're so cool
Thank you
Great and useful stuff and its presentation - I think i will be coming back to it many times in the future
May I please ask if it has the same functions with the module version of the L293D?
Thanks for this video man! You cured my headache!
thanks for the video. does this motor shield give the ability to control both motor to run in sync? I have problem getting my 2 dc motors to run in sync, my robot does not go straight. I am wondering if this thing is what I need to save me the task to look into PID control.
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?
Perfect explanation. Thank you
Hey, I had a doubt in our project we are using 6 motors so can you suggest whhich drivers should we use to connect all of them as L293D and L298N permits 4 and 2 motors to use
Another Question also. How can I attach these pins for the Digital and Analog pins without soldering iron?
Thank you so much for this video. Very thorough. One thing I’m still confused about is the Rx/Tx connection for this shied. I saw a video where someone connected their Bluetooth module to the servo pins, for power, ground, Tx, and Rx. The app I’m using as a GamePad controller is not recognizing the board, and I’m thinking I should just solder two wires to the Tx and Rx soldering that correspond to pins 1 and 2 on the arduino. I know these are used for serial communication with the arduino and that I would have to just disconnected the Bluetooth module before connecting to my computer.
Any thoughts about the Servo pins serving as a connection point for the Bluetooth module?
good explaination.but i want to know which pins of arduino send motor driving signals to the driver shield.
can we give power supply to the motor shield by using 12 v adapter plus minus to the point of motor shield
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.
Thankyou for this Video. I have purchased one of these shields to run a large 12v motor. What is the best solution to power the motor? I want to handle approx. 100A at 12V. Can I run the program through an Arduino, to this Shield (powered at 12V) to a relay on each motor out line? Will a relay react fast enough to deal with the PWM of the Arduino?
Awesome video. Very informative and to the point. Well Done !!!
Can I use 6 motors using this driver? 12 volt dc bo motor and connecting it to only the m1 & m2 terminals i.e. shorting the wires of left side on m1 and right side on m2 port?
Very nice video ! Thanks a lot ! May i ask. Can you explain how to connect this stepper motor controller with a switch
Had a doubt about connection of HC-05 to motor driver when staggered the you showed in video
Hello, I would like to make an inquiry.
Is it possible to connect this L293d shield motor module to the WeMos D1 mini (WiFi) module?
If so, what should the connections be like?
Thank you.
nice tutorial understand two dc motor and one servo motor function ....in one adafruit board tnx buddy...god bless you ..
PERFECT! Just what I needed!
This might help me a lot for my presentation ♥️
Good luck!
In case I'm using external 12v power, should I power Arduino too? or Arduino will automatically get power from the shield?
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.
Can we use 2 external power sources at the same time, one source power for arduino and one source power for motor driver shield?
How to connect the stepping motor from the scanner so that he plays music like on the youtube channel floppotron?
Can i use 36v battery on it. When I bought it from amazon it was saying that i can use up tu 36v?
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.
If I'm going to attach a second servo, what should i put in x in servo2.attach(x)?
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.
PERFECTLY DONE .
Good knowledge 👌
Which is the best wifi module for this type of setup ?
Can I connect Nodemcu ESP2866 with this setup ?
Did you power the Arduino as well as the board while running
So I assume I’ll have to get another arduino because after I hook it up, I won’t be able to use the digital pins from 0 to 13 if I want to connect leds, or other sensors… am I right ?
With the expansion shield, there is no pinmode function?
Can you also control the motors via the arduino pin it is hooked up to? Example:
analogWrite(9, 255); can this be done?
Interesting driver motor, my question is this motor shield comlatible to solar pump 12V, 180W?
tnx
what is the max external voltage that we can use with the shield?
How to control 4 dc motor with encoders by Arduino. Or which motor shield I go with . ?
You posted that library part a bit quickly. Got confused what to. Brilliant tutorial tho ♥
Hey can we connect 4 dc motors and one servo motor to it at once?
I'm using an arduino mega in my project, can I connect the L293D motor shield with my arduino ?
is there a way to make the motors run in turns? thank you for this video btw
Which Arduino pin is used to connect or required the shield
my motor was turning back and forth when i made a project and my control button is not working from when i downloaded the library from the website u have given
best video so far on topic
Can i get the l293d expansion module in proteus?
sir can I run 380 volts pump with this shield supplying currently from electricity directly as an external power supply???
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.
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.
Can I connect 6 dc motors with shield ?
thanks for sharing your valuble knoledge🙏
do you know how to connect 2 steppers instead of dc motors?
I wish to build the collision avoidance car, but with steppers instead of DC motors. For that you need 3 libraries, NewPing; servo, and AFmotor.
very new with arduino, and has been a very frustrating ride so far...
a bunch of information out there, but of little use.
the led didnt turn on when i connected the power supply. Does this mean its broken and i have to buy a new one?
I am currently using it in motor 4, but I don't know what digital pin to code it into.
thank you very much, work 100% 👍
How can I connect ir module as the shield occupies all pins of arduino
Can we connect 5v leds to motor driver and also blinks them.
Another great video :)
Got a request though can you make a tutorial like this, using DC motor and Servo motor with bluetooth
i wuld like to see this turtorial, if you can share it :)
What should be the external power max. Voltage and min. Voltage for motor driver shield
please reply
sir , in my moter driver shield l293d, when i connect moters it is not working. i am useing 12 volt battery, plzz reply.
I want to control two 12v dc motors.Will this board handle 12 v?
Great........I really liked the way you explained it
May you explain how does internal circuit exactly work
I appreciate you going in detail about every function
Hi sir as same I want to connect 1.servo motor
2. Two stepper motors
3.hx711 which is connected with load cell where can I connect hx711 module to driver circuit
what is maximum range of voltage in L293d
Can i use that to start a cooling fan
Can we control 100-150 12v dc motors using such configuration?
If I supply 12V to that board, can I run two DC motors rated at 12V and 1 servo rated at 7V ?
Hello, is it possible to connect 3 servos?
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 ??
i have a question, how do i use it without mounting it on the arduino. is it possible?
sir i want to run total of six motor for a project can you please suggest me how can i use motor driving circuit to run total of six motors
L293d can run 2 motor for move and 1 for Weapons ؟
What kind of batteries do you need to use?
For some reason, the arduino ide won’t accept #include I’ve done everything you did in the video. Do you know what has happened?
how to run 6-8 motors at a time ? which motor driver do we need to use.
I'm using an IR to run my step motor using pin #6 if I install this shield there is no place to connect this wire for the remote control device to this shield.
Thankyou, it's very useful
I have connected 5V 2A to shield. Tried with/without jumper. Arduino is not powered up and not detected. any help is appreciated.
Motor drive is attached to arduino uno can it drive on 12 volt
Ooh it's really cool but make some tutorial on stepper motor. I've understand this now.
What is the maximum voltage I can provide to motor shield?
How I can use the digital pins from Arduino, because NOW the pins are covered? Can you help me pls
great video
pls make tutorial for ultrasonic sensor with this
I have a problem to connect 4 DC motor,power pump,flame sensor ad servo...please please help me immediately
I have a question: So I have the Elegoo Mega2560 Board can I use the Shield on it ? Or is it just for the UNO?
I found some other Motordriver but I want to control 2-4 DC Motors and a SERVO.
Should work
can i use accelometer with it (GY-521).
I have arduino uno , Bluetooth module HC-05 , and this motor driver... I have decided to make out a combat robot ... But I don't know that how can I use this motor driver ... Can you help me please ... I need a arduino code ? Hopefully waiting for your reply
Can u run a nema 17 style bipolar stepper motor using this?
Does it make any sounds? Wondering because i want to make a 3d printed clock an it has quite some gears inside so i need more touqe than that lil unipolar stepper that is usually used with arduino. I am looking for a Solution that doesnt require an extra power source for the stepper.
If someone knows it would be really helpful cause I dont hace a lot of experience with electronics
How do You write a Code to run 4 Dc Motors with that same Adruino and Motor Shield?