Ender 3 V2 - Marlin Firmware Upgrade - 2022 - Chris's Basement

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
we're back again with our creality ender 3 version 2. today we're going to take a little deeper dive into the firmware [Music] hello everyone chris here and yes i've been doing a little work on my creality ender 3 version 2. in the last video we added a bl touch sensor to make sure that our first layer goes down as consistently as possible but now i want to do just a little bit deeper dive into the firmware there's a lot of great reasons why you should update the firmware on your 3d printer but especially on a lower cost machine like the ender 3 you want to make sure that all of the safety features you need are enabled some of these stock don't come with that and using something like straight up marlin or reprap you can be ensured that all of those safety features will be there plus there's a lot of features that aren't enabled on a stock machine that are available in marlin some of those will make your print more consistent or enable you to print just a little bit faster and with having that full source code after you've compiled it you can go back and tweak it however you see fit whenever you want and then reload it to your machine so it's a win-win all around so that's what we're going to do today we're going to compile marlin for our industry v2 get it uploaded and see how it works with the little fancier screen that you get on the version 2. so let's jump over to the computer and just to pick up where we left off this is our existing firmware version that we did in the last video you can check it out here in control info we're on marlin2085 which isn't a bad version but there's more current versions to be had again we got that version from the creality site their ender 3 v2 download page that's this version right here there's a couple different versions contained in this package depending on what you'd like to do with your printer add auto bed leveling filament detection whatever you want so that's the one that we used we have made no changes to the firmware that lives on the screen yet and we want to load full blown marlin on this 3d printer now it really doesn't matter which screen you use which layout you want to go with you'll see that more as we get into it we want the newest code so we can use as many of the features as possible they're all baked into the newest version so go to marlinfw.org to grab your firmware you can download it right here and the easiest way in my opinion to set up marlin is to use an example all of those are available in github there's actually a link in the firmware if you'd like to check that out but github's a pretty easy place to go get it you just go to the marlin github go to config if you want to use bug fix you can you can jump back to the stable release up here just go to 2.1 and grab this zip file that's going to be all the example configurations you ever wanted to use and after you have your download complete i just like to expand marlin and then make a brand new marlin set for whatever printer i'm working on that's mostly because of the video so that i can share them with you you don't have to do this but i think it's handy to keep versions whichever ones you want to alter just so it keeps them separate so 2.1 is my base version that's been untouched i made a copy of that and i'm going to name this one ender 3 underscore v2 now i have an older version of the v2 but we want to start from scratch this version hasn't been altered at all yet so we'll open that up and we'll head into the marlin folder we have a configuration.h and adv.h again that haven't been altered but we want to use our example version so i'm going to open up another file explorer and i've already extracted it but this is our configurations release for 2.1 this is all your examples we'll open that up go to config examples creality and there's a version in here for enter 3 v2 they even have a version if you'd like to use the e3 turbo or the mini e3 version 3 we are going to stick with the creality version 222 for now note there are files for the screen in here but we'll come back to that in a moment we're just concerned with the firmware on the main board at this point so we'll go into v222 and i'm gonna go with the one that has the marlin ui again you'll see more on the screen here in a moment but we're going to stick with that we're going to copy these configuration files we'll just copy them and we'll paste them right here and we're going to overwrite the default ones so just hit replace now we have a version that's tailored towards the v2 it won't take much altering at all to get it working on our printer also note if you use something like one drive to synchronize your files you might want to do this ahead of time and let one drive do its thing before you open it up in visual studio code like we're getting ready to do if all the files aren't there if they're in the middle of doing a sync it might cause problems so let all of those bake let them get synced and then come back it's a great time for a cup of coffee once we have our example overlaid we're going to head to visual studio code vs code is what i like to call it i have a video on how to set all this up it will be in the description but from the file explorer tab up here we're just going to hit open folder we'll head to downloads into our marlin 2.1 folder we'll open up the one we just made enter 3v2 and you can see it contains the marlin folder you want to open the folder that contains the marlin folder inside vs code so we're going to jump back one level highlight this guy and hit add it's going to start populating it with platform io if you've done it correctly you should see a dot pio and vs code folder up in here you also want the marlin extension you can install that just go to the extensions tab that is in the vs code setup video that takes a lot of the guesswork out of compiling for different boards but for now let's expand marlin and we'll open up configuration.h and the configuration file again is already ready to go for your android 3v2 if you haven't made any modifications if you have now is the great time to go ahead and update your esteps maybe if you trade your extruder whatever it might be we do have a bl touch so i have to change it a bit but just go ahead and search for ender you can do a control f and you'll get down to ender 3v2 oem display and by default it uses marlin in landscape so you could actually take the screen flip it on its side and use it that way but there's all kinds of different options for using this screen for the first go-around we're going to do this a couple of times i'm going to comment out the marlin landscape and let's just go with the creality lcd the first one here just so we can check them out side by side but you even have options to go ahead and use pro ui you might have seen that before and the jacob myers version i've seen other videos on that as well or just regular marlin and portrait we're going to take a look at all these but before we do that we do have to get set up for our bl touch so let's just search bl touch with this default version we're using we're just going to uncomment bltouch we have to scroll up just a little bit because they do allow you to probe manually in this config you can only have one so we'll comment this out now remember when we did the bl touch we did remove the z minimum end stop we're using the bl touch as our end stop at this moment on this board the creality 422 they have a set of probe pins but they also have a z minimum end stop pin that we're no longer using so we need to alter the configuration to make that work so by default you have z min probe uses z min in stop pin we're going to comment that out because we're going to use a different pin for that probe for the zman endstop we're also going to take the comment off of use probe for z homing we are going to use z safe homing as well but this is good to enable so it always knows that it's going to use that probe to home with like we're doing here and then down a bit we need to tell it what pin this probe is using for its z min and stop so we'll take the comment off of this line by default for ramps it's set to 32 but if you need to know your probe pin which one this board is using you can just go into the configuration and find it so we'll go to the pins file we'll open up source go to pins and then you need to know the processor that you have the 422 board does use a stm32 and it is an f103 i believe it doesn't matter all the f1 families should be the same so you can expand that one and there is a creality version 422 file but if you open that up there's not much in here because most of these boards share the same pins so you're going to have some includes so we really want to look at the pins creality v4h and it's up here at the top if you scroll through here you're going to find the pin you want to use you can see it's well-defined z-min probe pen there's even a comment out here that's the bl touch and pan so it's pb1 that's the pin on that probe pin on the board that you saw in the last video that you're going to want to use so back to configuration.h for that z min probe pin just type in pb1 that way the firmware will know which pin gets triggered when your z in stop is triggered and we can keep moving down the config if we scroll down a little bit further we will need to set those offsets just like we did in the last video remember we are to the left and to the front of the nozzle with our probe so we're going to do a negative 50 and i measured it at about a negative 8 and y we already had our z offset so i'm just going to mirror that it was a negative 3.17 if you haven't calibrated that yet go back to the previous video you can do it on the fly it's no big deal auto bed leveling by linear should already be set because they did have manual probing on and you can go ahead and update your grid points if you want to we're doing currently three by three it's a nine point grid i'm okay with that for now a lot of people like to do seven for 49 points and we're also going to take the comment off of z safe homing i usually don't use z-safe homing but on a printer like this where your probe is out to the left of the hot end it's off the bed when you try to home z so you want it to home in the center that's what this option will do for you so we definitely want that on this printer i'll also go ahead and update my filament settings for pola and abs and make the usual updates like i do like with nozzle park i like it to the front right so if that's where you want it this is what it would look like and just looking through everything else should stay exactly the same as what it was in the example mostly it was just stuff to get our bltouch working from here we can save this we can head to our marlin extension and hit the build hammer it's going to pull in all the boards that this board could be most of the time the first option here is going to work again this is the 4-2-2 version so we'll just hit build now depending on the screen that you choose you might get some errors because some screen ui versions aren't going to support some features remember we selected that default creality lcd ui it doesn't allow lcd bed traming so we can just take that feature out so anything it's complaining about lcd bed leveling bed trimming you can just go to configuration.h and search for that here's lcd bed leveling we'll just comment that out and right below bed tramming we'll comment that out now for the different uis if you want to use something like this come back and try it again in a different version it might work there but depending on the version you use you might have to lose a feature here and there so we'll go ahead and build again so the compile was successful just doing those few tweaks allowed us to compile with that ui now i just wanted to do that to show you the error and make sure that we had a successful compile i do want to make a couple of other quick changes so back to the file explorer up here we're going to go ahead and look at configuration underscore adv dot h and i'm just going to search for advanced because linear advance is not enabled by default if i want to use that i want to be able to so we're going to take the comment off of linear advanced and i'm going to set the k value to 0. remember you have to calibrate linear advanced but it will be enabled if you'd like to use it and then the other thing we need is the advanced pause feature we're going to enable that this will allow you to do things like m600 or pause the printer and change the filament and it's going to do a sequence to enable you to load that filament or back it out whatever you might need to do i did update all the values for advanced pause to use an ender 3. it's going to be pretty close as long as you have around the same length of bowden tube if you'd like to try my config it'll be available in the description so those are pretty much the only two things that i'd like to add we should be able to go ahead and build again and then load it up on the printer marlin build build one error i should have remembered that we did not too long ago is that now if you use linear advance if your jerk is less than 10 it's going to throw an error there is a way to get around that you can do it in linear advance if you'd like allow load e-jerk levels i'm going to go that route this time because usually i set the jerk value in the slicer anyway so just note there's more than one way to get around the air you can either adjust jerk or go this route i just thought that'd be worth mentioning case somebody else hits it so we'll build again so the build was successful that time we're ready to load the bin file on our sd card there is one thing i wanted to mention before that about sd cards when i was doing some of the testing for this video i was using a 32 gig card and i was having problems with the screen and the board picking up that bin file i switched to this cheaper 8 gig card and it works just fine so if you're having problems switch out your sd card just to give it a check but our sd card is loaded ready to go we want to make sure it's fat32 we'll do a quick format and then here in the marlin extension you can go directly to your firmware just click under here in the blue now for this creality board it doesn't really matter what it's named just as long as it wasn't the same as last time and marlin has done a good job with this because they put a date and a time stamp on it so you're never going to have the same one twice so you can just copy this one don't even have to change the name for this printer paste it on your sd card and then you're ready to go ahead and load it on the printer then we'll just load the sd card in the slot here on the board and we can power up our firmware flash we have booted up but you'll notice something isn't quite right here remember we did go with the creality ui version in marlin but the words are off it just doesn't look quite right if you go to info it does say we're using firmware version 2.1 but definitely a few bugs here and there and that's because the firmware on the screen has to match what you're using on the board and depending on which you i you use it's going to be just a little bit different but marlin has you covered so we'll just update to the d win set that marlin suggests so we'll go ahead and power down screen is just on two pins you can just slide it up and it'll come off you can take out the plug and then you have four three millimeter screws you need to pull off of there the back of that screen bezel just pulls off and you have an sd card slot that's where we're going to load the firmware and we're just going to use the same sd card that we're using to load the board firmware it shouldn't matter at all it's a different set so back to our configuration examples like i was showing you before where we got our v2 files configurations we're going to config examples creality and then back to that industry v2 you can see we have those lcd files like i was showing you before everything in this dwin set should work for all of the different ui versions that you want to use with marlin so just take this whole folder right click and copy it and put that on your sd card now we can take our sd card load it onto our screen just plug it back in for now because we'll want to get that sd card back out of there and boot up when it's flashing the screen firmware it's going to be blue when it's done it's going to turn bright orange it only takes a couple of seconds now we're orange we can turn the printer off remove the sd card and let's just turn it back on for a quick test and now with that new d win set all that craziness we saw before with the creality ui is gone everything's working as expected and to run marlin and all the different uis that's really all we have to do that's all the firmware we're going to have to flash to the screen so we can go ahead and power off and put our screen case back together and i wanted to make that just a little bit more up front there's a lot of great ui versions for the industry v2 that utilize this screen what marlin has done is tried their best to go with 1d win set that will work with all of the different feature sets that you can use they're not going to have the flashy look of something like the pro ui with all the different icons but it will have all the features that it includes and try to get the layout just right like you would see on one of those uis so i just wanted to make that a little bit more apparent it might not have the same look or feel but all the features will be there so now back to marlon for the fun part we saw that d win creality lcd set that's the one that we just loaded up it's the default one but it's cleaned up for this version of marlin but you can also do all of these other ones the pro ui the jacob myers version the marlin ui and portrait and landscape so you can even change the direction of the screen and how it's mounted if you really felt like it now basically these are just going to be different feature sets especially with pro ui and the jacob myers version it's just going to give you a compilation of all the features that these two versions have not necessarily what it's going to look like so for this example let's just say that we don't want to use the creality lcd version we like pro ui and all the feature sets that it has again you're not going to look exactly the same but you're going to get the same type of feature list if you're used to using pro ui maybe you just want to go back to stock marlin because it might be a little easier to alter we'll just uncomment pro ui recompile and upload it to the printer so when it's done compiling you don't even need this d1 set any longer that was just for the screen we just updated with our newest bin file onto our sd card and then we can take it to the printer and just to be clear we're just dealing with the firmware that's on the board we don't have to update anything on the screen again we'll power up and you can see now that we've switched ui versions over to pro ui it's a little cleaner it looks a little different but pretty similar to the stock reality one that we were on before but now you have all these added features so if you go into advanced for example there's a whole lot more stuff that you can do with this version including changing all of the colors of the screen you can change it up all kinds of different stuff in here it even has some diag which is cool to see this would be something like an m119 command you can do it right from the screen with this version now we're not going to go over every feature that the screen has it's got pretty much anyone that you'd ever want but i do like one the most over all the others and that's in mesh leveling you can use this screen and its color capability to see what the mesh looks like so all you got to do is auto build mesh it's going to run a g29 command and when it's done you get this really colorful readout trying to give you an idea of where your mesh is you can see red over here we have a .03 difference up here in the front we've got a green one a 0.01 and having these features right here on the screen a lot of them will actually take the place of things like octoprint something like bed visualizer of course it's not as robust but at least you have it right here on your printer that's pretty cool so both the pro ui and the jacob myers version are great options have a lot of great features but of course i can't do this video on marlin and not use the marlin version so we'll go with the marlin ui portrait so we can just leave the stock mounting on our screen let's check that out so i've got the marlin ui version on the sd card let's power up and after the update is complete we get the most awesome marlin logo in full color and the classic marlin ui i just can't get enough of this screen it's clean i like what they've done with the font plus it's just like the old school 2004 taking it just a little bit retro it's hard to believe i just said retro on a 3d printer but let's ignore that when you head in it's all the classic options motion temperature configuration everything is here as you knew it before if you're a classic marlin user it's going to be exactly the same plus it has a really nice clean look and everything in the marlin firmware is going to act the exact same way now you just have the option to be able to update the ui with whatever feature set you'd like to use of course i'm a little partial to the marlin version but even with slicing we talked about it in the bl touch video we did recently it's going to work exactly the same because it's just stock marlin we had to add some commands in our start and stop g-code before you would do the same thing with any other marlin version and just to touch on that same information again if you want to do that auto level before every print here's your start g code this is prusa slicer you can just put your g29 right here you can also use the same mesh over and over if you wish with the m420 commands same exact thing for things like linear advanced and crucial slicer you can actually do it in your filament g code since filament is going to change the linear advanced value i would put it in here it's going to be different for petg than it is for pla so there it is we have upgraded our creality into 3v2 to the newest version of marlin firmware 2.1 and we can be ensured that all of the safety features are intact and you can continue to use all the amazing features that marlin firmware has to make your 3d printer even better so hopefully you found this helpful in hacking or modifying your ender3v2 that is it for today and i'll see you really soon on the next one you
Info
Channel: Chris Riley
Views: 84,624
Rating: undefined out of 5
Keywords: 3D, printer, Printing, 3D Printing, 3D Printer, ChrisBasement, ChrissBasement, Chris'sBasement, Chris Basement, Chriss Basement, Chris's Basement, ChrisRiley, Chris Riley, benchy, 3dbenchy, 3d, Ender 3 V2, creality, marlin firmware, marlin, creality ender 3 v2
Id: 7i7PnBZ6cnM
Channel Id: undefined
Length: 25min 20sec (1520 seconds)
Published: Wed Aug 10 2022
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.