Arduino +L298N + stepper motor

Thread Starter

LAOADAM

Joined Nov 21, 2018
879
I am using Arduino +L298N + stepper motor to test a 17HS4401 motor with the sketch attached.
The motor runs well for a while and then feels difficult to run, seems there is a very large force? and a large vibration.
what's wrong? can be the L298N board too hot? input V=7.5V.
There is a 10K pot input to A0.
 

Attachments

AlbertHall

Joined Jun 4, 2014
12,346
If you reset the arduino does set off again for another minute, or do you have to leave it for a while before it will run again?
 

dendad

Joined Feb 20, 2016
4,476
The L298 is an old design, and you can do a lot better than those.
It does sound like it is overloading.
What current is the motor drawing?

There are others to look at..
DRV8825_StepperDriver.png
These and similar are used in 3D printers .

And these below are a lot higher power.
BT7960B_StepperDriver.png
 

Thread Starter

LAOADAM

Joined Nov 21, 2018
879
The L298 is an old design, and you can do a lot better than those.
It does sound like it is overloading.
What current is the motor drawing?

There are others to look at..
View attachment 207790
These and similar are used in 3D printers .

And these below are a lot higher power.
View attachment 207791
Ya, I'll change the driver for my project, for the testing only now, I hooked a 10Ω / 10W Power resistance on each coil of the motor, seems OK now.

BTW. any suggestion on how to hook 4 stepper motors to a MEGA2560?

Thanks
 

dendad

Joined Feb 20, 2016
4,476
BTW. any suggestion on how to hook 4 stepper motors to a MEGA2560?
It may almost be worth while looking at a low end 3D printer board. Most off these are Arduino MEGA2560 based.
Going up market to an ARM based board could also be an option.

Just a RAMPS board plugged into an Arduino MEGA2560 is what my big 3D printer uses. The other two printers have custom boards that are functionally the same.
 

Thread Starter

LAOADAM

Joined Nov 21, 2018
879
It may almost be worth while looking at a low end 3D printer board. Most off these are Arduino MEGA2560 based.
Going up market to an ARM based board could also be an option.

Just a RAMPS board plugged into an Arduino MEGA2560 is what my big 3D printer uses. The other two printers have custom boards that are functionally the same.
Thanks.
Actually I have many sensors and switches, I just post a new topic.
Best.
 
Top