Это видео недоступно.
Сожалеем об этом.
Lesson 95: Using L293D 4 DC Motors Shield for Arduino UNO and Mega | Arduino Step By Step Course
- Добавить в
- Мой плейлист
- Посмотреть позже
- Поделиться
Поделиться
HTML-код
Размер видео:
- Опубликовано: 17 авг 2024
Комментарии • 149
Следующие
Автовоспроизведение
Lesson 102: Using ZK-5AD 4A Dual DC Motor Driver TA6586 4A 14V The best Motor Driver (new product)Robojax
Просмотров 11 тыс.
Arduino Tutorial 37: Understanding How to Control DC Motors in ProjectsPaul McWhorter
Просмотров 320 тыс.
Arduino Motor Shield ExplainedTech Talkies
Просмотров 6 тыс.
Roman Reigns - I Am Greatness (Entrance Theme)WWEMusic
Просмотров 742 тыс.
The Franchise: Episode 1 - Starting From Zero | Training Camp, Preseason | Kansas City ChiefsKansas City Chiefs
Просмотров 272 тыс.
I Shopped at SECRET STORESHopeScope
Просмотров 659 тыс.
Our Damaged Trimaran... (Can We Sail JAPAN Now?)Sailing La Vagabonde
Просмотров 336 тыс.
Obstacle Avoiding Robot Car Using An ArduinoMichael Klements
Просмотров 265 тыс.
Control Position and Speed of Stepper motor with L298N module using ArduinoRobojax
Просмотров 401 тыс.
Stepper Motors and Arduino - The Ultimate GuideHow To Mechatronics
Просмотров 1,1 млн
Arduino DC Motor Control Tutorial - L298N | H-Bridge | PWM | Robot CarHow To Mechatronics
Просмотров 1,2 млн
Controlling DC Motors with the L298N H Bridge and ArduinoDroneBot Workshop
Просмотров 1,3 млн
How to Power an Arduino Project (Lesson #19)Science Buddies
Просмотров 76 тыс.
INFINITE RANGE ELECTRIC CAR - DIY BuildDrew Builds Stuff
Просмотров 703 тыс.
Driving DC Motors with MicrocontrollersDroneBot Workshop
Просмотров 631 тыс.
"Извини, я передумала..." Анастасия СОЛОВЬЕВА и Индл КИНГАнна Ханна
Просмотров 401 тыс.
Best car sound you ever heard 😳 @MrCarSounds #beatboxCHEZAME
Просмотров 1,6 млн
Classic Italian Pasta Dogalbert_cancook
Просмотров 5 млн
Бутылка Air Up обмани мозг вкусомКостя Павлов
Просмотров 1,6 млн
Harley Quinn's revenge plan!!!#Harley Quinn #jokerHarley Quinn with the Joker
Просмотров 8 млн
Running With Bigger And Bigger FeastablesMrBeast
Просмотров 85 млн
7 Days Stranded In A CaveMrBeast
Просмотров 45 млн
very comprehensive overview in a relatively short video! Appreciate the spec sheets, diagrams and code examples. Your Arduino series is great.
Glad it was helpful!
I amde an obstacle avoiding robot and my motor driver is not working and making a beepmsound every 4 secodns what might be the reason?
Check voltage
Did your project work when you step up the voltage
Thank you very much, I was finally able to build my robot car!
You are welcome. The best thank you for me is to subscribe to my channel.
Thankyou it helped me a lot the PWR pin junper
Glad it helped
I had a school project where I needed to build a robot. I was very confused wether I needed to connect external power to the motor shield or not. Your explanation at the end was superb. Thx bro! Im subscribing from now on :D
Hii Bro i am also in the same condition i am making an obstacle avoding robot and i am using L298N motor driver but there is some issue with the power supply what can i do ?
So if I place the shield over my Arduino I can't use the others pins(I mean I can) but I need to solder female pins on Shield,why they didn't already made with female pins?!
you are right. all other pins are not available .
was very helpful this is the type of cord that i was searching for
Thanks for this. I think the 600ma you mention is limiting me. I can hear the motor PWM signal with a high pitch noise but the motor doesn't turn. I tried increasing voltage but it didn't work. I ran the 4.5v outlet direct to the motor and it span no problem but going through the board (jumper on or not) the shield just doesn't have the juice to make it even spin even at 255 power in the code.
Great video really well done. How did you solder the wires to the motor? And is it okay for the wire to be connected to sheild regularly no solder?
I have a question, I was making just like that but with bluetooth module, and everytime I turn on the battery the BT module will not blink but if I use the Arduino it works. Can you explain? Thanks
When I change the velocity of one motor without changing the others, their velocity is also changing 😢. It looks like the power of each motor is being dependent of each other. Do you know?
No. Each should be independent. Make sure use the main code without changing it.
Nice video. Thanks bro.
hi , how do i connect it to the stm32
@Robojax I have a question.
So I hooked up 4 6v dc motors to the motor shield, supplied them with 4 AA batteries(6V). M1 runs just fine, but M2 M3 M4 isn't getting any Power. How can I fix this? Please respond ASAP, thank you so much!
The same power that goes to all motors . It is the arduino you have send single or control them.
Did you solve this? Also having the problem that with all 4, only 2 seem to work.
@5.30 -
I want to change the direction of the motor revolution without changing or switching the wires physically ? How do I do it.
Is there an Input Pins / control pin mechanism of some sort where I can change programmatically using the sketch. I can do that for the L298 breakout board using the IN1 and IN2 pins. I am looking for something similar on this breakout too.
Appreciate a reply.
BTW : I dont want to install the AF motor library - but I want to do something using bare Arduino sketch like digitalWrite( InputPin, HIGH); also I m using a Wemos D1 to control the motor. The AF library is not compatible with this hardware/uC.
Hello, the chip is L293D and I have multiple videos on that. here is the video ruclips.net/video/LkJRakZBChI/видео.html where the chip is used on breadboard. I have mentioned the pins on the shield, just send command that hat pin shown in this new video. Good luck
@@robojax Wow ! that response was quick - Was not expecting it.
Thanks - Will check and much appreciated the timely help.
@@robojax I saw the video now, and I was hoping to use the breakout board ( L293shield) instead of using the bare chip L293D
Hi Sir, first question: is it possible to connect a manual switching on this circuit using switch buttons to start&stop the circuit and then switch it back to automatic sequence when you are using arduino mega 2560?
second question: can i still connect the LCD display on the circuit to show which motors is running and how can i connect it?
Hi, yes both are possible. you just need to know how to make it work.
Love from iraq
I want to connect 5 dc motors and 1 motor pump then how can I connect to motor shield?
you can't control 5V. you need additional motor driver.
hey,how can i connect L293D 4 DC Motors Shield with raspberry pi 3
Hello, I have a problem when the car moving forward the right side DC motor move slow & sometimes not moving I need to move the tyre using hand then it worked but still slow but when reverse it worked. Can you help me? Thanks
check the code. make sure you have not changed it before using it for the first time.
Hello: I am just try to run the code but occuer this: error: 'DC_MOTOR_PWM_RATE' was not declared in this scope
156 | AF_DCMotor(uint8_t motornum, uint8_t freq = DC_MOTOR_PWM_RATE);. Could you hep me? Tks a lot...
It means you have not installed the library or you removed portion of the code.
@@robojax OK. Thank you for your rapid response, but what library? I can not find it.. PS. The code is complet.
I mentioned in the video on how to install it. if you don't instlal it won't work.
@@robojaxHello again, I am sorry insist, but the fail goes on. Could you inform your email in order to send a photo with the library error?
why the motors still turns after being stoped?? where does the leak voltage come from??? this is bad if you want precision?? is there something floating??
they should not run. when you stop them. they stop. you must have done something wrong. either wiring or code.
Are the input pins (for battery) rated for 9V or 36V? Datasheet is confusing and Amazon's description is just as confusing
I mentioned the voltage for the board at beginning of the video. That is important. Then the datasheet is for the chip L293D. That is for information as I mentioned the capacitors on the board can't accept 36V they will explode. I don't remember what was the input voltage but watch the video I know I mentioned it.
@@robojax Thank you I missed it the first time. 5-16V
I have 4 gear motors and whenever I try running them all using my motor shield they don't run I always have to spin them with my hands to make them spin and they stop when I apply very small load on them . The power supply is given through motor shield and is 18v.please help(arduino uno)
Hi (we say Hi or Salam first),
it seems you are not sending full PWM signal to the motor. I forgot the maximum voltage this shield can handle but if it 18V is within the range, then just apply 100% PWM as you already have geared motor which slows the motor at certain ratio. Good luck
Asalamualikum
I did it but still it's the same
don't know how I put the motor's wires in their entrances to the board. Are there conditions for connecting the motor's wires to their entrances or not?
you are question is not clear? are you talking about "connection" or "condition" there is not condition. but for connection I've shown them all.
I really like your explanation it's very clear and easy to understand but can I use the other pins or add sensors and modules such as NRF24l01 radio module?
yes all other pins are available.
I have just discovered your tutorials, excellent. However I am trying your 4 dc motor code and I have an error. "
call to 'AF_DCMotor::AF_DCMotor(uint8_t, uint8_t)' uses the default argument for parameter 2, which is not yet defined
". I am new to Arduino and I am not familiar yet with commands
It means you have skipped the video. Watch it fully and the issue will be resolved.
@@robojax Can run the program. Because choose different boards, after change to arduino uno can run the program
@@robojax Can the motor shield run while been control by mpu6050?
you can use it with anything else but you gotta know which pins are using by the shield. I should have explained it and I don't remember which pins are. see the video.
Hello, first and foremost, great video! I‘ve got a question however, how do i start and stop this sequence via the computer or something connected to the arduino via cable? I‘m looking forward to your response and am thanking you in advance.
I bilieve you might need to add a switch for that (on the arduino) so you can manage to stop and start it, however you might need to make a code for it for the sensor of the switch to work properly using the arduino IDE and you will probably need to use a decision statement for that also an analogwrite function
ok ill look into that, thanks alot for the help!@@majestro4077
Hello Sir
Why mine is hot, I use l293d for 2 servo , 2 12v water pump with 0.6 current load each and also 2 12v dc motor with 1.1 current load each 😅
Hello, Can I use this very same shield to control the same motors with a joystick?
On an uno board? If not what is the best solution to do so?
Thanks
Yes you can do it.
@@robojax great how can I find out how to do it? Firstly all of the pins are being used and I can’t access them. Second I don’t know how to code for such. Can you please help?
I have 4 gear motors and whenever I try running them all using my motor shield they don't run I always have to spin them with my hands to make them spin and they stop when I apply very small load on them . The power supply is given through motor shield and is 18v.please help(arduino uno)
I tried increasing the PWM signal but its still the same
Did you solve this? Also having the problem that with all 4, only 2 seem to work.
@@awesomecubed have you found a solution? I have tried everything and keep running into the same problem. The motors all make a little buzzing noise but don't rotate.
@@thesaltycorn1622 I found I had two of the motors backwards. The L293D chip doesn't specify which is the positive port and which is the negative. A voltmeter helped me see that and then switching the direction of the leads solved the problem.
Why my motors is not working in 9v battery ,please help
If you did not change the code , the check the wiring.
@@robojax its working if I connect with PC ,but not working with battery
The you are forgetting to connect the jumper. Watch the wiring section of the video
Bro my ardiuno is not getting power from the motor driver shield , when I connect it with computer it work but when I remove with computer and supply power from battery it is not working
please watch carefully. there is jumper sittings you have to pay attention to .
@@robojax bro after coding I have connected the jumper in motor shield and supplied battery power from external supply then too it’s not working
Same problem with me
very informative
If I use this for a robot car. Can I also use my arduino mega to control LED Lights on the robot car?
of course all other featurees can be used. this is a shield and shied does not interfer with other functions.
I have just discovered your tutorials, excellent. However I am trying your 4 dc motor code and I have an error. "Expected initialiser before AF_DCMotor". I am new to Arduino and I am not familiar yet with commands, I have been using Raspberry Pi for my robots but RPi has now become impossible to get so I have turned to Arduino.
Hi, it seems you have not installed the library.
@@robojaxcan i use 4 motors of 24 volt 350watt?
in fritzing software, this shield is not available. can you send me fritzing file or software name for circuit diagram.
of course fritzing has very limited library. you just Bing or Googe for "L293D shield fritzin" and you will find.
HLO BUDDY IT CAN RUN BY AA BATTERY OR 18650 battery
we don't care about the source. I mentioned the voltage which I forgot if it was 12V or 20v. just supply the voltage. of course you can't carry 5000kg using a Toyota Corolla. The same is true for battery. I have no idea what kind of morot you run. but yes both batteries will work.
How much power in suplly
Explained in the video . If your motor is 10V then connect 10V. Watch the video
selamün aleyküm. Will the driver work with 2 pcs 24v stepper motors and 2 pcs 12v stepper motors?
walaikum salaam, for each 2 DC motors you can connect one stepper motor. so you can control 2 Stepper motor. We talk about bipolar stepper which has 4 wires. but as for the voltage, I am not sure. I have mentioned and provided the datasheet for L293D chip.
Hi there, Karthik here.
Recently came across your channel and loving the content!
By the way, for one of my projects I was looking for voice recorder and playback module. So, found APR33A3 to be best fit
But is it possible to interface in such a manner that if IR detects any obstacle then M1 will play and if ultrasonic detects any then M2 will play, etc.
Hi, why you posted your comment under motor video while I have sound recording module video ? Please search . Here is how you can find specific video ruclips.net/video/OhkUceBWcHs/видео.html
Arduino Mega2560 gets hot when I gave 12v to motor shield. What should I do ?
you are connecing it incorretly., your Arduino should be powred either with 5V or through the power adapter connector if you are connecting 12V.
@@robojax I seriously just started working with arduino I'm newbie can you please help me and and answer in bit descriptive way. I really love your work sir need your help
@@robojax You meant to say we have to power Mega2560 and L239d separate ?
I don’t know how you powered the Arduino pay attention to that
will the driver work for 4 dc motors(3V each)?
I believe I have mention the operating voltage of the shield
Hello buddy, great video! Would a project using the TB6612 shield work with an L293D?
I just looked at the datasheet for 6612 and it seems it can be used instead of 293d. Yo understand it search my channel for l293d and learn about the pins then you should be able to use 6612 instead of it.
@@robojax Thank you for the reply Sir! I'm planning to use the 12C motor shield with it, and I watched a video with someone using a TB6612 and all I can seem to find for a reasonable price is L293D's so I was wondering if I could go with that instead. Again, Thank you for replying :))
Sir My One Problem Solution Find Me Please Sir Motor Driver L293D Shield Is Canect On Arduino Uno Problem Is Motor Driver All Ic is Very high Hit When A Problem Solution Please sir Reply 🙏😢
IC should not get heat when it has its own power supply.. but if you use power from Arduino then it might heat up a bit.
Also if your motor driver IC is heating up...check your battery
bruh I want to use those shiled without attach it on my Arduino. Can you make the tutorial? Like which should be wired if I only need the M1
Will. It work with Arduino
أهلاً وسهلاً ومرحباً-يتعذر الاشتراك ولا يوجد جرس-يتعذر الاستجابة لكل طلباتك--يتعذر التعليق- لا أعلم .
This is the comment you posted. So you can subscribe
Is this shield compatible with a Arduino nano?
When we say shield, it means it should fit physically. Now check if it fits on top of your board.
Can you please show us how to connect Ultrasonic and IR sensors to the same setup.
I have the video for that. Just add the pin and other definitions related to other project , and whether is inside setup() and after that whenever is inside loop()
@@robojax Can you please share the video link
There is voltage drop at each motor
I have a 10V supply
M1 has 3.6V
M2 has 2.5V
M3 has 2V
M4 has 1.5V
The motors r not running at full potential
We should have voltage and it should be consistent and about 1.7V or less
great explanation !! but i have question, i'm running 4 dc motors (6v 120mA) and 12 V battery (3x 18650 3 A) with a step down module to 9V (so the power is 9V to the driver). It works perfectly but the driver making a tiny sound, what does that mean?
The noise is heard when the speed is too low to make the motor move at faster speed. If your motor is not regular motor and has electronic circuit, that could cause noise due to compatibility issue.
@@robojax thanks for the answer
nice!! possible diagram and code arduino for controling dc motor 115v 15 A with potentiometer?
115V is very high. it is possible. by Driver with that voltage might be hard to find.
Help
arduino mega 2560 timeout communicating with programmer i need help 😭
hii sir after watching all videos .I decide to make interface MAX30102 and MLX90614 sensor with LCD display but i got problem with connect SDA and SCL pins of sensor and lcd together . I humble request u sir can u make video on it please sir please. i waiting for the video thank u.
This is wrong video you have posted your comments under. If you watch the course set by step you won’t have this issue . Please watch this video yo solve the problem ruclips.net/video/TkKPUHMFDiI/видео.html
@@robojax hii sir i just watch u r video carefully but here i use. Only one display and 2 different sensor max30102 and mlx906 so i dont know how i can interface with 3 sdl and 3 scl pins i try to do watching video. But now also i got prblm its shows Nan for max sensor can u make it and upload the video related to it plz sir pls sir. I just 1 st time buy the components and now i am not able to get output and that make me feell low plz sir help me to get output
@@robojax and i delete all. My spam comment sry for this wrong behavior
They are all they need can see them all in one page
@@robojax yes i want to display all info in
lcd pannel
can we control this shield using joystick?
I have explained how to control a motor, then it is easy to use a joystick to send the same command to control a motor. here is the video on joystick ruclips.net/video/6N8Iq353GM8/видео.html just watch, learn and easily combine them.
you didn't reply back? I searched the video for you but you didn't say anything عزت لقمان
@@robojax thanks for the reply. I just have seen my notification on youtube. Appreaciate your help and your insightful videos!
Esp32 cam ?
Search my channel
karim, can you write a code for (4) brushless motors? please
very cool project. we need Electronic Speed Controller or ESC which is a hardware that drives the brushless motor. I will see if I get the components, I will write code and make video.
how i can simulate l293d ?
simulate it where? if it is the MATLAB, then you need to look into datasheet and design the pieces.
bro i want your help i am not able to solve this problem
Hello, what is the problem? please explain or provide error code.
Can it is possible
code
Link in description or go directly to Robojax.com
This motor sheild has blown up my 2pcs. Arduino Uno
you must have connected it incorrectly. 1000s of people are using it. there must be something wrong you do . or possibailly that particular shield is defective.