My first post on this forum, so pleas be gentle with me
I have a Stepper Motor, the 42BYGHW811 connected to an L298N.
Now the 42BYGHW811 is supposed to have 1.8 degree per step. this makes 200 steps a revolution.
Well the problem is, this is only a quarter of a revolution. I tried to set it to 800 and that didn't work either.
I tried fiddling with it and setting the speed to 255 and the steps per revolution to 1500 works. but it makes around 1,5 revolution.
My wiring is as follows.
IN 1,2,3,4 to pin 8,9,10,11
a 20.4V supply to GND and 12V+ (i took the 12V cap off)
a common ground to the arduino and the 5V to Vin on arduino.
And ofc. the coils wired to both sides. (I measured the pairs :))