Author Options:

Question about using a L298N motor driver with arduino ? Answered

I was looking at making a small rc tank with the lawnbots code. i have tryed small home built motorcontrollers and had seccus but thought It may be tine to build somthing better. I was looking at the L298N motor driver b ut dont have any idea what the EN_1 and EN_2 connections are for. Can someone please tell me? (Datasheet)
Thanks, David.

6 Replies

icengBest Answer (author)2012-02-21

Hi David,
Here is a better looking PDF of the L298
As Rick points out they are TTL High ( 4.5v to 5.5v ) Enable pins.
I like to view them as active low Disable pins.
To stop A or B or both outputs the two ENA and ENB are pulled to TTL Low
which the spec says is anything below 1.5v.


Select as Best AnswerUndo Best Answer

David97 (author)iceng2012-02-23

So could I drive it with my arduino with two pmw enables (foward back).
I have Not looked at your datsheet yet because I need to go to school.

Select as Best AnswerUndo Best Answer

iceng (author)David972012-02-23

If the motor is under 48VDC and draws less then 4 amps at stall.
YES you can run it of the Arduino logic pins.

Select as Best AnswerUndo Best Answer

rickharris (author)2012-02-21

The LN298 will drive 2 motor so everything is duplicated - EN stands for enable.

Select as Best AnswerUndo Best Answer