Stepper Motor and Driver Running With Arduino Mega

Поделиться
HTML-код
  • Опубликовано: 13 окт 2024
  • The code section of this video is really low resolution. The first link below will take you right to my Arduino online library where you can scrape the content (cut & paste) right from there to whatever IDE (Integrated Development Environment) you are using.
    THE PROJECT: A friend of mine asked me to help him set up a linear motion rig for recording the sound snowflakes make when they hit a high tensioned wire. The rig is part of a larger piece of artwork and so he requested that the PLC be compact. He decided it was best to run the linear motion Nema 17 stepper motor, like that found in small CNC machines, with an Arduino Uno.
    I started researching wiring setups and tried many variations I found on RUclips, all to no avail. I had to scrap the code I found and start from scratch. I even went as far as learning some basic if else statements in C++ to be able to program the Arduino to take the appropriate actions.
    It has been a fun project and I will post a link to my friend's project when it is posted.
    Related Links:
    Stepper Motor Code: create.arduino...
    Arduino Home Page: www.arduino.cc/
    Arduino IDE Download: www.arduino.cc...
    Please "Like" the video & "Subscribe" to my channel! Much appreciated

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

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

    Hiya buddy, hope you are well, I know this video is fairly old but I have just copied you code and finally got my stepper turning, would you know how to keep the motor turn backward once the direction button has been pressed until it returns to home?

    • @thecrazycncguy7500
      @thecrazycncguy7500  8 месяцев назад

      try this video... ruclips.net/video/7spK_BkMJys/видео.htmlsi=3UA24Fa8CqTMequ1
      Since I posted my old video, others have done a much better job describing the stepper control process. Good luck!

  • @ronaltlee4284
    @ronaltlee4284 4 года назад

    Hi, just need to know whether Mega2560 R3 support external controller to run such as nema 42 motor or bigger?

    • @thecrazycncguy7500
      @thecrazycncguy7500  4 года назад +1

      Hi Ronalt...for sure the mega can handle it. All the Arduino is doing is sending the low voltage signal to the stepper motor driver. It doesn't connect to the motor directly. Do if you have a driver for the nema 42 motor then you can send pulse signals to the driver from the Arduino.

    • @ronaltlee4284
      @ronaltlee4284 4 года назад

      @@thecrazycncguy7500 Thanks for your advice bro...

  • @engzidan9646
    @engzidan9646 6 лет назад

    Hello can contact with you

    • @thecrazycncguy7500
      @thecrazycncguy7500  6 лет назад

      I only contact people through these comments. Is there something specific I can help you with? Thank you for subscribing and I look forward to helping you if I can!