Control Stepper Motor with Arduino and DRV8825 driver

Поделиться
HTML-код
  • Опубликовано: 4 окт 2024

Комментарии • 41

  • @Serge.pl.
    @Serge.pl. 2 года назад +2

    omg, you saved 6 months of my efforts to make a project work

    • @hashincludeelectronics
      @hashincludeelectronics  2 года назад

      That’s awesome 👏🏻 I am glad that this video helped you in your project 👍🏻

  • @yashasvichoubey9179
    @yashasvichoubey9179 2 года назад +2

    Video Content and Editing of top notch👌🏻

  • @vamshikrishna9481
    @vamshikrishna9481 6 месяцев назад +1

    I want to use this as an expansion board to add one more stepper motor to mks gen l board as it comes with 5 stepper motor pins only but i want to have 2 more. Is it possible to add using this board?

  • @omarsalem5832
    @omarsalem5832 5 месяцев назад +1

    Very useful! thank you!

  • @murii9755
    @murii9755 Год назад +1

    Are the sleep and reset pin connected to 5V on the development board?

  • @pawanseth6682
    @pawanseth6682 2 года назад +1

    Hi, Very precise video. Please show me exact code to turn the rotation to 1 rpm. This is to build a clock.

    • @hashincludeelectronics
      @hashincludeelectronics  2 года назад +1

      First check how many steps per revolution for your stepper motor . Example if 200 steps for 1 revolution , then for 1 rpm speed , the value for setSpeed will be 200/60 .

  • @jumbo999614
    @jumbo999614 20 дней назад +1

    I tested my DRV8825 with 28BYJ48 stepper motor.
    The motor rotates without any problem but it kind of heat up but not too hot after 5 minutes.
    My vref for 28BYJ48 is 0.13v. I test the actual current by connect in series from one of the motor's wires to multimeter and set multimeter to AMP mode.
    It just show 0 amp even though the motor is spinning. How to find out current using AMP mode in multimeter?

    • @hashincludeelectronics
      @hashincludeelectronics  20 дней назад

      Check if your multimeter is working fine for current . Also check if you are connecting multimeter wires in series for checking current 👍🏻👏🏻

    • @jumbo999614
      @jumbo999614 20 дней назад

      @@hashincludeelectronics Thank you for replying.
      I made stupid mistake. My black probe was in 10A max socket.
      Now I can read the current. But it read at between 0.01 - 0.04 (my multimeter is not autorange. I set it to 20m). So only 40mA? I though the datasheet says 240mA.
      Is my reading normal? the motor is still hot though. But still not hot enough to burn my hand.

  • @Littleprincessaugust
    @Littleprincessaugust 6 месяцев назад +1

    YOU SAVED ME THANK YOU

  • @arifibrahim3724
    @arifibrahim3724 2 года назад +1

    If I want my stepper motor to move let us say 25mm/sec how can I convert no of rotation to velocity and insert in the code for constant speed??

    • @hashincludeelectronics
      @hashincludeelectronics  2 года назад

      I think you need to check in one rotation how much distance your motor covers . And based on that you can control number of rotation and speed in code .

  • @Jordan_Fernando
    @Jordan_Fernando 11 месяцев назад +1

    Can it work using motor 3.6 volts, with current 1.5 amperes per phase?

  • @paulsonaivy
    @paulsonaivy Год назад +1

    Hello sir, wonderful video,
    I would like to know if i can use the potentiometer to control the speed as well as the Arduino to switch direction after a few set rotation,
    Thanks a lot once more

    • @hashincludeelectronics
      @hashincludeelectronics  Год назад +1

      Thanks for checking out the video . The details are provided in the video . It should work for you 👍🏻👏🏻

    • @paulsonaivy
      @paulsonaivy Год назад

      @@hashincludeelectronics thanks for the reply sir,
      can you pls provide me with the codes to move the stepper motor clockwise for a desired turns and then move it counter clock wise for the same desired turns with speed control done by the potentiometer,
      please if you can do it i will be able to complete the project ,i am asking you since i have tried it many times and didnt work,
      thanks once more for the help you have provided

    • @paulsonaivy
      @paulsonaivy Год назад

      please can you send me the codes
      thanks

    • @paulsonaivy
      @paulsonaivy Год назад

      the code which you have used is for contant speed with potentiometer,
      can you post the code for constant speed with potention meter with clockwise and anticlock wise direction
      thanks

    • @paulsonaivy
      @paulsonaivy Год назад

      hello sir,
      i am using hy-link adaptor rated 1.6 amps,will this work or i need to use something similar to 3 amps output

  • @raadalshaqathah8757
    @raadalshaqathah8757 2 года назад +1

    Hello, I have a problem with the phase of the stepper motor when the power cut off and when giving it the power the stepper begin to move where it stop I need it in fixed phase... please help me

  • @chinmayjoshi1805
    @chinmayjoshi1805 Год назад +1

    Hi. what is the maximum speed that I can set on stepper motor using this combination and code?
    my application needs min 200 rpm and max 1700 rpm.
    can I achieve this?

    • @hashincludeelectronics
      @hashincludeelectronics  Год назад +1

      In this configuration it can go maximum 300 rpm . That is for 200 steps motor, in 1/4 stepping mode , it will need 800 steps for 1 revolution . Maximum steps which can be set in this library is 4000 steps per second. So (4000/800)*60= 300 rpm .

    • @chinmayjoshi1805
      @chinmayjoshi1805 Год назад +1

      @@hashincludeelectronics okay thanks a lot!

  • @rupaeshkumarphotography4042
    @rupaeshkumarphotography4042 2 года назад +1

    Hi very nice video, can you please help me with code, I want to run Nema 17 at lowest speed at .50 rpm to 1 rpm for my barn door star tracker project.

  • @616lizzie
    @616lizzie 2 года назад +1

    NICE BRO 👍🏻

  • @GT-ee5ms
    @GT-ee5ms 2 года назад +1

    What is the setting on the multimeter?

    • @jumbo999614
      @jumbo999614 9 месяцев назад

      I think DC voltage 20V range.

  • @dhruvdodiya1814
    @dhruvdodiya1814 8 месяцев назад +1

    How to change direction?

  • @adambeedle
    @adambeedle 2 года назад +1

    Cool!!

  • @Wee-u5h
    @Wee-u5h Год назад +1

    ฟังไม่ทันเลย