How To Control A Stepper Motor Without A Stepper Driver (Arduino Only)

Поділитися
Вставка
  • Опубліковано 1 жов 2024

КОМЕНТАРІ • 15

  • @Abigail-wp3yt
    @Abigail-wp3yt 2 роки тому +2

    "careful disassembly" 😅

    • @makeitquick9638
      @makeitquick9638  2 роки тому +4

      These sorts of things need to be treated delicately

  • @Fs-zo8ws
    @Fs-zo8ws 8 місяців тому

    Thanks for the code, I was having a hard time figuring out what order I should power the motor coils.

  • @wayne975
    @wayne975 Рік тому

    Thanks for this its very handy used it to sort wiring a 28BYJ-48 stepper with 4 wires instead of 5.

  • @atti1120
    @atti1120 6 місяців тому

    What are the 2-4 additional wires for?

  • @l0I0I0I0
    @l0I0I0I0 Рік тому +1

    I think it's very useful. Ty!

  • @andyvampirvolococanada8095
    @andyvampirvolococanada8095 7 місяців тому

    How do I calculate the exact height I want to go to

  • @nathankrone3363
    @nathankrone3363 6 місяців тому

    Thank you. This helped me.

  • @miguelsantiago-v3e
    @miguelsantiago-v3e 9 місяців тому

    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

    • @makeitquick9638
      @makeitquick9638  9 місяців тому

      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.

    • @miguelsantiago-v3e
      @miguelsantiago-v3e 9 місяців тому

      @@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!

    • @miguelsantiago-v3e
      @miguelsantiago-v3e 9 місяців тому

      super fast update, i made the timing 3.5 and managed to see it vibrating, so it might be the timings

  • @dakidsksksk
    @dakidsksksk Рік тому

    code has an error

    • @makeitquick9638
      @makeitquick9638  Рік тому

      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.