How to use the L298N motor driver module

This module allows you to independently manage two motors of up to 2A each in both directions. Supply range may vary between 5V and 35V, enough for most DC motor projects.

Apr 25, 2024

21178 views

5 respects

MIT

Components and supplies

1

[HB] L298N Module

1

[HB] Dupont wires

1

[HB] Mini Breadboard

1

[HB] Arduino Nano

2

[HB] DCmotors with wheels

Apps and platforms

1

Arduino IDE

Project description

Code

HiBit - L298N

Official HiBit repository for L298N driver

Latest commit to the master branch on 05-01-2024

Downloadable files

L298N Driver

Wiring schema for L298N

schema.png

Comments

Only logged in users can leave comments

amerme

2 months ago

HI i find your project realy interesting and useful and i want to build it for school but can you any way rebuild it for Arduino Uno please. I would love to build it for a school project but i only have arduino uno. So if you cnan ayn way remake the code / wiring for Arduino Uno please ? Thank you !

hibit

2 months ago

Switching to the Arduino Uno doesn't require significant modifications. Just ensure the correct connection of PWM pins and use the other available digital pins on the Arduino Uno.

amerme

2 months ago

HI i find your project realy interesting and useful and i want to build it for school but can you any way rebuild it for Arduino Uno please. I would love to build it for a school project but i only have arduino uno. So if you cnan ayn way remake the code / wiring for Arduino Uno please ? Thank you !

bob-easyeda

4 months ago

Hi, your project is so amazing! Are you interested in OSHWLab Stars :https://oshwlab.com/activities/spark2023 we are offering up to $5000 in coupons for each entry to cover all your fabrication costs.

stanleychen

4 months ago

Nice job!

bruno_opaiva

6 months ago

Nice and useful!

xfpd

8 months ago

Why is there a 9vdc battery in the drawing?

hibit

8 months ago

You need a separate power supply for the motor. Using the Arduino's output for this purpose could damage the board.