Today we're going to talk about how to install multiple types of fan voltages being 24 volt
12 volt or 5 volt on the BigTreeTech Octopus Pro now this also applies to the BigTreeTech
Octopus version 1.1 so I'll walk you through this in a second now I'm going to turn this fan
over in a second just so that you can see the blades moving now keep in mind
that I had to use this fan because my other fan was broken so you'll be able to see this
turn hopefully if I do this correct so there's a couple of things we need to learn real quick
now I've replaced the jumpers over here for the jumper caps to red jumper cap so you can see
better but there's three levels that you can set them to right now they're default 24 volt
there's also 12 volt and 5 volt up above over here though is the main voltage for the rail so
I'm setting it to 24 volts for the PSU or power supply but you also have the option
for 12 volts and 5 volts for this rail so you'll be able to actually vary the voltage right here
so to do this we're going to go to the manual for a second and we're going to see what it looks
like inside of there so over in the manual you can see right here that it's fan and proximity
switch voltage settings down here they talk about the actual settings so the 24 volts is right here
then it's 12 volts then it's 5 volts then they talk about the rail over here it's 24 volts
over here it's 12 volts and then finally you have 5 volts so if you've seen my tutorials for the
automatic fans on the advanced configuration this is going to be slightly different
but I'll give you an understanding of how you can set variable fans in your configuration
so it's going to be slightly different so I'm going to be actually using g codes for this
so I'm going to be using the M106 to set the fan speed and the command is going to be P106
P and then it's going to say which fan and then the speed of the fan
in this case is going to be S and then the speed I don't know why they put t here but okay
we'll figure that out some other time so in order to set this up what we're going to have to do
is understand where the fans are so I pulled up the actual configuration for the fans for the
octopus pro and you can see that there's fan number zero to seven but a better way to
see this is actually with the original octopus where you can zoom in and actually get a clear
picture of this so as you can see it's fan zero all the way to fan seven but remember
fan six and fan seven are direct power fans so you can set those with the jumpers above right here
and they give the order of them they also get the one over here which I'll talk about in just
a second in the actual workbench so let's go back over to the table and take a look at this
so as you can see we've got the 24 volt set we're going to be using a 24 volt power supply
so what I'm going to do is I'm actually going to adjust fan 0 1 and 2 for our different voltages so
this one I'm not going to move but I'm going to move this one so I can set it to 12 volts
then I'm going to set the 5 volt band fan excuse me right here and then I'm going to
plug each one of these in so I'm going to start with the 24 volts which is going to be right here
then I'm going to do the 12 volt and this one might be kind of fun to plug in
and then finally the 5 volt which will be right over here now I've tested this with a multimeter
so in theory it should work no problem so let me weight this down real quick so that these are
out of the way so you can see and I'm going to pop the drive out so I can actually program it
so there's not much programming involved but I'm just showing you the process like always so that
we can run through a common way to do this so I'm going to put this in a USB reader and I'm
going to plug this into the computer you may hear a beep now I'm going to actually plug in
the power and if you haven't noticed before I like to put the color of voltage on the actual screw
so i can avoid plugging this in wrong now I'm plugging in the actual power for the actual motors
we're not going to actually be using them but I just want to do that to keep them out of the way
and I'm going to plug in this one as well this is the main power
and then the actual ground for it now there has been some debate several times
during my tutorials where the manual might read something else initially and then the board says
something different always go by the board first or check with the manufacturer because
if there's a difference between the manual that we just looked at and the actual board
it's a good thing to understand what those are so let's go over to the computer for a second
and I'm going to bring up VScode I'm going to click on file then I'm going to open folder I'm
going to go to my downloads folder and open up my marlin folder my next Marlin folder then select
folder inside here what I need to do is set obviously my default environment because it's
the default for the MEGA2560 and I also have to set my motherboard so I'm going to go to
marlin then I'm going to go to source core boards.h I'm going to search on octopus
and as you can see we're using the pro so I'm going to highlight that and copy it we're also
going to make note of what chipsets we can use now the current chipset I'm using is the STM32F4
which is right here so it's going to be 446 and the reason we know that is the center chip on
the board will be our MCU or CPU as some people call it and I'll have this writing on it that
tells us which environment we're using for our chipset but I'm going to minimize this
and source then go to configuration.h I'm going to search on motherboard and I'm going to paste
it over the ramps configuration next I'm going to change the serial port to negative 1
and then i'm going to go over to the advanced configuration and we're not going to be doing
what we've done in previous tutorials where I show you the automatic fan so there's nothing
really to change here so next what we're going to have to do is set up the platform io.ini
so we're going to minimize the Marlin folder for a moment go over to the ini
folder and we're going to find our chip set which is the STM32F4
inside here we're going to search on Octopus
and as you can see our chipset is either for the regular Octopus or the Pro
and our environment is going to be this and the reason we know this is based on the STM32F446
so let's go back over here and paste the default environment in here and then we're going to click
clean because there was a previous build that was in here for the MEGA2560 and then we're going to
build it with the check box now keep in mind if it fails on the very first build try the check
box down here a second time because sometimes things build out of order if you do see a red
marking of some type in here it usually says you have a compiler failure so you'll have to correct
the very first one you see because the other ones might be a cascade of errors based on that so
once this completes what we'll do is we'll go over to the dot pio folder for the BigTreeTech Octopus
version 1 and we'll find our firmware.bin we'll right-click and say reveal in file explorer now if
you haven't noticed before there's a FIRMWARE.CUR this is the actual build that completed and
installed based on this one so we're going to send this to our D drive and just so you know
if you ever want to reload FIRMWARE.CUR you can rename it to firmware.bin
and use that also for multiple configurations of the same type
so I'm going to pop out the drive in a second and bring it over to the configuration I'm going
to place the drive inside for the SD card and I'm going to plug it into load this may take a
few seconds you'll see a flashing light in this section once that's completed which it already
has because you hear the ding on the computer you can unplug it and normally when you run it
off the power supply you're going to remove this jumper and place it right here plug this in and
the board won't have power at the moment so we're going to plug it in and this will power the board
once the board is powered up we'll go over to Pronterface and we'll actually configure
it so inside Pronterface you can see that it's on com port 1 because I had it open before the load
and sometimes you'll actually see the COM port if you've already worked with it but
if you have not what you can do is this you can go over to your regular desktop and you can type
device manager and once device manager comes up
you can go to your com ports and verify that it's connected so I'm going to change this to 15
and then I'm going to connect and now that we have that set up what we're going to do is test the
fans so in order to do that we'll use the gcode M106 then we'll say which fan it is by saying P0
this the 24 volt fan and then the speed we'll say S200 and we'll press enter so watch the fan
so as you can see it's now running now if we want to test this for the other fans we can
change the P0 to a P1 and then press enter that'll be the next fan over and that one is now running
now let's try the 5 volt one which is going to be P2 and press enter
so as you can see all the fans are running so now we can actually turn off fans by saying M107
P0 and then we can hit enter and hopefully this will turn off the fan
otherwise we have another command we can try
so it looks like it turned off the first fan now let's try the second fan
over here so it's going to be P1 and we'll press enter and let's try the final fan
which is P2 so I want to take a moment to thank my patrons for helping make this video possible
I'll put a link in the description if you're not a patron yet
so that that can help offset the cost to make these tutorials and part of my time
and everyone else be safe get vaccinated wear a mask and thank you very much
you