Very good explanation. Clarifies the relation between M1 M2 M3 & M4 motor connecting points and programing them in sketch. Please continue making simple but great videos. Great help for beginners.
It really helped me alot.... I was going to make a project for science exhibition. .but when I go to ardiuno app to upload the code of motor driver ......it shows error ...showing af motor something. .......but after seeing this I downloaded the library of adafruit ........now its working 😮💨😀😀 THANKYOU
If you have different power source for Arduino board then the jumper must be removed. But if you to power the Arduino board through motor shield then you have to plug that jumper.
very beautifully made us understand the code and motor with motor shield and use of jumper if external power supplied to shield i never seen any other tutorial such way as you described the all function it is a great tutorial power that you have i like it not me i feel all learner will understand it...thank you dear so much your efforts for new learner... i again thanks to you and expect more such beautiful tutorial in future ....God bless you for your kind support through this internet....
Urgent please reply!!! I want to connect ESP32 Cam module with this how and which pins to use and what are all the digital pins available after you connected those motors ?
Hello! Please answer. As you can see on 1:52, on the lower right corner, there are rows of holes in there. I've followed a tutorial of an "Arduino Vacuum Cleaner" with this exact same motor shield, except his motor shield has like pins or something connected to the hole where you can insert something there, while in mine, it only have holes. However in the order that I've received, there are a row of black things with like a metal pin in it. What do i do? I really need to insert something to the holes in the bottom right
great video!!! may I ask if it is possible to run 2 motor driver on one arduino (arduino uno) ? Im planning on using 2 dc motor and 2 stepper motor... maybe you might have some recommendations
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.
Hi, I am making Arduino obstacle avoiding robot, so i have given seperate power to adruino and driving shield. I have given volte 6 to the driving shield, but my car is not moving properly, it's move slowly, so i have doubt that how much voltage supply we can give to shield???
First if you are giving separate power supply then make sure the jumper is not connected and as far as voltage is concerned 6 volt will work but make sure the 6 volt power supply must provide enough current to drive those motors.
Please answer🙏🏻 Can? I connect mobile charger adapter (12v 5a) to motor driver SHILD for power . And I connect 2 tt gear motors. Is it work? I make obstacles avoiding Arduino Robot in 2 wheels.
Sir I need your help so, I am making a All in one robot car with arduino of DIY channel and they are using only the smaller version of the motor driver which only have 1input and 1 output and I don't want to buy another one so can you please help me connect the regular motor driver with the code used in all in one car? If you can then please 🙏 help me. If you can make a different video about to make a all in one robot car then please make it of normal motor driver without buying the kit thank you.
man you are my hero I was doing a project and now I am sure your video will help me so much , just one question btw I connected 4 motors to the driver and 3 Li batteries of total 11.1 volt and made code for them but after using it for a while on of the ICs got so hot and got burned smoking do you know what is the problem that caused it I bought a new IC and it is again getting so hot while moving the motors
@@UtGoTech I am using the simple yellow gear dc motors like all videos of making RC car are using it idk what is heating it maybe short circuit maybe the module can't hold the 11 volt
can it be used for a drone/helidrone? i recently bought L293D shield and the 2 motors I have to my helidrone are DC powered, but the L293D chip from the driver heats up. What do I do? Do I look for a different driver or do I add extra electronic parts for the motor? Keep in mind that the motor only vibrates and has a bad start (unless I start it manually). Thanks
Generally drones have BLDC motor or Cordless Motor. If the motors have 3 terminals then it is a BLDC motor. If it have only 2 terminals then it is a coreless motor. For BLDC motor use ESC as motor driver and for coreless use some kind of MOSFET driver.
Very informative! The motor you had used were 12v? or more/less than that...? Can we use 4 motor each of (12v) ? and to run those motors what battery specification we need to use ? 12v is ok ?
Yes 12v should be fine. Try not to exceed 12v just for safety even though the boards are usually made to withstand till about 24v. Also yes you can connect up to 4 12v DC motors but use a high MAh battery or Ac to DC power supply so it works. All the best for your projects!
Bhaiya I need your help🙏, I am making Bluetooth control fire fighting robot in which we will use hc05 Bluetooth module,ardiuno Uno,4 BO gear,one water pump,battery, ardiuno motor shield can you make video by using this all component plz in 2 or 3 days and also provide me code and diagram of circuit as well
ruclips.net/video/Pqs-3GgWW3s/видео.htmlsi=PrNxhjvAtUQLqbH9 Make this robot then contact me, I will tell you what more to add for the fire fighting robot.
Hi! I was using this motor drive for powering up a DC motor (24v 0.5A), in its specifications it was stated, that it can handle voltage of 4.5...36V and up to 1.3A. I used it a lot but eventually, the capacitor which you can see from the left down on the 6:51 has exploded. Could you tell me what possibly could be a reason for that? Thank you!
@@UtGoTech Well now I don't have that possibility))) But in the specification for this board for external power source it was stated that it should be able to handle up to 36V...
hey brother i am not able to get the power supply to m3 & m2 terminals in gear motor driver so i have connected it to servos 1 and 2 ports of the motor driver circuit so how shoul i code ? please help me out
@@UtGoTech i would like to ask help for my school project if i may? Im working with school project with the final goal of having automatic grass cutter. All i need is to have my dc motor program to run specific distance then change direction. Im using arduino uno and L293D motor driver shield. The problem is when i connect the dc motors in motor driver shields terminal such as M1, M2 ,M3 ,M4 it doesnt even work. Even when i try the exact experiment in the website of lastminute engineer it still doest work. So i try to put 1 wire of dc motor in M1 terminal then put another in ground and it work it move forward and recieve the command of stopping before moving forward again but the command about doing backward movement doesnt work and now its a dilema. I also try your experiment but i doesnt work i hope u can help me. is there any way to contact you directly and discuss my problem more. thankyou
I have an Arduino and a motor shield but even after connecting it to power supply only one of my motor is able to run as soon as I connect another motor it does not start and first one also stops working, do let me know if anybody have any solution for it
Dobar dan imam pitenje za vas kao su motori maci i vuku vise od 600mah kako bi to mogao da resim? Ja sam stavio 4 motora koja vuku vise od 600mah i zbog toga mi dolazi do prekida u radu motora pa se oda opet pokrenu. Sta bi ka mogao da uradim da do togane dolazi. Hvala
What kind of battery is being used to connect the l293d? Does a 6F22 9V battery sufficient to rotate 4 dc motors? Please let me know on any other options if not!!
I find it dissappointing that you show how to use the driver board ,but where is the code to support your lessons?Without the code no one can follow you? Thanks for the information and I hope to see the code soon.
This code uses Adafruit Motor Shield V1 Library which is designed for L293 motor drivers, you have to use different libraries which are designed for L298 Motor Driver.
Ref my last week clarification request. TKs much for your reply. When measured Voltage at the power input terminal of M.Shield it was 3.9 V. How the 9 V external power supply applied at Arduino board shows( 3.9V) at motor shield power input terminal inspire of jumper removal ? Is there any fault.? Anticipating your expertise comments. Reason for the above question ::: Two 6 VDC motors connected to M3 & M4 ports. 6 V lead acid battery connected to motor shield ( on measurement it is 6.4 V.) . Motor speed set to 240 Code uploaded to run both motors. When I checked the voltage at ports M3 &M4 it was 5.8 V.. Motor wires removed and Voltage measured It was 6.1 V . Why there is a big drop of 0.3 V at M3 & M4 terminal ( No drop at input terminal )
Reason for getting 5.8 volt when motor connected and running at speed 240 : Arduino board uses PWM signals to control the speed of the motors. Arduino board controls the duty cycle of the PWM signal to vary the speed of motor due to which you will get average voltage at the motor terminal which will always be less than the input power supply. As you are running motor at speed 240 that's why you are getting voltage of 5.8 volt in motor terminal. If you decrease the motor speed further then the voltage in the motor terminal also decreases because it is showing average voltage. If you increase the motor speed to its maximum, that is speed 255 then in the motor terminal you will get almost same voltage as input supply voltage. Reason for getting 6.1 volt when motors are disconnected.: When motors are disconnected no one is drawing power through the motor terminal and due to the presence of decoupling capacitors on each motor terminal you are getting higher voltage.
I connected the Adafruit Shield driver to an Arduino Uno and then connected four DC motors to the Adafruit Shield driver, following the instructions in your video. The code was also identical and compiled successfully. I provided power to the Arduino board using a DC jack with two lithium-ion batteries, each supplying 3.7V. Both the Arduino and Adafruit Shield are powered, but after starting to run the motors, the ICs inside the Adafruit Shield overheat. In fact, we can't run the four motors for even six seconds. Could you please help me solve this problem?
Thanks a lot. This helped lot for my projects. I want to control 4 N20 geared motors individually for camera automation and each motors will be controlled through GUI with momentary buttons. Hence suggest me if USB cable and power cable can be connected simultaneously for power and motor control...?
Hello, I hope this message finds you well. I'm currently working on a project involving an Arduino motor shield and four DC motors. I've encountered an issue where only two of the motors are functioning as expected. I would greatly appreciate any guidance or suggestions you may have on how to ensure that all four motors operate correctly. Thank you in advance
Hello Ut Go very nice video , i subbed but i have a small issue so what happens is that i am using your same setup with shield and uno boards and two 18650 powerbank batteries to power the shield and a cable to power the uno. but when i run the 4 motors (small only) the ic on the shield heat up quickly in like 30 seconds. maybe it won't heat up without the cable connecting the uno to the laptop? please give confirmation. will appericiate it very much :)
Hello first of all great video Im having an issue Im connecting a 28BYJ-48 Stepper motor (I have checked the connections many times) and im powering the shield with a 12V 2A adapter It doesn't rotate nor vibrate only it heats up I was earlier using 2 nema17 motors and those weren't doing anything Pls suggest me what am I doing wrong is it the supply issue or is my shield broken? Ps - the led on shield does glow when powered with external supply i have also unshorted the pwr pins
Can you please help me I use 4 Bo Motor, 1servo motor for obstacle control car I use 11v rechargable battery but speed is low and car not moving motor run slowly and can you please explain why this happened
I want to take the speed instantly from a moving wheel thanks to the sensor and make the rotation speed of the dc motor with 50 rpm 24 v encoder, can you help me?
@@UtGoTech yeah the same problem I have faced and my last shield damaged and now it's not working and also my last Arduino gone so please suggest me where should I give this 7.4v power and what should I do for that this thing for doing human following bot
I saw your tutorial video for motor shield. As per your instructions I write the code for 1,2, 3 and 4 motor. But while compiling and uploading code error is coming. Redefine Af_Dcmotor. How to solve error. Please guide
I have applied 7.4V to external power and 5V usb to Arduino for power I removed the jumper and for some reason only two motors are being powered and they are only getting 5V? Shouldn’t they be getting the full 7.4V and why are only two motors spinning (out of 4)
In output is a pulse width modulated output. The voltage you are getting is average voltage. If you want to increase that voltage then change speed to maximum by using setSpeed(255).
is it possible to connect the motor driver shield to a breadboard which is then connected to the arduino? i need to be able to connect a ps2 controller to the arduino to control the motors
@@UtGoTech sorry this is my first ever arduino project are you able to give me a rundown on how i would connect the arduino and motor driver shield to the breadboard?
@@UtGoTech the pins that the motor driver shield use i also need for connecting a ps2 controller to the arduino, so i wanna try use a bread board and connect the arduino, motor driver and controller to it.
hey brother I am making a Arduino robot with the same motor driver shield but when I connect the motor driver with battery( 3.7v X2 ) only the light is blinking and nothing works but when I connect Arduino with my pc the wheel motors works but the servo doesn't .... I have tried with the another piece of this motor driver but still the same problem.... 🥺 please help me brother.
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
Hello sir, I have question. How about if I wanted to use a HC-05 bluetooth module to control the motors automatically. How do I code that? And about the speed you used 200, is it possible to increase the speed? What is the maximum speed I can use?
Yes you can use HC-05 Bluetooth module to control motors. For coding you can check out the code in Bluetooth RC car video and modify it according to your needs. You can set the speed up to 255, maximum.
Great video! I am making a ball launching machine using a 12V 30W motor and a 16.8 Ah Lithium battery. Would this motor shield work with this setup? Thanks
Hi Sir! Is it possible to connect LCD display on this prototype to show motors are running/stopping if I'm using Arduino Mega 2560 board? And can also connect a manual circuit using stop/start buttons so that I can control the motors manually and automatically if I want? If possible I do I connect the board and write the code?
sir i am using 3 18650 battery and connected it to the driver, my motors wont run unless i connect another power supply to the uno controller, what seems to be the problem?
If you are using a single power supply for both arduino uno and motor driver shield then you should connect the jumper in motor shield but if you are using a separate power supply for both arduino uno and motor driver shield then you must remove the jumper in the motor shield.
@@UtGoTechim using a single power supply and the jumper wire is connected, i noticed that the L LED in the arduino uno is not on when im using a single power supply
@@UtGoTech yes the jumper is already connected but i think the arduino uno is not getting enough power, do you think that the battery's current is the cause or my microcontroller and shield is broken?
This is insanely well produced. So easy to learn. One of the best tutorials I have ever seen, thank you so much
Glad you liked it 👍
Amazing video !!
I was looking everywhere but finally found an amazing video
Glad you liked it!👍
Very good explanation. Clarifies the relation between M1 M2 M3 & M4 motor connecting points and programing them in sketch. Please continue making simple but great videos. Great help for beginners.
Thanks👍
It really helped me alot....
I was going to make a project for science exhibition. .but when I go to ardiuno app to upload the code of motor driver ......it shows error ...showing af motor something. .......but after seeing this I downloaded the library of adafruit ........now its working 😮💨😀😀 THANKYOU
Welcome👍
Thanks a lot! I had a problem with the M3 & M4
What problem. May be your M3, M4 IC is not working. You can try replacing the IC.
@@UtGoTech brother in my case:when I connect motors to M3 and M4 , motor not runs, what should I do please help
You should try replacing the IC
@@UtGoTech one more thing... If I giving supply to motor shield with 5000mAh should I have to remove the Jumper or not?
If you have different power source for Arduino board then the jumper must be removed. But if you to power the Arduino board through motor shield then you have to plug that jumper.
Excellent presentations. Even education colleges are not teaching like this . Easily understandable. May I request you to clarify my doubts.
Yes sure
very beautifully made us understand the code and motor with motor shield and use of jumper if external power supplied to shield i never seen any other tutorial such way as you described the all function it is a great tutorial power that you have i like it not me i feel all learner will understand it...thank you dear so much your efforts for new learner... i again thanks to you and expect more such beautiful tutorial in future ....God bless you for your kind support through this internet....
Welcome 👍
Best explanation, thank you very much ❤❤❤❤❤❤❤❤❤❤❤❤
Welcome 👍
Thanks. Just worked out why I just destroyed twO UNOs. That jumper🤯🤬. i liked warnings and instructions on packets back in the day.
Welcome
The best explanation of motor shield. Thanks a lot
Glad you liked it.😊
Very supportive thankyou. Job done with a 12V 10A power supply. 4 motors.
Welcome👍
can you take the inputs of buttons while using this shield?
Yes, there are some free I/O pins you can use.
Great video+explanation+presentation! Thank you for sharing! Well done mate - NEW SUB 🙏🏻
Thanks for supporting🙏
Urgent please reply!!! I want to connect ESP32 Cam module with this how and which pins to use and what are all the digital pins available after you connected those motors ?
How do you want to connect?
What type of RC Car do you wanna make ?
Bro how to write code for blutooth module hc-05 to control Arduino blutooth based car.
You have to learn how to interface with HC-05 module.
After you use all 4 motors, are you still able to plug in other things like IR detectors elsewhere?
Yes, if you are controlling only 4 motors then pin 2,9,10,13 and A0 to A5 are free for use.
@@UtGoTechcan you pls explain this since the motor shield takes up all the pins
You can use pins from A0 to A5
No sir the hw130 takes up all the pins as shown in the video both digital and analog
Pls help me out sir since I have an exhibition tomorrow 😅
Hello! Please answer. As you can see on 1:52, on the lower right corner, there are rows of holes in there. I've followed a tutorial of an "Arduino Vacuum Cleaner" with this exact same motor shield, except his motor shield has like pins or something connected to the hole where you can insert something there, while in mine, it only have holes. However in the order that I've received, there are a row of black things with like a metal pin in it. What do i do? I really need to insert something to the holes in the bottom right
You have to solder those header pins in those holes so that you can connect the jumper cables directly.
@@UtGoTech thankyou, problem has been solved
Great 👍
Which pins are the servos connected to if the motor shield is on a mega board
Same as Arduino Uno
@@UtGoTech thanks
Welcome
Estou extremamente agradecido por essa explicação tão simples e objetiva com resultados práticos.
Muito obrigado e Deus te abençoe 😊
Nós que agradecemos!
bro why do we have to remove the jumper in moter sheild that you did in 8:41
To prevent short circuit
great video!!! may I ask if it is possible to run 2 motor driver on one arduino (arduino uno) ? Im planning on using 2 dc motor and 2 stepper motor... maybe you might have some recommendations
No you can't control 2 motor driver shield with one Arduino UNO. But you can use different set of motor drivers to control 2 DC and 2 Stepper motors.
@UtGoTech thank you so much good sir!
Welcome👍
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.
You can use the "random" function in the Arduino IDE to generate a random number and use it as an interval.
Very well understood bro ❤
Thanks 😊.
Glad you found it helpful!👍
very nice explanation sir.
Thanks
Sir, I want to connect 4 DC motors each of 12v with 10rpm .what supply do I connect to motor driver shield help me ...
Your can use multiple batteries in series. But make sure motors should not draw current more than 1.2A peak per channel.
Hi, I am making Arduino obstacle avoiding robot, so i have given seperate power to adruino and driving shield. I have given volte 6 to the driving shield, but my car is not moving properly, it's move slowly, so i have doubt that how much voltage supply we can give to shield???
First if you are giving separate power supply then make sure the jumper is not connected and as far as voltage is concerned 6 volt will work but make sure the 6 volt power supply must provide enough current to drive those motors.
Excellent explanation. would be better if you can say what are the voltage ranges that can apply for the shield also. Thank you
Welcome
We welcome your suggestion. Thanks 👍
Awesome video. Very very well narrated and easy to follow tutorial. I tip my hat to you sir!
Thanks
Please answer🙏🏻
Can? I connect mobile charger adapter (12v 5a) to motor driver SHILD for power . And I connect 2 tt gear motors. Is it work?
I make obstacles avoiding Arduino Robot in 2 wheels.
Yes. 12V 5A will work
sir , in my moter driver shield l293d, when i connect moters it is not working. i am useing 12 volt battery, plzz reply.
What type of battery you are using
How much voltage, amps i should give to arduino motor shield?
Voltage should be between 6 to 12 volt and current about 2 Amps.
Sir I need your help so, I am making a All in one robot car with arduino of DIY channel and they are using only the smaller version of the motor driver which only have 1input and 1 output and I don't want to buy another one so can you please help me connect the regular motor driver with the code used in all in one car? If you can then please 🙏 help me. If you can make a different video about to make a all in one robot car then please make it of normal motor driver without buying the kit thank you.
Ok I will make All in one car and upload in upcoming videos.
@@UtGoTech thanks brother
Welcome
man you are my hero I was doing a project and now I am sure your video will help me so much , just one question btw I connected 4 motors to the driver and 3 Li batteries of total 11.1 volt and made code for them but after using it for a while on of the ICs got so hot and got burned smoking do you know what is the problem that caused it I bought a new IC and it is again getting so hot while moving the motors
Choose motors according to the current rating of the motor driver IC. Maybe the motors are drawing too much current which makes the IC hot.
@@UtGoTech I am using the simple yellow gear dc motors like all videos of making RC car are using it idk what is heating it maybe short circuit maybe the module can't hold the 11 volt
Use only 2 lithium ion batteries. Total 7.4V
can it be used for a drone/helidrone?
i recently bought L293D shield and the 2 motors I have to my helidrone are DC powered, but the L293D chip from the driver heats up. What do I do? Do I look for a different driver or do I add extra electronic parts for the motor? Keep in mind that the motor only vibrates and has a bad start (unless I start it manually). Thanks
This driver is not for drones.
This driver is heating up due to high current.
@@UtGoTech any other suggestions of shield/drivers for bigger motors?
Which motor you are using?
@@UtGoTech it's very unknown since the drone was a product from a shop, so I have no idea, unless the physical size can give a clue.
Generally drones have BLDC motor or Cordless Motor. If the motors have 3 terminals then it is a BLDC motor. If it have only 2 terminals then it is a coreless motor. For BLDC motor use ESC as motor driver and for coreless use some kind of MOSFET driver.
Very informative! The motor you had used were 12v? or more/less than that...?
Can we use 4 motor each of (12v) ? and to run those motors what battery specification we need to use ? 12v is ok ?
Yes 12v should be fine. Try not to exceed 12v just for safety even though the boards are usually made to withstand till about 24v. Also yes you can connect up to 4 12v DC motors but use a high MAh battery or Ac to DC power supply so it works. All the best for your projects!
Correct 👍
I want to make a drone using Arduino can i use this motor shield for controlling all four motors
No. This motor shield cannot be used to make drones.
And it will be too heavy
Bhaiya I need your help🙏,
I am making Bluetooth control fire fighting robot in which we will use hc05 Bluetooth module,ardiuno Uno,4 BO gear,one water pump,battery, ardiuno motor shield can you make video by using this all component plz in 2 or 3 days and also provide me code and diagram of circuit as well
ruclips.net/video/Pqs-3GgWW3s/видео.htmlsi=PrNxhjvAtUQLqbH9
Make this robot then contact me, I will tell you what more to add for the fire fighting robot.
Thanks for your effort sir
Mmm what does ut stand for
Welcome
Hi! I was using this motor drive for powering up a DC motor (24v 0.5A), in its specifications it was stated, that it can handle voltage of 4.5...36V and up to 1.3A. I used it a lot but eventually, the capacitor which you can see from the left down on the 6:51 has exploded. Could you tell me what possibly could be a reason for that? Thank you!
Have you checked the capacitor rating. May be the capacitor used is not rated for 24V.
@@UtGoTech Well now I don't have that possibility))) But in the specification for this board for external power source it was stated that it should be able to handle up to 36V...
Most of these boards are cloned copies. That's why they may have some serious specifications issues.
Look for the manufacturer site.
👍
Is it safe to connect 7.4V power source to the motor shield??
Yes
hey brother i am not able to get the power supply to m3 & m2 terminals in gear motor driver so i have connected it to servos 1 and 2 ports of the motor driver circuit so how shoul i code ? please help me out
Which type of motor you are using?
This is really helpful
Happy to help
@@UtGoTech i would like to ask help for my school project if i may? Im working with school project with the final goal of having automatic grass cutter. All i need is to have my dc motor program to run specific distance then change direction. Im using arduino uno and L293D motor driver shield. The problem is when i connect the dc motors in motor driver shields terminal such as M1, M2 ,M3 ,M4 it doesnt even work. Even when i try the exact experiment in the website of lastminute engineer it still doest work. So i try to put 1 wire of dc motor in M1 terminal then put another in ground and it work it move forward and recieve the command of stopping before moving forward again but the command about doing backward movement doesnt work and now its a dilema. I also try your experiment but i doesnt work i hope u can help me. is there any way to contact you directly and discuss my problem more. thankyou
Contact me on Telegram.
I have an Arduino and a motor shield but even after connecting it to power supply only one of my motor is able to run as soon as I connect another motor it does not start and first one also stops working, do let me know if anybody have any solution for it
Check the power supply.
Great explanation
👍
Dobar dan imam pitenje za vas kao su motori maci i vuku vise od 600mah kako bi to mogao da resim? Ja sam stavio 4 motora koja vuku vise od 600mah i zbog toga mi dolazi do prekida u radu motora pa se oda opet pokrenu. Sta bi ka mogao da uradim da do togane dolazi. Hvala
Use a power supply that can drive 4 motors simultaneously
Can I know, M1,M2,M3M4 of motor driver get connected to which pin of the arduino uno?
In the case of using DC motor, pin11 for Motor1, pin3 for Motor2, pin5 for Motor3, pin6 for Motor4 , 4, 7, 8 and 12 for all of them are in use.
Absolutely helpful. Thank you 🙏❤
Glad it help👍👍
After you put the last code for all motor after that we can remove the Arduino cable .? Will the code run if we only give power through motor shield
Code will run even if Arduino cable is disconnected but for that you have to connect the jumper in the motor shield
Bro i want to make drone so should I have to put the same (200)speed code for the drone
You can't make drone using these type of motors.
What kind of battery is being used to connect the l293d? Does a 6F22 9V battery sufficient to rotate 4 dc motors? Please let me know on any other options if not!!
9V battery will not work. Use 2 lithium ion cells in series.
@@UtGoTech Thanks for replying!
Should I have to use 18650 cells?
Yes, you can use 18650 cells.
Can you have the motors stop at a certain level of torque/resistance?
This can't be achieved precisely by using this motor driver shield
I find it dissappointing that you show how to use the driver board ,but where is the code to support your lessons?Without the code no one can follow you?
Thanks for the information and I hope to see the code soon.
Acknowledged your concern. Code given in the video description.
Hope your problem is solved.
Been very usefull. Thank you very much!
Welcome
My m1 and m2 needs external push to start while m3 and m4 works normal… do i need to add external capacitor on motor or my shield is defected??
No, just increase the speed in code or increase the voltage of the motor driver.
@@UtGoTech thank you…
Welcome 😊
I want to use it for pid algorithm using shield, can i how can i i change speed while it loop
Yes you can.
Using setSpeed function
@@UtGoTech and can we use jumper cables while should shield?
Sorry didn't understand what you're saying
@@UtGoTech like shield is covering other pins too so can we connect sensors to the shield or we require different thing
There are pins from A0 to A5 still available.
hello, can you help me about how to accord your code for a Shield motor L298P ? for motors i use TP101 kit and it not work.
This code uses Adafruit Motor Shield V1 Library which is designed for L293 motor drivers, you have to use different libraries which are designed for L298 Motor Driver.
I just want to ask sir if this type of motor shield can be able to move 250v
No
Ref my last week clarification request. TKs much for your reply. When measured Voltage at the power input terminal of M.Shield it was 3.9 V.
How the 9 V external power supply applied at Arduino board shows( 3.9V) at motor shield power input terminal inspire of jumper removal ?
Is there any fault.? Anticipating your expertise comments.
Reason for the above question ::: Two 6 VDC motors connected to M3 & M4 ports. 6 V lead acid battery connected to motor shield ( on measurement it is 6.4 V.) . Motor speed set to 240 Code uploaded to run both motors. When I checked the voltage at ports M3 &M4 it was 5.8 V..
Motor wires removed and Voltage measured It was 6.1 V . Why there is a big drop of 0.3 V at M3 & M4 terminal ( No drop at input terminal )
Reason for getting 5.8 volt when motor connected and running at speed 240 : Arduino board uses PWM signals to control the speed of the motors. Arduino board controls the duty cycle of the PWM signal to vary the speed of motor due to which you will get average voltage at the motor terminal which will always be less than the input power supply. As you are running motor at speed 240 that's why you are getting voltage of 5.8 volt in motor terminal. If you decrease the motor speed further then the voltage in the motor terminal also decreases because it is showing average voltage. If you increase the motor speed to its maximum, that is speed 255 then in the motor terminal you will get almost same voltage as input supply voltage.
Reason for getting 6.1 volt when motors are disconnected.: When motors are disconnected no one is drawing power through the motor terminal and due to the presence of decoupling capacitors on each motor terminal you are getting higher voltage.
I connected the Adafruit Shield driver to an Arduino Uno and then connected four DC motors to the Adafruit Shield driver, following the instructions in your video. The code was also identical and compiled successfully. I provided power to the Arduino board using a DC jack with two lithium-ion batteries, each supplying 3.7V.
Both the Arduino and Adafruit Shield are powered, but after starting to run the motors, the ICs inside the Adafruit Shield overheat. In fact, we can't run the four motors for even six seconds. Could you please help me solve this problem?
Look for speed setpoint, try reducing speed.
Check the actual voltage of the battery pack.
Don't use high power DC motor. You can use small DC motors.
Thanks a lot. This helped lot for my projects. I want to control 4 N20 geared motors individually for camera automation and each motors will be controlled through GUI with momentary buttons. Hence suggest me if USB cable and power cable can be connected simultaneously for power and motor control...?
Yes, you can connect usb cable and power cable simultaneously after removing the jumper in the motor shield.
@@UtGoTech thank you so much
Welcome
in some programme ia have seen a command as AF_MOTOR motor1(MOTOR_1, MOTOR12_64KHZ) WHAT DOES IT MEAN
This is not a command. This is used to setup the control pins to control the motor.
Hello, I hope this message finds you well. I'm currently working on a project involving an Arduino motor shield and four DC motors. I've encountered an issue where only two of the motors are functioning as expected. I would greatly appreciate any guidance or suggestions you may have on how to ensure that all four motors operate correctly. Thank you in advance
Try swapping the L293D IC's in the motor driver shield.
Nice..good explanation
Thank You 👍
Arduino uses 5vdc....if I want to puke around with 24v or 48vdc ....can I use Arduino shield....thanks pls
No
Can I use a 9V battery for Arduino and another 9V battery for L293D shield, removing the jumper PWR?
Yes.
I made a four wheel drive car, but the motors connected in motor 3 and 4 slot are running slower than the motor 1 and 2, is there any fix for this?
Have you used same motor ?
What is setSpeed for motor 3 and 4 ?
One doubt..
When you unplugged the usb from laptop how motor is rotating as your programming,is it save in Arduino?
As the jumper in the motor Shield is connected, the power is transferred from the motor Shield to the arduino board.
bro what is the power supply you have given to the motor shield
I have used 12v power adapter.
Hello Ut Go very nice video , i subbed but i have a small issue
so what happens is that i am using your same setup with shield and uno boards and two 18650 powerbank batteries to power the shield and a cable to power the uno. but when i run the 4 motors (small only) the ic on the shield heat up quickly in like 30 seconds. maybe it won't heat up without the cable connecting the uno to the laptop? please give confirmation. will appericiate it very much :)
If you are giving separate power supply to motor Shield and arduino Uno then make sure that jumper is not connected.
Sir how much volt battery and mah will be suitable , in order to provide power to motor shiels , so tgat it works.
7.4Volt 3000mAh
Sir will it work on 5200 mah
Yes, but use authentic battery
Hello first of all great video
Im having an issue
Im connecting a 28BYJ-48 Stepper motor (I have checked the connections many times) and im powering the shield with a 12V 2A adapter
It doesn't rotate nor vibrate only it heats up
I was earlier using 2 nema17 motors and those weren't doing anything
Pls suggest me what am I doing wrong is it the supply issue or is my shield broken?
Ps - the led on shield does glow when powered with external supply i have also unshorted the pwr pins
Don't connect anything with motor shaft and try to operate it.
Can you please help me I use 4 Bo Motor, 1servo motor for obstacle control car I use 11v rechargable battery but speed is low and car not moving motor run slowly and can you please explain why this happened
Check battery voltage during running. Maybe battery voltage is dropping.
@@UtGoTech sir I'm not unplug the jumper during connection maybe this is the problem..? Can you explain please 🙏is this a problem..?
Congrats! Great video!!
Thanks and Welcome 👍
Can we control servo motors with Bluetooth module when servo connected to Motor Shield. Could u please explain it
Yes you can use servo motor, you have to use spare pins like A0 to A5
Can I connect it directly to the 2200 11.1v lipo battery?
Yes you can. But I suggest you to use a battery voltage of 7.4Volt.
Hi bro.... Pls help me. I wrote the same code for dc motor but the aurdino IDE asked to select board. I am confused in choosing the board. Pls help me
You have to choose Arduino UNO in boards.
@@UtGoTech thank you bro
Welcome bro
Hai sir
I need a one help how to servo motor 90 degree & give a power supply with cct please explain
Just modify the code according to your need that is 90degree in your case. Just power it using 12volts.
I want to take the speed instantly from a moving wheel thanks to the sensor and make the rotation speed of the dc motor with 50 rpm 24 v encoder, can you help me?
Which type of encoder you are using?
Hi can i use 14v battery , two 5v dc motor and two 12v motor
14V is too high for the 5V motor.
You can try reducing the speed of 5V motor but this will reduce motor life.
Bro what if I Connect 7.4v DC Jack in the Arduino board will the shield works for 4 motors
Yes, It will work but not for long due to heating of voltage regulator in Arduino board.
@@UtGoTech yeah the same problem I have faced and my last shield damaged and now it's not working and also my last Arduino gone so please suggest me where should I give this 7.4v power and what should I do for that
this thing for doing human following bot
Connect power to motor shield.
How many pins in the arduino board is being occupied in this set up?
All pins are occupied except digital pin 2, digital pin 13 and all analog pins.
very easy to understand thanks bro!!!
Welcome
Can we use 12v motor,will this motor driver give 12v output on each channel please tell me.❤
Yes you can use 12V motors and yes motor driver gives 12v PWM output.
@@UtGoTech thanku so much brother ♥️♥️♥️♥️
Welcome Bro👍
I saw your tutorial video for motor shield. As per your instructions I write the code for 1,2,
3 and 4 motor. But while compiling and uploading code error is coming. Redefine Af_Dcmotor. How to solve error.
Please guide
Use different object name for different motors.
I have applied 7.4V to external power and 5V usb to Arduino for power I removed the jumper and for some reason only two motors are being powered and they are only getting 5V? Shouldn’t they be getting the full 7.4V and why are only two motors spinning (out of 4)
Haha I made a stupid mistake 2 of the motors were stalled because I put them on top of a card board box and they were contacting the box lol
One problem still only 5V on each output
In output is a pulse width modulated output. The voltage you are getting is average voltage. If you want to increase that voltage then change speed to maximum by using setSpeed(255).
@@UtGoTech I forgot that lol my multimeter isn’t fast enough to see the voltage.
hi, for some reason my dc motors just make a hum noise and they do not move please help
Check voltage is sufficient for motor or not and also confim that motor shaft is not jammed.
Love Indian video on direction
Thanks 🙏👍
for simple dc motors,Which command should we code like forward backward like which command for turning right or left
Can you explain in detail what you want.
@@UtGoTech Im typing a code for dc motor I want to turn it left what command should i type
For running in one direction use FORWARD command and for another direction use BACKWARD command.
@@UtGoTech and for left and right?
One motor can be rotated in either clockwise direction or in anticlockwise direction. No other direction is possible.
is it possible to connect the motor driver shield to a breadboard which is then connected to the arduino? i need to be able to connect a ps2 controller to the arduino to control the motors
Yes you can.
@@UtGoTech sorry this is my first ever arduino project are you able to give me a rundown on how i would connect the arduino and motor driver shield to the breadboard?
@babydetonator8667 But why do you want to connect it into a bread board?
@@UtGoTech the pins that the motor driver shield use i also need for connecting a ps2 controller to the arduino, so i wanna try use a bread board and connect the arduino, motor driver and controller to it.
@babydetonator866 If you connect both motor driver shield and ps2 in the same pins then how both will work.
hey brother I am making a Arduino robot with the same motor driver shield but when I connect the motor driver with battery( 3.7v X2 ) only the light is blinking and nothing works but when I connect Arduino with my pc the wheel motors works but the servo doesn't .... I have tried with the another piece of this motor driver but still the same problem.... 🥺 please help me brother.
Check hardware connections properly.
how much external voltage range can we apply?
12volt
yo i tried but my motor shield isnt connecting. what do i do?
Look for bend pins
@@UtGoTech when i join the motor shield, that thing disconnects
What gets disconnected?
@@UtGoTech the arduino
Are you using separate power for both Arduino Uno and motor driver shield?
How to use digital and other pins while using this shield
You can use pins from A0 to A5 and digital pin 2 and 13.
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
What power source you are using
2 cells of 9v energerizer
Please help
2 cell of 9v
9V batteries will not work. Use lithium ion batteries. And the voltage should be around 7.4V.
Hello sir, I have question. How about if I wanted to use a HC-05 bluetooth module to control the motors automatically. How do I code that?
And about the speed you used 200, is it possible to increase the speed? What is the maximum speed I can use?
Yes you can use HC-05 Bluetooth module to control motors. For coding you can check out the code in Bluetooth RC car video and modify it according to your needs.
You can set the speed up to 255, maximum.
if I had a sensor, can I connect it? Where do I connect it?
You can use pins A0 to A5. These pyin can also be used as digital pins.
Great video! I am making a ball launching machine using a 12V 30W motor and a 16.8 Ah Lithium battery. Would this motor shield work with this setup? Thanks
No, you will motor powerfull motor driver.
I just need to run my motor for one sec once every 5sec inteval. Would L298N be ok to use?
@@UtGoTech Do you mean my motor is too powerful or I need a more powerful driver?
If you don't want to change the speed of motor the use relay.
Yes your motor is powerful that's why you need powerful driver.
Hi Sir! Is it possible to connect LCD display on this prototype to show motors are running/stopping if I'm using Arduino Mega 2560 board? And can also connect a manual circuit using stop/start buttons so that I can control the motors manually and automatically if I want?
If possible I do I connect the board and write the code?
Yes you can.
sir i am using 3 18650 battery and connected it to the driver, my motors wont run unless i connect another power supply to the uno controller, what seems to be the problem?
If you are using a single power supply for both arduino uno and motor driver shield then you should connect the jumper in motor shield but if you are using a separate power supply for both arduino uno and motor driver shield then you must remove the jumper in the motor shield.
@@UtGoTechim using a single power supply and the jumper wire is connected, i noticed that the L LED in the arduino uno is not on when im using a single power supply
Yes. If you are using single power supply then connect the jumper
@@UtGoTech yes the jumper is already connected but i think the arduino uno is not getting enough power, do you think that the battery's current is the cause or my microcontroller and shield is broken?
What type of battery are you using?
Thank you for the video! How long wires could be used for motor with this setup? Would something like 2 meters cause problems?
Yes you can use long wires. Try using thick core wire.