L298N driver heats up very much

I have a problem with the l298n driver after a few seconds of operation it heats up very much can you help me please?

Please don't hijack threads @sciantino. I have split your post out to its own topic.

Hijacking is against the Arduino forum rules. The reason is that it may sidetrack the discussion, even preventing the creator of the topic from getting the assistance they need.

This is basic forum etiquette, as explained in the "How to get the best out of this forum" guide. It contains a lot of other useful information. Please read it.

Thanks in advance for your cooperation.

1 Like

Drop it and get one of the current MOSFET drivers.

1 Like

The L298 is a very ancient driver which produces much powerloss which results in heating up. But of course it should not overheat.
To help you, we need much more about your project. What are you driving with the L298? What PSU do you use? Please post a schematic and links to the used components.

1 Like

You would have a hard time finding a worse driver than the ancient L29x devices.

Pololu has a good line of modern motor drivers.

Choose the motor driver based on the stall current of the motor and the motor supply voltage. The stall current can be several times the running current. The stall current will be drawn, briefly, every time that the motor is started. The stall current should be listed in the motor data sheet.

This was split off a thread for a solar tracker with a high impedance stepper motor. An L298 is sort-off ok for that, but OP probably has used a different (low impedance) stepper motor, and got in trouble.

@sciantino : Post a link to the stepper motor you're using.
We need to know voltage and current of the motor.
Leo..

I have put the information you requested, thank you for the moment of your time that you dedicate

could i use the A4988 drive?

An L298 is the wrong driver for that stepper motor.
A DRV8825 (1.5Amp) is preferred over the A4988(1Amp) for this stepper.
Make sure you adjust the driver to 1.5A or less, and use a 12-24volt supply.
Leo..

1 Like

But, the L298N has four wires while the DVR8825 has two that connect with Arduino Uno. Can you help me with the connections and how to modify the sketch please?

Without seeing your sketch no help is possible.

GOOGLE.......

DVR8825 arduino

There are many, many solutions.

Tom... :grinning: :+1: :coffee: :australia:

1 Like

The Pololu DRV8825 page has a connection diagram and instructions on how to set the coil current limit. It is critical that the coil current is set properly.

For stepper control, I prefer the MobaTools stepper library.

This library example shows the minimum code to control a stepper with that library.

The library functions are explained in the documentation.

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.