Sketch loaded on the arduino is the example Stepper Motor Control - one revolution
Situation - sorry for not making a Fritzing
Problem = L298N driver gets very hot when I power this up. (starting to smell when powered longer then 30 sec.)
I think it has something to do with the jumper. Some instructables describe that this needs to be removed when you power the driver with more then 12v. When I remove the jumper than nothing happens, the onboard led will not power. When the jumper is in, everything works great with good torque, but too much heat.
You need a DRV8825 stepper driver, an L298N is useless for a low-impedance stepper like that. Anyway
you've probably fried the L298 already. You motor is 2 ohm, your supply is 12V, too much current flowed
for the L298N, and the supply.
A DRV8825 or other chopper driver will do proper current-control which is what that stepper motor
requires.
[ thanks for no Fritzing diagram, they seldom help ]
Brian Schmalz’s Easy driver With this easy tutorial
Works good.
Gets very hot (75 C), but below thermal safety switch off 135 C.
This was after 30 min. operation, can be lower when I will program in the sleep mode when in my project.
That sort of photograph of the hardware is not suitable for detecting connection errors. Just make a pencil drawing showing how everything is connected and post a photo of the drawing. Doesn't matter if you are a poor artist.
The Pololu DRV8825 web page has a good wiring diagram.
I have studied the website before, ended up trying with this example: https://github.com/laurb9/StepperDriver
Does not work, its true
Tried it again, did not work again.
I have made the sketch.
Still do not know what I am doing wrong, starting to think it is the driver…
I noticed that the motor pins are different than the documentation.
So I tested different settings of the motor wires.