Это видео недоступно.
Сожалеем об этом.

How to connect a ESP32 to the L298N motor driver

Поделиться
HTML-код
  • Опубликовано: 17 авг 2024
  • 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.c...

Комментарии • 21

  • @markingle8980
    @markingle8980 4 месяца назад

    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 Год назад +1

    Thanks a lot 😄 ..... You explained the concept in an easy-to-understand way 💯👍.

  • @hebertwattimena5170
    @hebertwattimena5170 16 дней назад

    on my case, the ledcSetup wasnt declare in this scope, i tried many things but i dont know

  • @Flint1709
    @Flint1709 2 года назад +1

    Thanks for the quick tutorial!

  • @hariseldon2577
    @hariseldon2577 2 месяца назад

    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  2 месяца назад

      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 2 месяца назад

      @@rcrobot2373 Thank you, I hadn't seen that datasheet!

  • @kizilordusubayi
    @kizilordusubayi 5 месяцев назад

    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?

  • @raulalvarado7961
    @raulalvarado7961 5 месяцев назад

    Thx a lot brother

  • @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/

  • @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  Год назад +2

      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!

  • @qornainibnunadisa434
    @qornainibnunadisa434 2 месяца назад

    im trying it but why my l298n wont work?

  • @randutech
    @randutech 2 года назад +1

    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

  • @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/

  • @ramboaripratama1992
    @ramboaripratama1992 10 месяцев назад

    sir can i connect an nema17 motor to this project?

    • @absoluteopgaming3021
      @absoluteopgaming3021 10 месяцев назад

      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

  • @rareschorban936
    @rareschorban936 Год назад

    But how the hell do I wire it? How tf can I connect the pins?