No video

Arduino control dc motor l293d | arduino l293d motor driver

  Рет қаралды 34,136

Mr ElectroUino

Mr ElectroUino

Күн бұрын

arduino control dc motor using l293d motor driver ic. L293d ic is used to control speed and direction of dc motor. The l293d motor driver ic is a 16-pin Motor Driver IC which is used to control two dc motor simultaneously in any direction. That means it can individually drive up to two dc motor making it ideal for building a two-wheel robot car. The l293d is designed to provide bidirectional drive currents of up to 600 mA (per channel) at voltages from 4.5 V to 36 V (at pin 8!).
Topic cover:
How to control dc motor using l293d motor driver.
arduino l293d motor driver code.
➖➖➖➖➖➖➖➖🔴Sponsor🔴➖➖➖➖➖➖➖➖
Buy cheap, quality electronic, and Arduino products.
checkout now:- botuniverse.in/
The coupon code is: ELECTROUINO50
The coupon will allow you to get Rs.50 off on a minimum spend of Rs.500.
They are also delivering items during the lockdown.
➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖
Visit my blog to download codes and circuit.
👀🔎Website:-DIY control 2 dc motor using L293D motor driver IC | Arduino Tutorial |Mr.ElectroUino mrelectrouino....
Arduino line follow robot and obstacle avoiding car 2in1
• Arduino obstacle avoid...
Components Required for arduino l293d motor driver.
1. Arduino Uno
2. 1 x l293d Motor driver IC
3. 2 x dc Motor
4. 9v battery
5. Breadboard
6. Jumper Wire
------------------------------------[ 🟧 BUSINESS 🟧 ]-----------------------------------
⭐️If you want me to do custom projects or need my help in your projects,
so you can contact me.
✅ Instagram: / _mr_electrouino_
✅ Email: mr.electrouino786@gmail.com
*-*-*-*-*-*-*-*-*-*-*--*-*-*-*-*-*-*-*-*-*-*-*-*-*-*--*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
😊About us:-
Mr. ElectroUino is an education platform where we believe “Knowledge increases by sharing but not by saving” and it a community where we showcase you the best easy to follow tutorial on Engineering projects, Electronics, Robotics, DIY stuff, Arduino projects, Raspberry Pi, IOT project and many more such things that can bring out the best maker within you and help in making the World little smarter and techy.
#like #Share #Subscribe
*-*-*-*-*-*-*-*-*-*-*--*-*-*-*-*-*-*-*-*-*-*-*-*-*-*--*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
Follow me on👍 : )
❤Instagram: - / _mr_electro. .
❤Facebook: - / mr.electroui. .
❤contact us:- mr.electrouino786@gmail.com
❤website:- mrelectrouino....
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
Songs🎵🎵🎵
Janji - Heroes Tonight (feat. Johnning) [NCS Release]
Source:- • Janji - Heroes Tonight...
Zaza - Be Together [NCS Release]
Source:- • Zaza - Be Together | E...
Elektronomia - Sky High [NCS Release]
Source:- • Elektronomia - Sky Hig...
Electro-Light - Symbolism [NCS Release]
Source:- • Electro-Light - Symbol...
-----------------------------------.😎😎😎😎😎------------------------------------------
© Mr.ElectroUino
#Arduino #arduinotutorial #controldcmotor #l293dmotordriveric
arduino for motor control
control dc motor with arduino
arduino dc motor control with l293d motor driver ic
l293d motor driver ic arduino
Control two dc motor using an l293d motor driver ic
arduino motor driver
arduino for motor control
arduino with stepper motor driver
arduino with motor driver
motor driver for arduino
motor driver in arduino
arduino motor control pwm
arduino motor control code
l298n motor driver arduino
arduino motor driver l298n
arduino stepper motor driver code
arduino motor driver shield
arduino motor driver l293d
arduino dc motor control h bridge
arduino motor control board
arduino motor driver board
arduino stepper motor easy driver
arduino stepper motor driver board
arduino motor control h-bridge
arduino motor driver code
arduino pid motor control example
arduino uno motor driver
arduino motor driver high current
arduino uno motor driver shield
arduino dual motor driver
arduino motor control program
arduino motor driver module
arduino nano motor driver
arduino nano stepper motor driver
arduino pwm motor control mosfet
arduino stepper motor control uln2003
arduino motor speed control encoder
arduino pwm motor control h bridge
arduino servo motor control joystick
arduino servo motor control joystick code
l293d motor driver interfacing with arduino
motor driver for arduino uno
stepper motor driver arduino 8825
arduino mosfet motor driver
arduino motor driver l9110
arduino motor control mosfet
arduino stepper motor driver drv8825
arduino motor driver shield l293d
arduino to motor driver
arduino motor rpm control
arduino ac motor driver
arduino stepper motor control acceleration
arduino motor driver schematic
arduino dc motor control h bridge code
arduino motor control projects
arduino motor driver circuit
arduino control motor brushless
arduino motor control tutorial
motor driver interfacing with arduino

Пікірлер: 59
@UzunKamis
@UzunKamis 3 жыл бұрын
//Code for Lasy Coders //Motor 1 const int MotorPin1 = 5; const int MotorPin2 = 6; //Motor 2 const int MotorPin3 = 10; const int MotorPin4 = 9; void setup() { // put your setup code here, to run once: pinMode(MotorPin1, OUTPUT); pinMode(MotorPin2, OUTPUT); pinMode(MotorPin3, OUTPUT); pinMode(MotorPin4, OUTPUT); } void loop() { // put your main code here, to run repeatedly: //Turn Motor1 in clockwise for 3 second digitalWrite(MotorPin1, HIGH); digitalWrite(MotorPin2, LOW); digitalWrite(MotorPin3, LOW); digitalWrite(MotorPin4, LOW); delay(3000); //Turn Motor1 in counterclockwise for 3 second digitalWrite(MotorPin1, LOW); digitalWrite(MotorPin2, HIGH); digitalWrite(MotorPin3, LOW); digitalWrite(MotorPin4, LOW); delay(3000); //Turn Motor2 in clockwise for 3 second digitalWrite(MotorPin1, LOW); digitalWrite(MotorPin2, LOW); digitalWrite(MotorPin3, HIGH); digitalWrite(MotorPin4, LOW); delay(3000); //Turn Motor2 in counterclockwise for 3 second digitalWrite(MotorPin1, LOW); digitalWrite(MotorPin2, LOW); digitalWrite(MotorPin3, LOW); digitalWrite(MotorPin4, HIGH); delay(3000); //Turn Motor1 and Motor2 in clockwise for 3 second digitalWrite(MotorPin1, HIGH); digitalWrite(MotorPin2, LOW); digitalWrite(MotorPin3, HIGH); digitalWrite(MotorPin4, LOW); delay(3000); //Turn Motor1 and Motor2 in counterclockwise for 3 second digitalWrite(MotorPin1, LOW); digitalWrite(MotorPin2, HIGH); digitalWrite(MotorPin3, LOW); digitalWrite(MotorPin4, HIGH); delay(3000); }
@pixally591
@pixally591 2 жыл бұрын
ty
@ChrisAnderson----Web-Designs
@ChrisAnderson----Web-Designs 4 жыл бұрын
I watched another video that the guy left out the ARDUINO CODE so I was left hanging stuck in my project after 2 hours of trying to get it to work. I don't know if your video works here or not but your code works after I changed some pin numbers, so "THANK YOU VERY MUCH" for the code! I might try your video for a future project since I know your code works. Thanks Again!
@MrElectroUino
@MrElectroUino 4 жыл бұрын
😊😊💖
@rodrigo-tj1gf
@rodrigo-tj1gf 3 жыл бұрын
I was strugling a lot cz only 1 of my motors were working and the other didnt, they are now both working, your video helped me
@MrElectroUino
@MrElectroUino 3 жыл бұрын
I am glad that my video helped you... Please do subscribe to my channel for more content...
@jelphelps
@jelphelps 4 жыл бұрын
Simple explanation, straight to the point, easily adaptable code. Do you have any video with this exercise using PWM to control motor speed? Well done again!
@MrElectroUino
@MrElectroUino 4 жыл бұрын
No I don't have this video. I will make a video on that and #THANKS FOR WATCH💖💖
@dileep3135
@dileep3135 2 жыл бұрын
Tq, so much it required 10hrs for me to run my dc motor
@MrElectroUino
@MrElectroUino 2 жыл бұрын
Glad it helped
@iliji8471
@iliji8471 4 жыл бұрын
Great video by the way. I have two question. If you could answer them, it would much appreciated. The first one is, let say i have a robot, how can we make it do a left or right turn? The other one is, how can we powered the two motor with a 9v battery and use another 9v battery to power the arduino alone?
@MrElectroUino
@MrElectroUino 4 жыл бұрын
hey there, 1. If your robot has two wheels so you have to turn off one wheel and others should be on and rotated it in clockwise or anti-clockwise for the left or right turn. 2. Connect a 9v battery to Arduino Vin and gnd pin. For motor watch this video👉 kzfaq.info/get/bejne/nKpgh6iEzNTScX0.html
@srujanthreddy4528
@srujanthreddy4528 3 жыл бұрын
1.Why did you connected 1,8 and 9,16 to +ve 4,5 and 11,12 pins to -ve from L293d to bread board.what. is its use? To get power supplied to l293d is the reason or anything else. 2.can we connected another two motors in the same bread board on the same pins i.e out1,out2
@MrElectroUino
@MrElectroUino 3 жыл бұрын
1. Pin16 is for logic connection to Arduino. Pin8 is connected to the Voltage pin for running motors (4.5V to 36V). Pin1 and 9 is used to enable the input pin and control the speed of a motor Pin 4, 5, 12, 13 is a ground pin 9v battery is for extra power. 2. I didn't try it before. If you try, let me know.
@girishshenoy5594
@girishshenoy5594 3 жыл бұрын
In the diagram at 0:52; at the right side, you have the +9v from battery connecting to the +5v of the Arduino. Isn't this a problem?
@MrElectroUino
@MrElectroUino 3 жыл бұрын
So many viewers try it out and it works for them they not getting any problem but I think this might be a little problem. For fixing that just remove the Arduino 5v supply don't remove the ground pin. I'm going to check and fix the circuit diagram. Thanks for your suggestion.💖💙
@yourevolution7850
@yourevolution7850 5 ай бұрын
I want to control both motor simultaneously how should i do it?
@iandacanay6385
@iandacanay6385 4 жыл бұрын
Is there any way for this to turn and stop after 10 seconds not 6?
@MrElectroUino
@MrElectroUino 4 жыл бұрын
Yaa, Its possible but you have change a delay to 10000
@SkyHighBeyondReach
@SkyHighBeyondReach 4 жыл бұрын
Thank you! This really helped me :)
@MrElectroUino
@MrElectroUino 4 жыл бұрын
Thanks for watching😊😊
@nanakwamekankam1281
@nanakwamekankam1281 2 жыл бұрын
Hello. If I want to control two motors at the same time, but in opposite directions, could I connect both of them to one side of the L293D chip, and just reverse their polarities?
@MrElectroUino
@MrElectroUino 2 жыл бұрын
There are two method to doing this 1. by coding 2. just reverse the polarities of the motor
@pixally591
@pixally591 2 жыл бұрын
Is it safe to directly use a 9v battery and an arduino with the 5v? I'm fairly new to robotics but I have heard that it could mess up the arduino. I have a power module that I could use but it seems to cut out a lot of the power. Is there any other way of using the battery or is it okay to just use the arduino?
@aspirin4709
@aspirin4709 Жыл бұрын
Same doubt here. Why not Vin pin...
@RixtronixLAB
@RixtronixLAB 3 жыл бұрын
Cool info, thanks :)
@MrElectroUino
@MrElectroUino 3 жыл бұрын
Welcome 💖
@engineeringstuffbyhazik736
@engineeringstuffbyhazik736 3 жыл бұрын
Bro how can i install a pot with it Please reply it's urgent🥺🥺
@MrElectroUino
@MrElectroUino 3 жыл бұрын
connect a pot 1 pin to arduino 5v pin. connect a pot 2 pin to arduino analog pin. connect a pot 3 pin to arduino GND pin. why you want to connect a for speed controller?
@engineeringstuffbyhazik736
@engineeringstuffbyhazik736 3 жыл бұрын
@@MrElectroUino bro what code should i have to write for this. (in your code)
@MrElectroUino
@MrElectroUino 3 жыл бұрын
@@engineeringstuffbyhazik736 For speed controller you have to change circuit and code too.
@engineeringstuffbyhazik736
@engineeringstuffbyhazik736 3 жыл бұрын
@@MrElectroUino can u make a video on that but not with servo simple motors🥺🥺
@MrElectroUino
@MrElectroUino 3 жыл бұрын
@@engineeringstuffbyhazik736 okk
@acatisfinetoo3018
@acatisfinetoo3018 3 жыл бұрын
My chip gets really hot. I checked the data sheet and it's safe up to 600ma...I have measured the motor current draw during operation and it draws just half this around 300ma but it get hot really quick. Does it need a heat sink or is there something wrong?
@MrElectroUino
@MrElectroUino 3 жыл бұрын
In that process it will little bit hot maybe something wrong with your IC or you can use a heatsink to reduce some heat.
@Tech4geeks21st
@Tech4geeks21st 3 жыл бұрын
this is a demo code , there are some mistakes which makes it hot
@Haileyg4352
@Haileyg4352 3 жыл бұрын
Can You help me out plz i am now going to mad .... Our project is Obstacle avoidance robot in that we are using Arduino UNO ,IR sensor ,4 BO motors. So can You plz tell me which motor driver should i use?Whether L293D OR L298N or L293D moto driver shield and why plz reply me fast.....
@Haileyg4352
@Haileyg4352 3 жыл бұрын
Because i read that L293D motor driver module can run only 2 motors of you want 4 then it will movie only one direction. So how can we turn vehicle?
@MrElectroUino
@MrElectroUino 3 жыл бұрын
@@Haileyg4352 Go for l293d motor driver shield with this you can control 4 bo motor and ir sensors. Watch this video it kind of your idea but a bit advance. kzfaq.info/get/bejne/kM-hdNymsda3Y6M.html Do subscribe to my both channel and you can contact me on instagram too. _mr_electrouino_
@Haileyg4352
@Haileyg4352 3 жыл бұрын
@@MrElectroUino but they used Driver shield we want to use L293D Driver or L298N
@MrElectroUino
@MrElectroUino 3 жыл бұрын
@@Haileyg4352 l293d motor driver shield is going for 4 motor.
@Haileyg4352
@Haileyg4352 3 жыл бұрын
@@MrElectroUino and what about L293D driver module? Will it not work for 4 motors?
@kennethkindrich3114
@kennethkindrich3114 Жыл бұрын
i connected it the way you did but nothing happened and the battery got really hot
@MrElectroUino
@MrElectroUino Жыл бұрын
You might connect something wrong. Please check the circuit diagram.
@osamozilla7898
@osamozilla7898 Жыл бұрын
THANK YOU!
@MrElectroUino
@MrElectroUino Жыл бұрын
Welcome ❤️
@zebaakhter6082
@zebaakhter6082 4 жыл бұрын
Can it be that when a place Arduino l293d with sheild on breadboard pins of motor sheild don't get placed on breadboard
@MrElectroUino
@MrElectroUino 4 жыл бұрын
i am not getting.
@zebaakhter6082
@zebaakhter6082 4 жыл бұрын
@@MrElectroUino I am asking that can it be that Arduino l293d motor shield when placed over breadboard then the pins don't go into the holes of bread board because pins don't fall over holes of bread board they just fall behind bread board
@MrElectroUino
@MrElectroUino 4 жыл бұрын
@@zebaakhter6082 You just have to attach a l293d with sheild upon the arduino, there is no use of breadboard. Don't forget to *subscribe* ☑️
@user-ig4bu6rb4q
@user-ig4bu6rb4q 4 жыл бұрын
يجب ان تكون هناك تغذية خاصة بالمحركات ؟؟؟؟؟
@MrElectroUino
@MrElectroUino 4 жыл бұрын
أنا لا أفهم.
@elmurodbabajanov7210
@elmurodbabajanov7210 3 жыл бұрын
Thank you
@MrElectroUino
@MrElectroUino 3 жыл бұрын
Welcome #DoSubscribe😊💙
@kirankumarh351
@kirankumarh351 2 жыл бұрын
You not done speed control whyy????
@MrElectroUino
@MrElectroUino 2 жыл бұрын
ok will update the code onto my website.
Arduino Tutorial 37: Understanding How to Control DC Motors in Projects
31:25
小丑把天使丢游泳池里#short #angel #clown
00:15
Super Beauty team
Рет қаралды 47 МЛН
Incredible Dog Rescues Kittens from Bus - Inspiring Story #shorts
00:18
Fabiosa Best Lifehacks
Рет қаралды 28 МЛН
拉了好大一坨#斗罗大陆#唐三小舞#小丑
00:11
超凡蜘蛛
Рет қаралды 14 МЛН
Big Stepper Motors with Arduino
29:43
DroneBot Workshop
Рет қаралды 1,2 МЛН
How L293D (Motor Driver IC) Works ? | #3D Animated 🔥
4:12
Blue Butterfly
Рет қаралды 24 М.
How to Control a 12V Motor with Arduino: Easy Wiring & Code Examples
44:13
TUTORIAL: How to use L293D Motor Driver Shield with Arduino
10:56
TechToTinker
Рет қаралды 26 М.
How DC GEAR MOTOR Works with ARDUINO and L298N
10:04
MRMS - WORKSHOP
Рет қаралды 238 М.
Motor driver shield control (L293D IC)
9:38
SriTu Hobby
Рет қаралды 103 М.
DC motor PID speed control
15:29
Curio Res
Рет қаралды 230 М.
Arduino DC Motor Control with L293D Motor Driver IC
7:34
Maker 101
Рет қаралды 279 М.
小丑把天使丢游泳池里#short #angel #clown
00:15
Super Beauty team
Рет қаралды 47 МЛН