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. - Хобби
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.
Thank you for sharing!
Hi do you have a video on how to wire the stepper motor, stepper driver and breadboard together?
Helped me figure out the code! Would have been nice to see the wiring for it.
Great video, could you show how to control four stepper motor individually on ESP32. Thanks!
Can you make a video on how to do this with esp-idf? I'm having a lot of trouble with that
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 .
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!
Hi, thanks for your video. I got a question, how to code the esp32 to control two DC motors with different speed for example
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.
@@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?
@@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.
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
Make sure the sequence is correct. 1,3,2,4 not 1,2,3,4. Thanks for watching!
try changing the myStepper.step(stepsPerRevolution) to a negative when you want to change the direction
@@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!
In the business world. You will use IDF not Arduino.
You've been watching too much Fauda
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.