A have a setup with a steppermotor: JK42HS40-1304F and a dual H Bridge L298N 2Amp, and a arduino
The H bridge is connectet to 12v and there is common ground between the H bridge and the arduino uno.
I run the use the sketch from arduino : stepper_oneRevolution, but after only ie 30 sec the heat sink on the H bridge is getting very hot, so you cant touch it.
And the stepper startes to behave strange.
What is wrong? I dont think it the power supply it is at 16A, but does the H brigde need to manage more amps or ???
The L298 is a simple non-switched H bridge. You are running -way- too much current. Are your steppers getting hot, too?
Use the chopper stepper driver boards from Pololu. Read the data - you are supposed to use a higher voltage power supply with it, but you are to set the current on a potentiometer on the PCB.
BTW, it helps if you provide links to nonstandard parts like stepper motors. When in doubt, provide a link to a datasheet or to the website page where you bought it.