How To Control a Stepper Motor with A4988 Driver and Arduino

preview_player
Показать описание
In this tutorial we will learn how to control a Stepper Motor using the A4988 Stepper Driver.

Like my page on Facebook:

Add me on Google+:

Рекомендации по теме
Комментарии
Автор

for anyone that is having problems with a buzzing or freaking out motor, try to connect reset and sleep pins to 5v instead of each other, that worked for me.

MaxspeedDude
Автор

I cannot thank you enough for this. Every time I setup a new stepper, I use your video again! My last comment is 1 year old, in the meantime I started my own channel : )

MaxMakerChannel
Автор

It's now 2020 and still this comes in handy for someone never built a 3D printer on his own - which is now my current task ( Removing all the crap electronics from an Anycubic Predator ). Thanks a lot, appreciate the info!

TheTruthHunters
Автор

Thank you! I tried following other tutorials that included strange libraries but this worked flawlessly. You're the best!

DPIAPU
Автор

I believe you should use pololus current limit formula which is
current limit = VREF/ 8 * RCS
in this case:
current limit = 0.6/ 8 * 0.1
for the fullstep mode
current limit = 0.6/ 8 * 0.1 * 70/100 = 0.525 A

im still new to this, but it seems more accurate in this and in my case.
this video still helped, thanks!

aZnLy
Автор

This is the best explanation for the A4988 on YouTube. Thanks.

stevestronczek
Автор

Your direct and complete explanation along with great video quality is the best I’ve seen on Arduino so far. Thanks for posting.

Michael_Harrigan
Автор

Great tutorial ! Straight to the point without a lot of distracting information. Thank you. I'm looking forward to setting up my system.

FanucMi
Автор

As usual, your tutorials are unbelievable. Your rock.

rusticagenerica
Автор

Simply amazing. I followed you video and now I have my motor working exactly as I needed it. I just had to modify your code just a bit. Thank you very much.

CrL
Автор

Is there a way I could get the motor to cycle a number of times at certain time of day every day?

Banana-qwhd
Автор

I followed this tutorial with all required hardware. I had issues with buzzing and losing consistent position. I used a NEMA17 stepper from an old 3D printer. I solved my issue by connecting sleep/reset pins, adjusting steps to 400 and 800 (0.09deg IPO 1.8deg), and slowly adjusted timing within loops (ended with 660ms). Hope this helps!

trentonmulnix
Автор

00:00 Video Intro
00:18 A4988 Introduction
00:40 Microstep Resolutions - "The driver provides 5 stepper resolutions: Full Step, Half Step, ..."
00:49 A4988 General Specifications
01:15 Pinout Of The Driver
04:41 Complete Circuit Schematic
07:15 The Example Code
09:01 Demonstration Of Code & Parts In Practice
09:15 One More Example
09:25 Thanks For Watching & Outro

threefour
Автор

Look, I come from Uruguay, I've been searching for a video (in spanish) to understand those fucking drivers and I couldn't find any video to get its function... When I searched for it in english I found this video, I could understand it very quickly. Thank you very much! I wouldn't be able to keep my project without you

santiagon.
Автор

A really helpful and informative video. I was struggling with running my stepper motor and I found this. You saved my lot of time.

lirilsilvi
Автор

This video is still helpful, even after 5 years. Thanks!

instasquid
Автор

I`m back again using your advice. This time for a telescope EQ drive. Thanks again.

damianbutterworth
Автор

great video! i like a detailed explanation of each step, its perfect for a beginner like me. hopefully, in the next one hour my motor will start rotating!

sasatarle
Автор

The way of your Explanation was too good.i can understand entire thing, thanku dejan.
its very useful to me..

gowrishankar
Автор

I had identical parts and it took days of research to figure out why mine wasn't working.
My motor would beep and whine and struggle to move, but in the end I solved this by adding one wire.
All I had to do was apply 5V to the linked RESET and SLEEP pins.
This can be done by running one wire from the same breadboard row as the A4988 VDD pin and running it to the RESET row.
Hope this helps someone!

somdov