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 ?
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.
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?!
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?
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
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
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 ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-OhkUceBWcHs.html
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?
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?
@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!
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 :))
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()
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.
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??
@@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 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.
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.
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
@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 ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-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
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?
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.
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.
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
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: 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...
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.
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
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
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
@@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.
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 ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-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
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
@@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
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 ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-6N8Iq353GM8.html just watch, learn and easily combine them.
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.