How to control a DC motor with L298N driver and Arduino Uno

preview_player
Показать описание
Welcome to the L298N Arduino tutorial. In this video, we are going to learn how to control a DC motor using an Arduino board. We are going to use a small and inexpensive module that features the L298N motor driver chip.

Want to learn to program?

Рекомендации по теме
Комментарии
Автор

Short and to the point. Always a good combination. Μπράβο φίλε Νικόλα.

georgekot
Автор

Bro I am from India I can clearly understand that what u r explaining thanks for uploading this video ❤️

amdameerbasha
Автор

The best explanation anyone can find about how to use DC motors+ Arduino and

rlb
Автор

Great project
If the 5V regulater is a LDO, then the power supply for the motor HAVE to be 6V or more
If the 5V regulater is a 7805, then the power supply for the motor HAVE to be 8V or more
Thanks for sharing :-)

avejst
Автор

OMG the best tutorial EVER about l298n!!!!

prov_s
Автор

Yay...My favorite Greek is back with a new vidoe!

piconano
Автор

I've watched dozens of videos these few days. And this one worked for me. Thanks.

RustysAdventures
Автор

I hope you took away lots from this video. Let me know below!

Educs
Автор

Thank You very much now I can complete my project for science fair now

sujathaveeranala
Автор

nice work bro and i learnt a lot of pretty other stuff and by the way love from INDIA

aadhithyabelkishridhara
Автор

YOU SO MUCH!!!! I finally could use DC mortor with this video!! THANK YOU!

초초코의오아시스
Автор

I am using 4 motors with l289n but i am not able to set pwm below 128

ramkrishna
Автор

L293D engine hood problem. Output voltage in m4. 7 volts, and the rest of the outputs are 2 volts

kasemalrpe
Автор

Extremely helpful! Thank you! the gem of the stop code made my project a succes

Jonker
Автор

Nice work!! Good to see you back!! :-)

DogRox
Автор

I'm using a 6v battery holder, and everything works okay, but when I try to make the motor rotate backward, (in1 = low voltage; in2 = high voltage), the motor just doesn't rotate. Any reasons this might not be working? I did everything correctly in the tutorial. (Edit: This only happens on the output1 and 2 on the L298N, not output 3 and 4)

flumzeeRBLX
Автор

Tinkercad doesn’t have the L298N. It only has the h bridge and possibly other components used in the L298N. How do you build a L298N in Tinkercad that will support the code you provided for Arduino?

stanimatorblue
Автор

First of all, thank you for this video. But I couldn't understand this. You said that if the motor controller has a 5-12V power input, the 5V pin works as output and provides 5V. But then you said that you connect the Vin port of the Arduino with the 5V port of the motor driver and the Arduino is fed with 7.5V. In this case, if I am not mistaken, there is 5V on the Vin pin of the Arduino, and this will negatively affect the operation of the Arduino in the long run? Am I right?

furkanbugraduzler
Автор

Hello Sir.
I like everything about this video. You doing well.
Canyou please give a solution
In this regard?
I am intrested how to change polarity of one coil with a speed of more than 100 per second.
I want to do a replica for magnetic train " Maglev ".

Thanks in advance👍

MIHAI
Автор

There is a problem when i compiling the coding in arduino... May i know why is that happened as i already followed the steps so may be the error lied on my coding and way to compile it?

nurulwahida