Install Octoprint | Ender 3 V2 Firmware Update | Wifi 3d Printing

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
good morning this is irv shapiro with the dr vax channel and today we're going to take my new ender 3 that you see here in the background this is an ender 3 version 2 which is really a delightful printer a little hard to assemble you can look at the assembly and learn more about that in the video up above but i'm really enjoying this printer there are a couple of negatives a couple of concerns that i'll point out that i found as i've used it more but today we're going to kick it up to the next level by making it accessible remotely over wi-fi and we're going to do that by installing octoprint into a raspberry pi and connecting to this printer now we're going to do this using the most recent software available in terms of tools and the raspberry pi hardware and we're going to do it in a way that you can follow for both a mac and a pc so stay tuned and let's learn something together [Music] now to make this project successful we need a number of things we need some tools and software available over the internet and we'll go through upfront what websites we're going to use and then we need some hardware the first thing you'll need is a raspberry pi this can be a model 3 variant of the raspberry pi or a model 4 variant i'm using the newest model 4 and one of the reasons is the price is almost the same and you get a much faster processor in addition to additional input output ports but because you have a faster processor it will be possible for octoprint and we'll give you some more background on octoprint in a minute for octoprint to be used with more advanced plug-ins and i'll explain what those are so you need a raspberry pi now the next thing you'll need is a power supply i recommend you buy a power supply specifically made for a raspberry pi the power supplies for the raspberry pi 3 have a micro usb connector the power supplies for the raspberry pi 4 have a usb c connector so it's a more modern connector one of the nicest parts of buying a raspberry pi from canikit is when you buy them as a kit they give you the power supply of the raspberry pi optionally a case um they also give you a little switch so there is no power switch on a raspberry pi so you put the switch on the end of the power supply and then it gives you an on off switch for your raspberry pi i like that a lot now in addition you need a usb cable to connect to your printer the style of usb cable will vary depending on the printer specifically the printer end might be a micro usb connector might be a printer style usb connector so you have to check that ahead of time but beware inexpensive usb cables such as this micro usb cable that i found in one of the drawers behind me that probably came as a charging cable with some device will not often work they won't have all the right pins connected they won't be wired properly so if you use a cheap usb cable and you go to connect to your printer it doesn't work it might just be the cable so this is a higher end branded cable specifically for data and power finally optionally you're going to want a camera one of the nicest features of octoprint that we'll look at is the ability to watch your prints now i've used a range of logitech cameras i haven't found one that doesn't work so you can get a low end logitech camera for about 30 bucks that will be more than adequate this is a higher end logitech camera probably an 80 logitech camera i think this is a 930 or a 920 but pretty much any logitech camera works in fact there's a list on the octoprint website we'll look at the activeprint website in a moment of cameras that are supported now let's look at the software and we're going to do that by first looking at some websites together then actually installing the software to show you the step by step the first website we're going to go to actually has nothing to do with octoprint but just as a real advantage of buying a creality printer let's go to the creality website and you'll see here the reality website is quite attractive nowadays creality has really been stepping up their game they have a wider range of printers their printers are more professionally produced and even their website is more professional so if we go to their website and we click on the right hand side to support and we go to download and this is creality.com this is their china corporate site and if we scroll down we'll see pictures of various series of printers on the bottom you'll see various manuals i'm going to click on ender series and remarkably you'll see here the firmware updates for all of the ender style printers and the ender 3v2 printer which is the one i have behind me already has three files here it has a copy of what ships on the original sd card it has a file listed as latest firmware and then it has a file listed as bl touch firmware now the size of the file for the bl touch firmware and for the latest firmware are identical i did a quick binary diff they also came out as identical i might not have done that right so it may be that the latest software has bl touch capability if it senses a bl touch because i did install the latest software firmware including i tried the bl touch firmware and there were no additional options on the menu as an example an additional option to adjust the z offset which is something you'd use of a bl touch now let me clarify a point about ender 3 version 2s they have a built-in bootloader that's the software that loads firmware off an sd card in this case in order to upgrade the firmware how does that work you put one of the dot bin dot bin files on the sd card now it's not clear whether you should have only one or you can have multiples i've always put only one but here's the trick if the dot bin file has the same name as the last one loaded it will not reload it so if you want to change let's say you're building your own version of marlind and you want to change the firmware you should name each version differently now let's start looking at octa print octa print is an open source project primarily directed and built by one woman she's done a remarkable job on this project and has designed it with a plug-in architecture that means there's the core octoprint software and then you can add in additional components you'll see it's listed as providing full remote control and monitoring 100 open source gina the author of octoprint has a couple corporate sponsors that help support the project i think if you're going to use octoprint you should become a patreon of genus the software is updated often and is just a remarkable addition to the 3d printing community now if you go to the download tab you'll see a octoprint build called octopi that's the version of octoprint for a raspberry pi there are versions for windows and linux and mac and you can run other machines i'm not sure why you'd do this this is about um i don't know 25 35 40. computer depending on which model you buy and it seems like a really good investment to have your 3d printer controlled by a standalone device so you don't have to leave your computer on so you don't have to worry about what else you're doing on your computer octopi is the raspberry pi build for this computer so we're going to download octopi and the version here is 0.17 i've already done that but that's the first step you're going to want to do is to download octopi now how do you get octopi onto this computer well this computer has an sd card a micro sd card one of these little tiny things and you have to put the software in here but you don't just copy it to here you have to put an image file on here that's a file organized in a way that a computer can boot can load from it now it used to be that you could use a variety of third-party software one was called etcher for this purpose and that worked fine there were different ways to do it but the raspberry pi foundation the people who support making these boards have produced their own software now called the raspberry pi imager for doing that that's what we're going to use so if you go to the raspberry pi download page it's raspberrypi.org downloads you'll see there's an imager for each of the operating systems and that's what we're going to use to put the software on this board so let's get started i'm going to put this into my computer i have an adapter here because my macbook pro does not have an sd card built right in i've already downloaded this imager so we're going to run this program you can see it comes up here in the middle we're going to choose an operating system now the imager is designed to load software on the raspberry pi to make it more or less a general purpose computer and they give you a number of choices i'm going to choose use custom but one of the things i want to point out here is that a lot of the newer 3d printers that use 32-bit boards require that their sd cards be formatted precisely in fact 32 format that's a particular format for the sd card and you have the ability to do that with this imager so this integer is also a very good way to prepare an sd card for your 3d printer so i'm going to say use custom and in my software directory here i have the 0.17 image that was a zip file i double clicked on it to open it up it opened to an image file i'm going to select that file so you can see here that there's the octopi image we're about to burn the imager is smart enough to only show you sd cards it won't show you your hard drive now i guess there are some cases as an example if you were running it on a machine where you used sd cards usb drives of various types those could show up so you have to be careful one way to be careful is you'll notice this is showing up as 31.9 gigabytes that's the correct number if i take that out and i say choose sd card you'll see nothing shows up so a good way to make sure you have the right card is always to first click on choose your sd card and see what shows up then add the sd card you're going to be working with click on choose sd card and the new addition to the list is your sd card so i'm going to collect select that and click on write it's telling me that's going to start from scratch that's fine and now the imager does use protected features it may actually use some mac utilities underneath i'm not actually sure but it does require a password to work on a mac i'm not sure about a windows machine it might require a password there also and now i'll get a message that it's writing okay our image has finished you'll see the screen here we're going to take and remove the sd card from the reader and now that i removed it i'm going to put it back in and then our local machine in my case a mac will see it as a disk drive so we're going to put it back in okay we've placed the sd card back under our computer and you'll see it shows up as a file here as a disk i'm going to double click on it and inside here you'll see there are a whole bunch of files we're really only interested in two this file right here octopi wpa supplicant.text and a new file we're going to create which is called ssh dot nothing ssh so we're going to need to edit this file it's a text file don't open it in word it will mess it up if you open it in an editor like notepad on a mac that's designed to edit rich text files it will mess it up you have to open it in a editor that's in text mode that means it's an editor designed to working with programs i'm going to use adam now you can use notepack on the mac in text mode you can use notepad on the on a windows machine in text mode i'm going to use something called atom so if i go back here to my browser this is a wonderful editor that's available for every operating system it's completely free and so that's the editor i'm going to use so let me right click on this and say open with atom and inside here you'll see a bunch of setup commands for your network i'm going to show you the specific lines you have to change up here where it says wpa wpa2 secured if you have a standard home based office space network this is the section you want you want to remove all of the pound signs pound signs say that line is a comment ignore it from this section it is very important that you remove the pound signs from all four of these lines then in the ssd quotes you want then in the ssd quotes you want to put the name of your network your ssid and next to psk you want to put your password and then you want to save the file that's going to allow your raspberry pi when it boots to read these parameters because we've taken off the pound signs and to automatically connect to the network then we can close it now i'm going to go to my atom editor and i'm going to create a blank new file and i'm going to say save as ssh and where i'm saving it on my boot device that is going to allow you to connect in a terminal mode to your raspberry pi if the ssh file is missing it won't allow you to connect in terminal mode so that step might not be necessary depending on your build it seems the most recent build it might not be necessary okay now i'm going to eject that file i'm going to take the sd card out of this computer i'm going to put it in this computer now the sd cards are interesting because they go in upside down so i put that sd card in and now we're going to connect this to power power it on and then connect to this device so let me get those steps done here so connect it to power i'm going to attach my usb cable that i'm going to use for the printer it doesn't matter whether i attach it to the blue usb 3 or the black usb 2 connectors usb 3 is faster but it doesn't really matter now you'll notice on the end of my usb cable i'm going to put this little device what is this little device that actually goes on this end well the raspberry pi when it's plugged in and you're probably going to leave it plugged in most of the time supplies power over the usb cable that power on some printers will cause your lcd screen to be on all the time now i'm not sure if that's a problem or not but the folks at th 3d have produced this wonderful device it sells for all of seven dollars that blocks that power so that there won't be power going to your lcd screen okay i'm going to go over here to the side and connect this all together okay i've plugged in my raspberry pi i've plugged it into the ender 3 version 2. i've even plugged it into a usb camera a logitech camera and i'm using it on a little tripod but you can use it on a variety of attachment stands that will attach it to your printer and now i'm going to access the raspberry pi the first time so i go to octopi.local any address that ends in a dot local is a special reserved address for your local private network and octopi is the host name so let's see if we can access this and i'm using chrome but you could use any browser this is not browser dependent and we'll see we're going to load a setup wizard now if this doesn't work and it actually didn't work this first time i did it i went off camera and fixed it i typed in the wrong password for my wi-fi network so you have to double check that network configuration if you get that wrong it won't work so i'm going to go through this and click on next yes i'm going to use access control so we're going to give it a username and i'm going to give it a password and whoops let's make sure they match there we go and then we will keep access control enabled and that's my password saver that came up in the corner we're going to keep access control enabled click on next i'm going to allow the author gina to have some anonymous data about how i use this so i'm going to click on enable and next now i'll scroll down to the bottom i'll enable the connectivity check click on next i'll enable blacklist processing that's sort of a spam a virus protection feature click on next now i'm going to use this box for a variety of printers i have eight different printers here around the drvax lab and i only have three raspberry pi's that i use for this so i move them around i'm going to make this my ender style printer i'm going to set the print bed as rectangular and all of my printers are at least 220 by 220 by 220. i can always change that later the axes i'm going to leave these defaults in place and the hot end you want to make sure your nozzle diameter is set to 0.4 leave that in place and now i'm going to click on finish now if everything is connected properly i should be able to click on connect here and it failed well it failed for a very good reason i didn't turn on the printer so let me roll over here and turn on the printer give that a second to boot and click on connect and now i'm connected to the printer okay now that we have octoprint up and running let me take you through it very quickly because we could spend a whole half hour just talking about octoprint maybe we'll do that in a future video so across the top here you'll see the displays for the current temperature of the printer control will show you your camera now let me move this camera over a little bit here so we can see and you could position the camera anywhere you wanted um control will show you what's in the camera once you've loaded a g-code file you'll see your g-code here and this terminal window is very interesting what you're seeing now are reports of the temperature if i type in here a gcode command m155 s0 it will turn off that temperature reporting and what this says is report temperature automatically and the s0 says turn it off now octoprint is sending an m105 when it sees that automatic reporting is off it sends an m105 to get the temperature we're going to suppress those messages by clicking here now in this window i can talk to the printer directly as if i was a g-code file so let's do an m503 and what you'll see i'm going to get back here are the basic parameters of my printer okay so we've learned about the temperature screen the control screen the g-code viewer and terminal time lapse is octoprint has the ability to take snapshots of your print over time and those are done with the attached camera and you can do those in a variety of ways you can do those every x amount of time or every time the z-axis changes so when you go from layer one to layer two to layer three now how do we go about printing a file well the first step we have to do is open up a slicer i'm going to use cura here i'm going to take and let's say i want to slice this pop can opener find a file on a slice i'm going to slice that file which is the act of converting it to g-code i'm going to save that to a known location and now i'm going to go back to octoprint click on upload navigate to the directory where i saved the file find the file open it up and you'll see it'll go to the top of the list if i click on the print icon here it will be loaded into this section shows me it'll print in 19 minutes and now i can go to the gcode viewer and i can actually see that i'm going to click on sync with job progress so that's going to only show me the g code as it prints a particular level i can go to the temperature screen here and i can see the progress of the printing both in percent over here and i can actually see the temperature as it ramps up i can go to control once again i can see the printer if i went to terminal i'd see and scroll down to the bottom and click on auto scroll i'd see the different commands that are being sent to the printer and that's basically it for octoprint so you slice your file you upload to octoprint there is one other capability that'll make this even easier if you're using cura you can click on your printer name click on manage printer and you can say connect to octoprint it will ask you for the octa print instance i've already connected so i have the api key you can get the api key from octoprint from the setup panel or with this request function i'm going to connect to the printer and now when i slice a file i'll have an option here for print without octoprint in addition if you're connected to octoprint in cura you'll actually be able to see your printer and see the percentage of completion of the print now let's go back here for a second i'm actually going to cancel this print because i want to do one more thing i want to show you one more thing i want to show you how to secure this instance of octoprint to do that we're going to use an ssh emulator ssh stands for secure shell it's a terminal protocol i use terminus because it's available on both windows and macs we're going to open up terminus i'm going to go to my octoprint.local instance that already configured with by clicking on new host i'll go over here and i'll show you what i've configured it's set up as an address of octa pi local username pi password is raspberry username pi password is raspberry i'm going to double click on that to connect it's going to tell me that this is a different raspberry pi than the last one we connected to on octopi local i'm going to say that's okay and now we're logged into octoprint and we're logged in on terminal emulator so now i want to configure this to be more secure so i'm going to type in a command sudo that says run in secure mode raspi config and the first thing it's doing is prompting me for my password so i'm going to type in raspberry and now we'll see we're in a terminal window so i'm only going to do a couple things here the first thing i'm going to do is go to change password i'm going to put in a new password so now my password for pi will no longer be raspberry it will be the password i've entered in and the next thing i'm going to do is go to localization options and select change time zone and i'm going to select the proper time zone us in my case that would be central click on finish and now i'm all set so i've changed the password on my raspberry pi so it's more secure and i've changed the time zone so it's the correct time zone so if i type in the command at the command prime of date you'll see it's the 29th that's the right date and we have 10 53 which is the correct time so now i can type exit to exit out of that program that will be important because when i'm looking at completion times or are looking at log files on octopi i want to be correct well folks i hope this was helpful i did find one interesting thing that you're going to want to know about and it's a limitation of this new ender3 version two and that is there's a command used in a lot of software called the m117 g code command and you type m117 and then a text string and on many printers it comes up on the bottom line of the lcd i tried that here there is no bottom line on this lcd now there's space on the screen they could have put it in i'm not sure why they haven't it gives you an okay back that it works but right now software that relies on m117 to put things on the display will not work however the m300 command which beeps does work so just a little hint about this new ender3 version 2. folks i hope you liked this video and give me a thumbs up if you did subscribe to the channel share it with everyone you know go to forum.drvax.com to discuss what you've learned here or ask questions from other viewers of this channel and let's continue to learn things together
Info
Channel: Make With Tech (MakeWithTech)
Views: 95,649
Rating: undefined out of 5
Keywords: 3d print, 3d printed, 3d printer, 3d printer review, 3d printing, 3d printing for beginners, 3d prints, install octoprint, installing octoprint on raspberry pi 4, octopi, octoprint, octoprint and astroprint setup, octoprint installation, octoprint on raspberry pi 4, octoprint raspberry pi 3, octoprint setup, octoprint setup tutorial, raspberry pi, raspberry pi projects, setup octopi, wifi 3d printer, wifi 3d printing, Ender 3 V2, Ender 3 V2 Firmware Upgrade, raspberry pi 4
Id: 8fLINOpzGGI
Channel Id: undefined
Length: 31min 41sec (1901 seconds)
Published: Thu Jul 30 2020
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.