RAMPS 1.6 – Basics

RAMPS 1.6 – Basics

today we’re going to talk about the Big- TreeTech version of the RAMPS 1.6 board
I’m gonna explain what’s around the board feet here and then go into the
software and explain in depth what else we have to work with so these female
sets of pins over here these are for our X stepper our Y stepper and our Zed
stepper then we have our E0 for our first extruder and then E1 for our second
extruder in front of each one of these ports we have four sets of pins these
are for our NEMA stepper motors as you can see the z-axis has two sets
of four pins then we have our our pins over here so we have a VCC a 5-volt and
I believe that’s ground over here we have our endstop pins
our X minimum our X maximum our Y minimum our y maximum our Z minimum and
our Z maximum these four pins over here called our i2c pins then we have our
thermistor pins right here for three sets of thermistors these are used to
tell temperature and over here we have our exhilarate four set of pins this
sometimes is used for um multiple different things but mostly it’s used
for an LCD of some type then we have auxilary three an inside auxilary three
we have our I2C or excuse me not our I2C our SPI pins and what
those are serial peripheral interface pins that’s why we pronounce it SPI
and what they do is they actually will connect the SPI section for the software
to communicate over and then we’ll have a pin someplace else on the board that
will actually connect to the device as an address over here we have our
auxilary two set of pins auxilary one set of pins and then finally we have our
pins over here where we have three sets of four they’re used for four different
types of servos but we can use this for other things such as driving fans which
I’ll probably get into in later tutorials
over here we have a reset button and then below this little heatsink are four
things that are actually being wicked away for heat and those are our
our MOSFETs over here we have our main power you can
do either 12 or up to 35 volts we have our bed set of pins which we can
possibly use for other things then we have a fan set of pins right here and
then on D10 this is usually used for our first extruder so in order to
connect this we’re going to start with an 8-bit processor so I’m going to slide
this in this is the MEGA or ATMEGA 2560 chipset
it’s an 8-bit processor as you can see right here it’s got a normal USB
connection and it can take external power but we’ll probably never use this
over here we have our female set of pins to connect the board to so this gives us
both digital and analog pins around the board to use with our RAMPS 1.6 so I’m going to flip this over so you can actually see underneath
how it’s going to connect I’m going to take these off and underneath here as you can see on
the RAMPS we have pins that will mate with the pins on the board up above I’m
going to show you how to do that real quick you’re going to take the board and
you’re gonna rotate it over match up the sets of pins that you have and then
you’re going to apply a little bit of thumb pressure in order to bring it down without damaging your pins so this might
take a little work and there you go as you can see it’s
already connected so I’m going to show you how to actually
set up the actual firmware for your initial load and so I’m going to swap
over to my computer for a moment to give you a little bit more color as to what
I’m working on we’re going to start with
your RAMPS 1.6 in this case will run on the Marlin firmware in order
to actually use it we have to load Arduino so in order to load Arduino we
have to basically pull down the IDE which is the integrated development
environment so I’m gonna do a search on an IDE
brings us to the website we’re gonna click on that and then I’m gonna scroll
down and what we have here is there our Arduino 1.8.10 now I’m gonna go
over to here where it says install for Windows XP and up this will install our
drivers and the development environment that we
need to run this board so we’re on the contribution page I strongly suggest
making a contribution because they actually give you a development
environment to work with but for now what we’re gonna do is we’re just going
to download well this may take a moment to pull down
but hopefully it’ll be pretty quick we have it so in order to open this I’m
going to go over here and do a show in folder going to click on this to install so I’m
going to double click it may populate a dialogue that you’re
unable to see but that’s fine I’ll just read it out it’s basically saying do you
want to allow this app to make changes to your device so I’m going to answer
yes now it’s gonna ask me if I agree to the
Terms of Service I’m gonna agree I’m gonna basically install everything even
the USB drivers so that we can communicate with the device that
we’re working with being the MEGAATMEGA 2560 chipset
and now I’m going to install so right now what it’s doing is
basically extracting the files we can look in detail over here but it’s moving
kind of quick due to the computer I’m working with but I’m sure it’ll be about
the same pace on your computer maybe even faster okay now that it’s complete I’m gonna
click close what I’m gonna do is I’m going to go
back to the web browser and I’m gonna do a search on Marlin
firmware press Enter this brings you to the Marlin firmware
home page in here I’m gonna click on the download option and what we’re gonna do
is normally I would do it with an older version up here but because Marlin is
moving in a direction of its newest software release that now is in an alpha
type mode I’m gonna make you from more familiar with this particular version so
I’m going to download the bug fix zip file then I’m gonna go to the actual folder
that contains it so I’m going to show in folder
and we’re gonna have to wait for it to open again there we go I’m gonna right-click or
actually what I’m gonna do is just to open it so you can see a different way
to do this I’m gonna highlight it I’m gonna press ctrl C to copy I’m then
going to go to my C Drive I’m gonna go to the folder for RAMPS 1.6 I’m gonna go
to the tutorials folder the basics folder that I’m showing you open up the
firmware folder and paste it right here this might take a moment to copy over
because it’s basically unzipping the same time that it’s copying and after this completes I’ll show you
actually how to open application within this folder but I’ll
also show you a walk-around of what’s contained therein some of the things
that might be of interest are the pins file which will explain how the pins are
allocated on the board or the RAMPS 1.6 it may not show up as a RAMPS 1.6 it
might be a RAMPS 1.4 but that’s okay so let’s see what happens because it’s the
most modern download that we just did this moment we’re gonna open the folder
inside here to open it you’re gonna go to Marlin inside Marlin there’s an INO
file this is Marlin.ino if you have
your extensions not hidden like myself I’m gonna double click to actually open
it this will open up the application in order to set up our integrated developer
environment but first I’m going to show you this tab its configuration dot H
this allows us to do 90% of our configurations in here then we have our
configuration underscore adv this is our advanced configuration file so we’ll
be doing some configurations in this in the future and then the other tabs are
just ones that they’ve included that we can see but for now we’re gonna ignore
that and I’m gonna go back to the folder expand it out here so we have a source
folder we’re gonna go into that for a second and inside the source folder we
have a core folder inside here we have a boards dot H file we’re gonna open that
up and inside here I want to do a search on RAMPS and we’ll say underscore one let’s see
if there’s one six apparently there is not which is okay because we do have the
one four right here that we could probably use we’re gonna stick with that
for the moment and in the future if they have a broken out one that we can use
for it we’ll do that but for now we’ll actually just learn from here and then
learn what we can do with it later so in this case the default is always going to
be EFB which stands for extruder fan bed but there are other configurations
that you can use on the same board being extruder extruder bed extruder fan fan
and then you have extruder extruder fan and then you have SF and SF I believe is
for spindle control so that would allow you to control a
actual carving device and then you can also hook a fan to it we’re gonna close
out of here for now because we don’t need this at the moment and now I’m
gonna show you the in this folder so I’m going to go up to source and we’re gonna
go to the pins folder and inside the pins folder we have a RAMPS folder so
we’re going to open that up and we have several different board types but the
one that we’re looking for is RAMPS 1 4 we’re gonna have to look around here a
little bit apparently we’re not seeing it right
away which is fine so what I’m gonna do is I’m gonna open
up the RAMPS 1_3 just so you can see what’s going on
so inside here we have basically the definition of the board and this is only
used for the RAMPS 1.3 so this is probably old but it’s making reference
to a different board being RAMPS dot H so we know we’re in the wrong
actual file for this because this board is probably out of date now so we’re
gonna close this and we’re gonna go to this one which is for the RAMPS 1.4 and
above so as you can see there’s gonna be pin assignments down here so these pin
assignments for instance these are our servo pins so what we can do is we can
match these up to our pins diagram and I’ll show you how to find that real
quick we’re gonna go to our browser we’re gonna open another tab we’re going
to type RAMPS 1.6 and as you can see there is a RepRap 1.6 so we’re gonna go to this wiki and
inside here they show the board and then they show the pins so for instance we
were looking at the pins for the actual servos down here so I’m gonna unlock
this and as you can see we’ve got our four sets of pins obviously the ground
is here five volts is here then it’s eleven six five and four let’s go back
to the pins file for a second now as you can see it’s defined as 11 six five and
four so now you know where your pins are and how they’re actually tied to your
board and this is true of everything around your board so don’t get
overwhelmed not a big deal it’s actually pretty nice to actually know what’s
going on and then there’s different pins down here for your steppers and I’ll
teach you a little bit a bit about this in the future and then you have other
pins obviously that you can research on your own so I’m gonna close out of this
for the moment now I’m gonna go over to the Marlin integrated development
environment and I’m going to do a search on motherboard on the configuration dot
H I’m do motherboard and down here is where you define your
motherboard and in this case is already defined by default for this board so
we’re good there go on other boards you may have define your port depending upon
what you’re working with but in this case we’re gonna leave it as zero
because I believe the software will see it because it’s installed the actual um firmware or excuse me driver software so
I’m going to show you something on camera real quick and how we’re going to
connect it so we can actually see it before we do anything else okay in order to actually program this
we need to connect our USB connections so we have the big side over here that
I’ll connect to the USB port here then I’m gonna connect the other side to the
computer and I need to tell you something about this real quick
no one is actually paying me to do this tutorial or financing me in any other
way I bought all the materials with my own money but I will be placing Amazon
affiliate links in the description so you can help me out by offsetting my
costs and it will also make it easier for you to find the hardware that we’re
talking about okay we’re back in Marlin in order to
actually set this up we have to go to tools then we have to go to the actual
board type and right now it’s set to the default that it’s loaded at so we’re
gonna have to find the MEGA 2560 which is right here the star chipset next we
have to make sure that we have a port selected so we’re going to over here and
sure enough after we plugged in the USB it shows up so we’re gonna click on that
and then in order to load there’s two different ways to do it but the easiest
way is not to use the verify which is basically compile we’re going to use the
upload which will compile and then we’ll upload to the board this will happen
automatically for you if you’re connected so here we go as you can see the upload completed
there appears to be no errors but now we need to test the board what I’m gonna do
is I’m going to go over to the web browser again and I’m going to type in ‘Pronterface.com press Enter we’re gonna
go to download and what we’re gonna do is we’re actually going to download the
most current version which isn’t very current but it’s helpful to use
so we’re gonna go over to be binaries
we’re gonna find for Windows which is probably a zip the most current version
which is right here take a moment to download it’s not that
big only about 24 point one megabytes okay now that it’s done downloading I’m
gonna go to show in folder and I’m going to extract it into this
folder so you can see what’s going on normally you do this to your desktop
just so you can find it and then maybe put it in your taskbar but for now I’m
going to show you the PrintRun so I’m going to open this up inside here we
have an executable we’re gonna double click on it or Pronterface we’re gonna
connect to the device as you can see it shows everything about the device that’s
possible without actual more than 5 volts power being supplied but we’re
gonna look to see what the endstops look like we’re gonna type M119 and press
Enter and as you can see they all say
triggered that’s because nothing is connected
but I’ll show you how to do that and future tutorials
but if you like my tutorial please press the like button and subscribe and thank
you for your time

Danny Hutson

6 thoughts on “RAMPS 1.6 – Basics

  1. I have a anet a8 and i convert it motherboard to ramps 1.6. but i have a problem with connections stepper motors not moves true. How can i connect it? Do you have video for wiring?

  2. dear edward,

    thank you so much for this video!

    I am quite familiar with 3D printer and software, but due to circumstances I have been out for a while.

    now i'm trying to restart but everything has been updated and so i have to catch up.

    Your video helps me very well!

    I'm still having Ramps (the new and the old 1.4/1.6 ) with 12864 Smart LCD Screen Display Controller

    Everything has to be restarted so I hope you want to make follow-up videos with Ramps plus the large LCD with SD card.

    I hope that you also want to explain how you can make changes again via the LCD (and not via the PC)
    so that you are less dependent on the PC.

    Friendly greetings from The Netherlands!


  3. Hi Edward, Just started watching your channel, well done they are very informative. Was just wondering as I'm building a multi purpose rig with Nema23 steppers (single X double Y and single Z) and want to use external drivers for higher current capacity, do you have a tutorial on how to incorporate external drivers on a ramps board. (just got my ramps 1.6 but as I see you have a lot of tuts to do on this board as its so new). If so could you point me to the right tutorial.
    Thanks in advance Andrew

  4. Can i control 24 volt steppermotor with the 1.6?
    and how do i set that voltage?
    And if i have steppepper motors that are at different voltages how do i solve this?

Leave a Reply

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