Тёмный

Introduction to L293D and Controlling DC Motor (no stepper) 

Robojax
Подписаться 108 тыс.
Просмотров 38 тыс.
50% 1

In this video you will learn how to control DC motor using L293D Motor driver chip. We learn how to control the speed and direction. You can contgrol the DC motor over WiF from anywhere in the world, watch this video • ESP32 Tutorial 49 - Co...
Here is a better motor 3V to 14V 3A driver smaller and better: • Lesson 102: Using ZK-5...
You will learn:
-How to change direction of rotation of DC motor
-Pin configuration of L293D
-Review of datasheet
-Simple Arduino code to us L293D motor driver with demo
-Advanced code to use L293D motor driver in an easy way with under some condition with demo
Download the code for L293D DC motor controller: robojax.com/L/?id=316
Use L293D as PWM motor Speed controller: • Control Speed and Dire...
Learn Arduino in 30 Minutes (video): robojax.com/L/?id=135
Tutorial by Ahmad Shamshiri form Canada
****************************
Learn Arduino from a proven instructor with 100s of projects, code, wiring diagram in structured course in one place. Purchase Arduino Course at Udemy.com : robojax.com/L/?id=153
****************************
If you found this tutorial helpful, please support me so I can continue creating contents like this. Here is PayPal link paypal.me/robojaxTV
Get early access to my videos by becoming my Patreon and and have your name mentioned at end of very videos I publish on RU-vid: robojax.com/L/?id=97
If you want to learn Arduino from proven instructor on **Udemy**: bit.ly/rj-udemy
Follow me on Facebook robojaxTV
Follow me on Twitter: / robojaxtv
Follow me on Instagram: / robojax
Tutorial by Robojax.com
Get other projects code and learn Arduino
robojax.com/learn/arduino
#robojax #robojax_motor #robojaxL293D

Наука

Опубликовано:

 

25 фев 2018

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 59   
@harshsparikh
@harshsparikh 5 лет назад
After freaking watch hundreds of tutorials it finally worked with your teaching. Genius man :)
@robojax
@robojax 5 лет назад
Good to hear that. I love teaching and explaining.
@liztippetts270
@liztippetts270 3 года назад
Awesome video! I've watched so many where they do the stuff but don't EXPLAIN it, and it's all explained well right here. Thanks!
@Alex-tt9jx
@Alex-tt9jx 3 года назад
Sir, you have delivered another OUTSTANDING tutorial. You clearly have demonstrated & explained how this H-bridge I.C. works & functions Keep up the great work for us all to learn from
@josepharce5218
@josepharce5218 2 года назад
Excellent video! Definitely helped me understand this IC better
@mihaiciornei5648
@mihaiciornei5648 5 лет назад
Robo' tnk s for your channel. I made a aquarium controler with lights on off, uv filter on off automatic, and a 3 th relay just in case , feeder 3 times on day , and that was possible because of u . I will make a video with it, and u will be well mentioned. Love u man .
@robojax
@robojax 5 лет назад
You are welcome. I am glad hearing that. Love you too.
@its_P.S.A
@its_P.S.A 2 года назад
ممنون *_ربوجکس_* خیلی کمکم کرد ممنون
@robojax
@robojax 2 года назад
خواهش میکنیم. خرسندم که کارم مفیدواقع‌ شد.
@robojax
@robojax Год назад
سلام علیکم. مجرا (کانال) فارسی علم و فن را راه اندازی کردم: لطفا به دوستان تان خبردهید و حمایتم کنید. www.youtube.com/@ilmofan
@Bianchi77
@Bianchi77 3 года назад
Cool info, thanks :)
@fhadalmotlq3318
@fhadalmotlq3318 4 года назад
you are great, I have a question : How to write code for control dc motor change direction by one button ?, thanks
@robojax
@robojax 4 года назад
Thank you. I am working on it. It is coming. One video to change direction of rotation using 1 button and 1 stop. Another video 3 buttons CW, CCW and Stop.
@gdiego199969
@gdiego199969 5 лет назад
How do you do this if you want to use an external power supply? Like if you want to power the motor with a battery pack? Do I need to ground the battery pack through the arduino ground pin?
@gulper2323
@gulper2323 5 лет назад
Plug the power source to VCC and the ground pins of the chip to the ground of the power source. If you are using an external power source to power a component never ground it to an Arduino; grounding a high voltage to an Arduino can cause damage.
@robojax
@robojax 5 лет назад
For external source, remove the PIN 8 of the chip from VCC and connect your power supply up to 36V to pin 8 Keep the GND to arduino and connect your power supply to the GND. So Arduino and your power supply must have common Ground (GND) otherwise motor will not work. I have explained this at 14:30. @Adam Walker, without common ground, the motor will not move.
@dylanjayabahu2878
@dylanjayabahu2878 3 года назад
Thank you very much!! How would you wire it for two motors?Thanks
@robojax
@robojax 3 года назад
Have you watched the video? I just checked the page where the code is and it is for 2 motors.
@dylanjayabahu2878
@dylanjayabahu2878 3 года назад
@@robojax Yes, im pretty sure that the code defines the three extra pins for the second motor, but I don't think it shows how to wire the second one.
@Alex-mm5zj
@Alex-mm5zj 4 года назад
Can I use l293d to control position of dc motor with a potentiometer?
@robojax
@robojax 4 года назад
Position of DC motor can't be controlled unless you use high resolution motor encoder. Encoder is attached to the shaft of motor and as motor rotates, in 360 degrees, using encoder and Arduino we know where it is. Stepper is the best solution and here are my videos on stepper ru-vid.comsearch?query=stepper
@voiceoftruth1O1
@voiceoftruth1O1 6 лет назад
Please make a video about arduino pH with temperature meter for aquarium. Thanks
@robojax
@robojax 6 лет назад
I will try to make one within 2 months. Hopefully. You are welcome.
@voiceoftruth1O1
@voiceoftruth1O1 6 лет назад
Robojax thanks
@mihaiciornei5648
@mihaiciornei5648 5 лет назад
This is the next thing in my list to . Now I m in version beta1 with my arduino pro mini -> 3 relays , RTC, and a step motor for feeder. I will make a video with all in my channel soon . Tnk s Robo' again .
@smartwazihsw
@smartwazihsw 4 года назад
How many l293d can be added with Arduino uno
@robojax
@robojax 4 года назад
you got 12 digital pin with UNO, now count how many is needed. I would have to watch the video to see how many pins used. You watch and cound the digital pins. Do not count the VCC (5V) and Ground because you can share the 5V and GND with other L293D chips.
@kalyanipande5721
@kalyanipande5721 5 лет назад
Ok.ho gaya...ty..
@robojax
@robojax 5 лет назад
you are welcome.
@victorrodrigues2270
@victorrodrigues2270 2 года назад
How do I control stepper motor with Shield L293D by placing a potentiometer?
@robojax
@robojax 2 года назад
Here is how to find Specific RU-vid Video in a channel bit.ly/findRU-vidVideo
@drackini
@drackini 2 года назад
Is it possible to use 4 motors in 1 IC?
@robojax
@robojax 2 года назад
I don't remember how many motor you can control with this but that is exactly the reason I made this video to explain it.
@eddieb6983
@eddieb6983 3 года назад
How do I controll 4 dc motors with limit switch & speed controller?
@robojax
@robojax 3 года назад
interesting project. I might make video. Or simply I should make a video for limit switch.
@eddieb6983
@eddieb6983 3 года назад
@@robojax Thank You for getting back. If someone want to learn this stuff what route would you send them? Again THANK YOU
@ganeshpingle3470
@ganeshpingle3470 10 месяцев назад
Knowledgeable video thank you for this but I have a question regarding to this please reply me help
@robojax
@robojax 10 месяцев назад
Thanks . Please post your question here and I will try to answer . I read all comments.
@ganeshpingle3470
@ganeshpingle3470 10 месяцев назад
@@robojax thank you for the reply. You are using l293d module in your project but I am trying to use L298n in the module so please tell me the connection difference between the L293d and L298n motor driver
@ganeshpingle3470
@ganeshpingle3470 10 месяцев назад
@@robojax is the connection of both motor drivers are samr or not..?
@robojax
@robojax 10 месяцев назад
search my channel for L298N videos. learn how to Search for a Particular video in a channel here bit.ly/findRU-vidVideo
@muhammadalaframadhan4647
@muhammadalaframadhan4647 3 года назад
broo you deserve my thumb.. but i still wondering how to make the motor run with speed increase by the time.. thanks man
@robojax
@robojax 3 года назад
your question is very vague. time means clock or time mean just in a moment like in 5 seconds from 0% to 100% speed? if that is the case then it is very easy. you have leaned how to control the speed. just write a loop (for loop) which goes from 0 to 100 in increment of 10 (for example) so it will go 0, 10, 20, 30....100 and then pass this increment value into the speed control. Watch this 30 minuets Arduino course to learn about "for loop" ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-Mbb2xa1WcRM.html Good luck.
@kalyanipande5721
@kalyanipande5721 5 лет назад
I did all connections correct. My ic is correct and motor too.But only one motor is running why is it so...
@robojax
@robojax 5 лет назад
you must be done something wrong. Or the L293D is bad. Check the wiring. Remove them and put them one by one again.
@abhinavbohara512
@abhinavbohara512 4 года назад
How to control the speed of DC motor. please share code for that also
@robojax
@robojax 4 года назад
You have you looked under the video in the description of the video? see here snipboard.io/EG4O2l.jpg
@haffizullashaikh9038
@haffizullashaikh9038 6 лет назад
Please make a cnc plotter
@robojax
@robojax 6 лет назад
Hi, I have not worked with CNC but I will consider looking into it. Thanks
@tahmid61
@tahmid61 6 лет назад
Hello, how are you sir?
@robojax
@robojax 6 лет назад
I am good. How are you?
@utkarshmisra4161
@utkarshmisra4161 4 года назад
The connection at 7:46 is a bit wrong, the 8th pin should go in the 5volts rail rather than the ground rail. Great work other than that!
@robojax
@robojax 4 года назад
I just watched it. it is connected to 5V.
@gitgud42
@gitgud42 2 года назад
thank you for saving my ass once again
@jabezjoshua5324
@jabezjoshua5324 3 года назад
code needed
@robojax
@robojax 3 года назад
perhaps you missed it my friend. All my videos have code. the link is under the video in description.
@CreativeOven
@CreativeOven 3 года назад
Wow it sucks for me because it works whenever it wants!
@robojax
@robojax 3 года назад
LOL. yes. it will if you don't do it correctly.
@khalifashuaib1168
@khalifashuaib1168 2 года назад
This video has been a great help for me. Keep doing what you're doing Robojax!
Далее
NOOOOO 😂😂😂
00:15
Просмотров 4,4 млн
Поём вместе с CLEXXD🥵 | WICSUR #shorts
01:00
Как вам наш дуэт?❤️
00:37
Просмотров 1,2 млн
Big Stepper Motors with Arduino
29:43
Просмотров 1,2 млн
L293D Basics
7:25
Просмотров 9 тыс.
Battery  low 🔋 🪫
0:10
Просмотров 13 млн