L293D Motor control Module Tutorial - Run motors off the Arduino
HTML-код
- Опубликовано: 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 RUclips 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 for this video man! You cured my headache!
best video so far on topic
Great and useful stuff and its presentation - I think i will be coming back to it many times in the future
Thanks man you explained everything in this video and answered all the questions that I had you're so cool
Thank you
Perfect explanation. Thank you
PERFECTLY DONE .
PERFECT! Just what I needed!
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
nice tutorial understand two dc motor and one servo motor function ....in one adafruit board tnx buddy...god bless you ..
Awesome video. Very informative and to the point. Well Done !!!
Great........I really liked the way you explained it
thanks for sharing your valuble knoledge🙏
Great tutorial 😁
I appreciate you going in detail about every function
This might help me a lot for my presentation ♥️
Good luck!
thank you very much, work 100% 👍
Great video !!!!!
Hats off
Great job. Can you please make a tutorial for 2 servo's and 2 ultrasonic sensors on the L293D?
Thankyou, it's very useful
Excellent ...keep it up sir..👏 👏 👏
Great Great Great, it's very useful
THANKS SIR HELPED A LOT
Subscribed. I watched first video. Now i am a permanent subscriber
Very well explained
Great work! Thanks.
Great explanation! thanks! :)
Best explanation
So helpful. Thank you.
superb exaplation
Great Video!
Thank you very much!
thank you it's helpful
thank you,it is very helpful
Great video thank you so much
Great idea
Great video! :)
Thank you.
You posted that library part a bit quickly. Got confused what to. Brilliant tutorial tho ♥
Nice tutorial
Cool info, thanks :)
Without connecting to computer it works
My fledgling robot thanks you.
Thank you bro
great video
pls make tutorial for ultrasonic sensor with this
Thank you sir!
Thanku sir u just cleared all my doubts love from india 🇮🇳
Hello , very useful! information in detail on motor shield
(L293D Module) with Arduino thanks so much ................
Thanks for appreciating my work.
Thank for sharing
Well done
good thank very much
Thank you very much.
Ooh it's really cool but make some tutorial on stepper motor. I've understand this now.
Thank you
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 :)
very good 👍
Thanks... That's greet...
Thanks bro..I had completely forgot all the functions and codes
Sometimes I forget too...then I watch my previous videos haha
¡Excelente Explicación!, fue tan sencilla, que a partir de ella adapté para controlar 2 motores DC avanzando y en reversa, aquí el código:
#include
AF_DCMotor motor1(1);
AF_DCMotor motor2(2);
void setup() {
// Configurar Velocidad del Motor e iniciar apagado para luego encenderlo en el Loop
motor1.setSpeed(200);
motor1.run(RELEASE);
motor2.setSpeed(200);
motor2.run(RELEASE);
}
void loop() {
motor1.run(FORWARD); // Avanzar Motor 1
delay(3000);
motor1.run(RELEASE); // Detener Motor 1
motor2.run(FORWARD); // Avanzar Motor 2
delay(3000);
motor2.run(RELEASE); // Detener Motor 2
motor1.run(BACKWARD);// Retroceder Motor 1
delay(3000);
motor1.run(RELEASE); // Detener Motor 1
motor2.run(BACKWARD);// Retroceder Motor 2
delay(3000);
motor2.run(RELEASE);// Detener Motor 2
}
Cual es la libreria?
very nice Thank you ;)
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.
11:50
To make the servo return to it's initial position you have to set it to 0 degrees not -20
May I please ask if it has the same functions with the module version of the L293D?
Very nice video ! Thanks a lot ! May i ask. Can you explain how to connect this stepper motor controller with a switch
Perfect :*
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?
good explaination.but i want to know which pins of arduino send motor driving signals to the driver shield.
Nice
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 !
Thanks. You can use analog pins as digital too.
can we give power supply to the motor shield by using 12 v adapter plus minus to the point of motor shield
thx
Another Question also. How can I attach these pins for the Digital and Analog pins without soldering iron?
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.
Good knowledge 👌
Which is the best wifi module for this type of setup ?
Can I connect Nodemcu ESP2866 with this setup ?
Hey fungineers, This tutorial was helpful. But, I am not able to decide which battery to use when using 4 DC motors with one shield. Thanks in advance.
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.
Had a doubt about connection of HC-05 to motor driver when staggered the you showed in video
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!
How to connect the stepping motor from the scanner so that he plays music like on the youtube channel floppotron?
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?
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
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
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.
Interesting driver motor, my question is this motor shield comlatible to solar pump 12V, 180W?
tnx
is there a way to make the motors run in turns? thank you for this video btw
May you explain how does internal circuit exactly work
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?
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.
the led didnt turn on when i connected the power supply. Does this mean its broken and i have to buy a new one?
If I'm going to attach a second servo, what should i put in x in servo2.attach(x)?
sir , in my moter driver shield l293d, when i connect moters it is not working. i am useing 12 volt battery, plzz reply.
Can i use that to start a cooling fan
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 ?