ESP 32: How to Control Stepper Motors

Поделиться
HTML-код
  • Опубликовано: 13 ноя 2020
  • In this video I explain how to use a stepper motor with an ESP 32 using the Arduino IDE to program it.
    Have a comment or suggestion? Leave it below or send me an email:
    brandon@baldguydiy.com
    Thanks for watching. Please subscribe if you like this kind of content.
  • ХоббиХобби

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

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

    I am working on a telescope 2 motor motion control and would like to keep with the esp32 Bluetooth module. 😎 Thanks for the great stepper motor ideas.

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

    Thank you for sharing!

  • @matthewjames7513
    @matthewjames7513 18 дней назад

    Hi do you have a video on how to wire the stepper motor, stepper driver and breadboard together?

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

    Helped me figure out the code! Would have been nice to see the wiring for it.

  • @jimg.7735
    @jimg.7735 2 года назад

    Great video, could you show how to control four stepper motor individually on ESP32. Thanks!

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

    Can you make a video on how to do this with esp-idf? I'm having a lot of trouble with that

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

    Hello, thank you for this video.i really appreciate it . I am trying to work on a project and i feel like you could please help me out .Could you make a video of how to control a stepper motor using ESP 32 Micro controller and data from an RFID reader and a Motor driver to power the stepper motor .

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

      Thanks for watching. I currently don’t have time to make the video you’re requesting, but if you take the building blocks from each video and try putting them together, you should be able to find something that works. Good luck!

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

    Hi, thanks for your video. I got a question, how to code the esp32 to control two DC motors with different speed for example

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

      Thanks for watching. What kind of DC motors? What voltage, how many wires, what current rating? All of those are pretty important to know to advise how to proceed. If it’s just a two wire DC motor you’re going to use some kind of driver or mosfet and pwm or analog write the output to control the speed.

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

      @@BaldGuyDIY yeah it's just 2 wire DC motor and I use ln298 i think it's the name of the motor shield. I wanted to use pwm to control each speed but I think I made a mistake on the code, could you help me?

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

      @@sssedo1573 you can email me if you’d like. I’ve got a lot on the go right now but I may be able to take a quick look and see if I can spot the problem.

  • @AuditoryDefect
    @AuditoryDefect 3 года назад

    realy good explanation. thank you verry much. My stepper ist only moving in one direction though. any idea why that migt be? the output text still says clockwise and counterclockwise

    • @BaldGuyDIY
      @BaldGuyDIY  3 года назад +1

      Make sure the sequence is correct. 1,3,2,4 not 1,2,3,4. Thanks for watching!

    • @emilyb7074
      @emilyb7074 3 года назад +1

      try changing the myStepper.step(stepsPerRevolution) to a negative when you want to change the direction

    • @BaldGuyDIY
      @BaldGuyDIY  3 года назад +1

      @@emilyb7074 that does work if you have the sequence right, but if you have the sequence wrong, it won’t change direction like it should. Thanks for watching and commenting!

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

    In the business world. You will use IDF not Arduino.

    • @18avshalom
      @18avshalom Год назад

      You've been watching too much Fauda

    • @tookitogo
      @tookitogo 7 месяцев назад

      Arduino on ESP32 is only a lightweight wrapper atop ESP-IDF, running as a process in FreeRTOS. So you can truly mix and match Arduino, ESP-IDF, and FreeRTOS calls in the same project.