Articles, Blog

Eqipment Corner – Steppers

Eqipment Corner – Steppers


Today for equipment corner we’re gonna
talk about steppers now keep in mind that a lot of the steppers that I’m
gonna talk about I may not have already covered and there may be some that I’m
not covering in this tutorial but this is designed for someone that’s starting
out so they can understand what the universe of steppers are and how to work
with the ones that they’re most comfortable with so to start with we
have the A4988 this is the most basic stepper it’ll allow you
to do one sixteenth of a step then we have the DRV8825 which will allow you to
do one thirty-second of a step and there are others such as the TMC2208 which
will allow you to control stepping with current as well as the TMC2209 we also
have the TMC 2130 which allows you to integrate n
stop detection into the stepper and then we have a more powerful stepper that is
the TMC5160 now of these steppers for a beginner i
would recommend not using this being the A4988 because the
complexity of dealing with 1/16 of a step is not very good but the DRV8825
definitely is one of the ones I would recommend if you’re just starting out if
you become more advanced I would recommend investigating these but know
what you’re in for because there’s a lot of information that you’re gonna have to
digest in this case you’re gonna have to learn how to read data sheets and
compute root-mean-square or your NEMA 17 steppers now in this I’m actually
including what’s known as a Fluke multimeter the reason that I’m showing
this is because I want you to understand that there are gonna be times when we
may have to make adjustments on these steppers being probably the DRV8825 and
a multimeter is one of the most helpful tools that you can work with another
thing that you’re gonna probably need is something to actually strip your wires
now the reason that I say that is because for the NEMA17 steppers
sometimes they do not include a DuPont connector for the four wires to connect
to your motherboard and you may have to splice them and then finally there’s a
ruler now the premise of the ruler is you’re
going to use millimeters on it because that’s what the default measurement is
for steppers and this will be used for calibration meaning how big of a step
you’ll be taking and there are tutorials that I’ve done on the extruder they’re
explaining this in quite clear detail I’ll include the links for these
tutorials in this video in the description but the
final thing that I want to show you is actually a caliper the digital caliper
allows you to actually measure your calibration for instance cubes that most
people print I personally print what’s known as a 20
millimeter calibration cube and the premise behind printing it is to check
the x y and z axes and the reason behind that is you’re gonna multiply the actual
20 millimeter cube by 5 to compute your actual calibration so now that we know
all of this I’m just going to start to show you what to do with Marlin and how
to work with it to calibrate your printer
best that you can to start with okay first thing that we need to understand with
steppers is the actual Marlin firmware but actually before I describe or show
you the Marlin firmware I want to show you the RepRap calculator and how it
works so what we’re gonna do is we’re gonna go into the search bar and type
RepRap space calculator and what we’re gonna do is we’re gonna search on
that now either the first or second link shows you which one you’re gonna work
with so in this case we’re gonna go to the crucial printers for the RepRap
calculator and I’m gonna show you how this works now right now they’re talking
about axial filament up here we’re not really concerned with that at the moment
we’re more concerned with movement so in order to calculate what our steps are
going to be for our particular stepper I’m gonna use the DRV8825 as our example
so what I’m going to do is I’m going to open up notepad so that we can keep
track of these and inside notepad what I’m gonna do is
I’m going to first find what the steps are for x and y now as you can see right
here they have a calculation that they’re using or a particular stepper
now understand this is a belt-driven system so in this case they’re giving
you what’s the default belt most people use a gt2 on their building their
printer and most people use a stepper that has 1.8 degree of step there are
other ones I’ll show you right here you can buy other ones but I recommend
starting with the default so it’s less confusing being 1.8 degree the next
thing is the driver microstepping now 1/16 would be the A4988 but if
we’re gonna do 1/32 we’re gonna have to pick this one right here which will
double the value that you have now these usually remain constant for everybody
being the belt pitch and also the pulley tooth count but if you do have different
pulley tooth counts that you’re using you’re gonna have to change these values
so for X and for y if they’re run on belts we’re gonna use in this particular
case for the DRV8825 400 so we’re going to copy that and then we’re gonna say x equals 400
why equals 400 and then we’re going to say Z equals and then we’re gonna figure out
what that value is so to scroll down here for the Z this is
kind of interesting we’re gonna go with the same NEMA stepper which is 1.8
degrees of step and we’re gonna use a DRV8825 so it’s 1/32 of a step so most
people will use an M8 rod which will have a one point two five degree
millimeter per rotation so that’s how far it goes up
in that particular turn of the pitch there are other ones in here such as the
m6 the m5 which is even smaller the twelve and a bunch of others now keep
that in mind because you need to know what it is most people use the M8
because it’s the easiest to work with and so the number that we’re shooting
for here is actually five thousand one hundred and twenty we’re gonna copy that
and then for the actual extruder for now we’re gonna go with the defaults that
exist in the Marlin firmware so what I’m gonna do now is I’m going to
go to the Marlin website and I’m going to go to the download
section now keep in mind of these three builds this one has the ability to do
stepping out of the gate meaning that you’re not going to have to
enable your steppers and then this one is usually used for either 8-bit
processors or only 8-bit processors pardon me and this one’s good for 8-bit
and 32-bit this one over here is only for 8-bit as well so what we’re gonna do
is we’re gonna download the nightly bug fix which is over here which is
basically any fixes that they’re trying to do for this will be here in the
nightly now keep in mind that over here if you see something that you don’t
think is right or doesn’t work there’s a good resource and that’s the reporting
issues page if you click on this it’ll take you to the github or Marlin
firmware where you can report an issue or search on one so what I’m gonna do is
I’m gonna do a search on the TMC 2209 to see if there are any open
issues and hit enter now as you can see there is several
issues that currently exist that they’re talking about and you can read each one
by clicking on the link within it now keep in mind if you also have a question
that you don’t think I can answer which could be a lot of them you can always go
here and open an issue and ask a question and most of the time they’ll
have no problem answering it or directing you to where you can find more
information and there’s also something called RepRap wiki where you can search
or you can go to a RepRap forum to look up information that other people are
talking about so keep those resources in mind when you’re having an issue that
you need to resolve but what we’re gonna do is we’re gonna go back to Marlin
right now and we’re gonna download the nightly build and then what I’m going to
do is I’m actually gonna go over to my downloads folder and I’m gonna right
click on the Marlin firmware and extract all so I’m gonna click on extract and
while this is going on I wanna put out a thank-you to the following four people
that decided to tip me on PayPal its greatly appreciated that would be Stacy
Tom, Tom and Mustafa and if I mispronounce your names I’m
sorry but I’m only gonna pronounce your first name when I’m actually thanking
people for your privacy so
the other thing that I do need to tell you is that I purchased all the
equipment in this video with my own money and no one’s paying me or
sponsoring me to do this tutorial but I will be placing Amazon affiliate links
in the description for your convenience so what I’m going to do now is I’m gonna
actually open up VScode and this is going to be the way that you’re
actually gonna edit your file so what we’re gonna search on in this file just
so that you understand what’s occurring is in the configuration file if you’ve
watched any of my other tutorials I do talk about going to the source folder
than the board’s then boards.h to pick your particular hardware and this
one I’m gonna be skipping it because we’re not gonna be loading stuff but I
will show you some of the things you have to keep in mind or your steppers
first being in this particular firmware you have to do a search and we’re gonna
do a search on A4988 if your stepper is not moving what you
need to do is remove the comments to enable it by just basically backspacing
to take out the comments this will allow your stepper to move so you’re probably
most often gonna do x y z and you’re probably going to do E0 if you’re
starting out the next thing that you want to look for and modify would be
your default underscore
axis let’s see what that finds if I spell
correctly that is though let me fix my spelling here
so what we’re looking for is this particular line in the Marlin code and
what they do is they default it to what they think is most often used so for
this basics tutorial I’m just trying to show you what the thought process is of
how you set this up so for default access steps per unit what you’re gonna
do is for the X that we found earlier with the RepRap calculator it’s gonna be
400 for your X for a 32 step DRV8825 gonna be 400 or the same stepper and
then you’re instead access is going to be let’s see
I believe it’s 5120 but I have to check so it is so I’m gonna copy that
I’m gonna go back and I’m gonna replace that value now keep in mind I’ve done a
tutorial on how to do your extruder which applies to all of these it’s very
similar so in the future I may do a tutorial on how to do a calibration cube
and calibrate your axes as well as how to set up your surface for printing but
it’s a very broad subject so I’m still thinking about how to do it and present
it so keep that in mind if you haven’t seen or you’ll come out yet it’s
probably because I’m thinking about it so now that we have those set what
you’re probably gonna do is you’ll ignore all this stuff this is more for
advanced users at the moment but I don’t want to talk about it and I don’t also
want to talk about how to do additional steppers
I have other tutorials in my playlist that you can check for those but after
you’re done configuring your particular board you’re also gonna have so configure
your default environment so the mega2560 is one chipset that I
talked about earlier being the RAMPS 1.4 or 1.6 but in order to compile what
you’re gonna do is either hit the build button or depending upon your hardware
you can do the build button with upload so it’ll actually build your code and
upload but seeing how we haven’t configured a board I’m gonna skip that
for now so if you like my tutorial please press
the like button and subscribe and thank you for your time

5 comments

๐Ÿ’ฏ๐Ÿ‘๐Ÿ’ฏ๐Ÿ‘๐Ÿ’ฏ๐Ÿ‘
๐Ÿ‘๐Ÿ‘๐Ÿ‘๐Ÿ‘๐Ÿ‘๐Ÿ‘
๐Ÿ‘Œ๐Ÿ‘Œ๐Ÿ’ช
Super , trรจs bien expliquรฉ , la traduction franรงaise est parfaite !
Super cool ๐Ÿ’ฏ๐Ÿ‘

Leave a Comment

Your email address will not be published. Required fields are marked *