Have you tried increasing the value of the variable 'delayTime'. It sounds like your motor is trying to switch magnetic states before it has achieved the desired rotation. This does mean the rotation will be slower but at least it will turn. Another option may be that you don't have the correct pins wired to the correct motor connections, try switching these around as well if the previous doesn't work for you.
@@makeitquick9638 im trying rn to get it working with a uln2003 board, but no success, maybe you are right but, the motor is only vibrating and buzes, maybe its the timing, and ive tried a bunch of delay times, but not higher than 3, ill notify you if i manage to get it working!
Have you ensured that the greater than/less than texts in the code were replaced with the correct symbols and checked that the pins are wired up the same? The pins also can't be arbitrarily attached to the motor as the coils need to be properly associated with the pulsing. This will also only work for smaller stepper motors as the Arduino cannot output enough power for larger motors. Hopefully that helps.
"careful disassembly" 😅
These sorts of things need to be treated delicately
Thanks for the code, I was having a hard time figuring out what order I should power the motor coils.
Thanks for this its very handy used it to sort wiring a 28BYJ-48 stepper with 4 wires instead of 5.
What are the 2-4 additional wires for?
I think it's very useful. Ty!
Glad it helped
How do I calculate the exact height I want to go to
Thank you. This helped me.
my motor isn;t working, the motor is from a dvd drive (those screw stepper motors), and it doesn't it just vibrates and buzzes
Have you tried increasing the value of the variable 'delayTime'. It sounds like your motor is trying to switch magnetic states before it has achieved the desired rotation. This does mean the rotation will be slower but at least it will turn.
Another option may be that you don't have the correct pins wired to the correct motor connections, try switching these around as well if the previous doesn't work for you.
@@makeitquick9638 im trying rn to get it working with a uln2003 board, but no success, maybe you are right but, the motor is only vibrating and buzes, maybe its the timing, and ive tried a bunch of delay times, but not higher than 3, ill notify you if i manage to get it working!
super fast update, i made the timing 3.5 and managed to see it vibrating, so it might be the timings
code has an error
Have you ensured that the greater than/less than texts in the code were replaced with the correct symbols and checked that the pins are wired up the same? The pins also can't be arbitrarily attached to the motor as the coils need to be properly associated with the pulsing. This will also only work for smaller stepper motors as the Arduino cannot output enough power for larger motors.
Hopefully that helps.