TUTORIAL: How to Interface Stepper Motor to Arduino

preview_player
Показать описание
#TechToTinker I am thinking on creating this tinkering with stepper motor long time ago until yesterday when I met someone in Facebook group asking help regarding his project related to controlling the stepper motor while being able to check for some controls and update LCD to display information. So basically his project should be able to do multiple things at the same time or multi-tasking.

Even though Arduino Uno is a powerful microcontroller but it has only one processing core. It means it can process only one task at one time.

To mimic or to copy the functionalities of multi-tasking, I suggest to use the proto-threading. Proto-threading is basically doing small chunks of task by using the power of millis() Arduino function. To do this, BlinkWithoutDelay example of Arduino is used (please refer to the source code below).

For more information, please visit my blog post at:

If you enjoy this video, please click Like and Subscribe. Leave your comments and suggestion in the comment box. Thank you.
Рекомендации по теме
Комментарии
Автор

how to control steps movements, like lets say we have 400 circular points to move one by one and i need to move pointer in following example sequence starting from 0->10->240->45->28-> -> 400 . How can we automate this ..

chanchalsakarde
Автор

Hi
I Have make a small project With
arduino uno + cnc shield v3 + A4988 motor driver + stepper motor
i have programing by computer.
and it's done.
but now i want programing controller with display.
do you guide me please?

rajnavadia
Автор

Hi Sir. I am hobbyist and made your above circuit. The problem is I am using TB6600 driver with Nema 23 stepper motor. Could you pl help me to run it. I have NO knowledge about CODEING. I need this circuit to rotate drilling parts move accurately. Thanks Protik (India).

protikbanerjee
Автор

WOW !!!! funziona molto bene!!!! 100 like

Toni-xcoh
Автор

Hello Friend, i followed your tutorial, but my motor does not move, i have tried with 12v and 24v power supply, the motor just feels like vibrating a little, but it does not move at all, what could be the reason? thanks in advance!

simpliciobobadilla