Arduino control dc motor l293d | arduino l293d motor driver

preview_player
Показать описание
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.
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.

Arduino line follow robot and obstacle avoiding car 2in1

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.

*-*-*-*-*-*-*-*-*-*-*--*-*-*-*-*-*-*-*-*-*-*-*-*-*-*--*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
😊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👍 : )

*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
Songs🎵🎵🎵
Janji - Heroes Tonight (feat. Johnning) [NCS Release]

Zaza - Be Together [NCS Release]

Elektronomia - Sky High [NCS Release]

Electro-Light - Symbolism [NCS Release]

------------------------------------.😎😎😎😎😎-------------------------------------------
© 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
Рекомендации по теме
Комментарии
Автор

//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);
}

UzunKamis
Автор

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!

ChrisAnderson----Web-Designs
Автор

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

rodrigo-tjgf
Автор

Tq, so much it required 10hrs for me to run my dc motor

dileep
Автор

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!

jelphelps
Автор

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?

iliji
Автор

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

srujanthreddy
Автор

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?

girishshenoy
Автор

I want to control both motor simultaneously how should i do it?

yourevolution
Автор

Is there any way for this to turn and stop after 10 seconds not 6?

iandacanay
Автор

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?

nanakwamekankam
Автор

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?

pixally
Автор

Bro how can i install a pot with it
Please reply it's urgent🥺🥺

engineeringstuffbyhazik
Автор

i connected it the way you did but nothing happened and the battery got really hot

kennethkindrich
Автор

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?

acatisfinetoo
Автор

Can it be that when a place Arduino l293d with sheild on breadboard pins of motor sheild don't get placed on breadboard

zebaakhter
Автор

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

Haileyg
Автор

يجب ان تكون هناك تغذية خاصة بالمحركات ؟؟؟؟؟

igburbq