How to connect a ESP32 to the L298N motor driver

  Рет қаралды 17,276

RCRobot

RCRobot

Күн бұрын

This video goes over how you can connect the ESP32 microcontroller to the L298N dc motor driver as well as explaining the code to make it move.
Where you can buy (affiliate link)
amzn.to/3OXdtXi
Code for project: drive.google.com/file/d/1q_G2...

Пікірлер: 20
@markingle8980
@markingle8980 3 ай бұрын
Thanks for providing this tutorial! In order for mine to work I had to power the dev board from the 5V supply on the L298N board
@abhinavshetti1205
@abhinavshetti1205 Жыл бұрын
Thanks a lot 😄 ..... You explained the concept in an easy-to-understand way 💯👍.
@Flint1709
@Flint1709 2 жыл бұрын
Thanks for the quick tutorial!
@raulalvarado7961
@raulalvarado7961 4 ай бұрын
Thx a lot brother
@qornainibnunadisa434
@qornainibnunadisa434 Ай бұрын
im trying it but why my l298n wont work?
@nickf1796
@nickf1796 2 жыл бұрын
Hi there, how did you make that circuit diagram first shown at 1:10 that displayed the pin connections? What software did you use and was it free?
@rcrobot2373
@rcrobot2373 Жыл бұрын
I used fritzing (fritzing.org/) it's free, took me less than an hour to figure out how to use. Sorry for taking 2 months to answer!
@kizilordusubayi
@kizilordusubayi 4 ай бұрын
hello how can I run 2 dc motors and 1 servo when I connect the two there is usually a problem and dc motors do not work can you help?
@annaathur4159
@annaathur4159 Жыл бұрын
Hello. Is the connection for 12v motor Dc is the same as the video? and what's your suggestion to control the speed of the motor?
@rcrobot2373
@rcrobot2373 Жыл бұрын
The L298N can do 12V. What kind of motor are you wanting to control? Asking because the L298N probably won't work if the motor draws more than 1 amp. The below tutorial goes in depth on how to control speed lastminuteengineers.com/l298n-dc-stepper-driver-arduino-tutorial/
@randutech
@randutech Жыл бұрын
Hey Bro If I Can Control 12V 775Motor With L298N
@rcrobot2373
@rcrobot2373 Жыл бұрын
Probably not a great idea, some 775s can draw more than 20 amps and the L298N is only meant for 2 amps. A BTS7960 can drive up to 43A and I think controlling it is similar to the L298N. Sorry for the very very late reply! www.amazon.com/BTS7960-Driver-Module-Arduino-Current/dp/B07TFB22H5/ref=sr_1_12?crid=20H0MXR4MK0FJ&keywords=40+a+dc+motor+driver&qid=1664647206&qu=eyJxc2MiOiIxLjkzIiwicXNhIjoiMC4wMCIsInFzcCI6IjAuMDAifQ%3D%3D&sprefix=40+a+dc+motor+driver%2Caps%2C194&sr=8-12
@ramboaripratama1992
@ramboaripratama1992 10 ай бұрын
sir can i connect an nema17 motor to this project?
@absoluteopgaming3021
@absoluteopgaming3021 9 ай бұрын
No , these controllers only control normal motors and these are used in applications where precision is not important , if you want to use nema 17 motor then you need to purchase stepper motor drivers like A4988 or any other you like. I hope this helps you Thank you
@Videogame9559
@Videogame9559 6 ай бұрын
Would I need add libaries to get it to work
@rcrobot2373
@rcrobot2373 6 ай бұрын
No extra libraries required, just controlling the gpio is all you need to do *You may need to install esp32 libraries if you haven't done so before see randomnerdtutorials.com/installing-the-esp32-board-in-arduino-ide-windows-instructions/
@hariseldon2577
@hariseldon2577 Ай бұрын
I thought the L298N was a 5v device whilst the ESP 32 pins are 3.3 V? Might this determine if the motor driver responds to the ESP 32 ? To fix it you would need a 'level shifter' board.
@rcrobot2373
@rcrobot2373 Ай бұрын
That's a fair concern and there are a lot of devices where'd that would be a problem! But with the L298, the minimum voltage to register a high input is 2.3 volts, so 3.3v logic signals will work as well as 5v! See this datasheet for reference components101.com/sites/default/files/component_datasheet/L298N-Motor-Driver-Datasheet.pdf
@hariseldon2577
@hariseldon2577 Ай бұрын
@@rcrobot2373 Thank you, I hadn't seen that datasheet!
@rareschorban936
@rareschorban936 Жыл бұрын
But how the hell do I wire it? How tf can I connect the pins?
How to use the L298N Motor Driver with Arduino - Quick Tutorial
1:59
Control de un motor DC con el ESP32 en MicroPython
11:17
Creatividad Ahora
Рет қаралды 15 М.
100❤️
00:19
MY💝No War🤝
Рет қаралды 23 МЛН
BLDC motor speed controller ESC using irfz44n mosfets
6:28
Creative Techos
Рет қаралды 70 М.
7 Arduino Robot Projects to try
1:25
RCRobot
Рет қаралды 561
✅ Motor de Pasos Controlado vía Wifi con Driver A4988 y ESP32
11:50
El profe García
Рет қаралды 28 М.
how to make brushless motor controller , mosfet , IRFz 44n
8:23
inventor KR
Рет қаралды 1,3 МЛН
How to control a DC motor with an encoder
9:30
Curio Res
Рет қаралды 427 М.
Controlling DC Motors with the L298N H Bridge and Arduino
36:41
DroneBot Workshop
Рет қаралды 1,3 МЛН