octoprint ender 3 This is a topic that many people are looking for. bluevelvetrestaurant.com is a channel providing useful information about learning, life, digital marketing and online courses …. it will help you have an overview and solid multi-faceted knowledge . Today, bluevelvetrestaurant.com would like to introduce to you How to Install Octoprint on a Creality Ender 3. Following along are instructions in the video below:
“Thanks for tuning in today. We re going to show you how to equip your your printer like the ender. 3. With octopi for wireless printing.
So in front of i have basically everything we re going to need to equip this printer with octopi or off to print. We have the core of it being the raspberry pi. We re using the pi 3 b. Yeah.
Model b. So this has wireless built right in and we have a appropriate power supply for it. So. This is a 5 volt.
Two and a half amp in this case. Three amp would be even better. But i think they recommend that for this model you have at least two and a half amps it happened to come in a kit with the raspberry. Pi we also have the pi.
Cam 2 i think is a. 21 version 21. And that comes with about a 15 centimeter or so cable ribbon cable. That connects the camera to the raspberry pi.
But as the gantry moves up we re going to need a little bit more than 15 centimeters in our case. Our camera is going to be attached to here and to do that we ve got a couple pieces for a bracket that snaps on we ve got the enclosure for the camera itself. It s two piece little snap on and then we have the case for the raspberry pi. This is actually a really nice case will include the links to the disk in the description below for all of these.
But this is a two piece kind of clamshell style. And there s perfectly cut grooves and little standoffs here that go between the usb connectors and ethernet connectors that kind of just holds everything nice and secure. And there s a provision to knock out these little slots here and bolt it right on to the top of the rail. So that gives us plenty of mounting options.
We ll kind of figure out where we re going to put that in a second to allow us that extra distance between the camera and the raspberry pi. We ve got a 1 meter. Extension cable. And you had to buy this separately and our kit also came with little heat sinks that will put on the chips on the raspberry pi.
Just make sure everything s staying nice and cool and then we ll use our laptop to flash. The distro called octopi. Which is a raspberry pi distribution. That s pre configured for octoprint makes it very easy to get up and running and we ll go over how you configure that to connect your wi fi right out of the gate.
So let s get started on the computer so to start go to octoprint org and click on download at the top and that will take you to this page download whatever the newest distribution of octopi is save that to your computer. While that s going grab at your eye. Oh. I ve had extremely good.
Luck. Success. Flashing sd cards with images using this so hio and download and install that application. We ll just wait a couple seconds for the download to finish here.
So the downloads complete. It s a zip file and in my case. Just for ease of use. I m gonna put that on my desktop.
So then we should just be left with an img file and while that s going let s open at your i o minimize this so we re gonna select the image and this is the img file that we just put on our desktop. There we go and it s already detected that we ve got a sd card in there it s just an 8 gig card. That s good enough and we ll hit flash and don t be alarmed. But this takes a little while it will flash and then it will verify okay so it s flashed and it s verified and we re not gonna flash another right now the first thing we need to do is navigate to the sd card.
Which we may need to remove and reinsert. It for it to be detected..
There we go so in here. There is octa pie wpa supplicant. This is the file we want to edit. And i shouldn t do this in notepad because it doesn t understand the newline characters so open it in something like notepad plus plus.
We re just a fantastic death text editor so in this text file you need to uncomment the type of network that you re using we re using a wpa2 network. If you re using wep. Which shouldn t be you would do that down here and you uncomment it by removing the pound symbols or hash marks from the beginning of each of these lines that put in your ssid. So we ve already got ours in here.
Put in your wi fi password. We ll put in ours. Later and then down below. I think we should also uncomment the type or the country that we re in so i will do this and then once you ve put in your key here just hit save and then you can close that now that we ve got that configured and saved we are done on the computer.
And we should be able to pop that into the pi and it should automatically connect to the wireless network. So i ve placed the raspberry pi in the space here and i m just going to insert the sd card into the slot in this case pins on the sd card facing up and then we can plug it in so. We should see this led here a little green. One start flashing rapidly the red ones just power the green means.
It s reading the sd card. We ll give it a little while to fully boot up and connect to our wireless network. Well that s going i ll just take the opportunity to install the heatsinks now. If you ve got like your fingerprints or something.
If you ve been touching those chips. You might want to wipe them off with rubbing alcohol just to make sure that these stick well there s no oils left on them. This is fresh out of the package. So we should be good here.
We go so that should be booted up now and we ll now want to see if it s connected to our network and to do that it s a little bit different depending on every environment. But on your computer go to windows key r. If you re on windows and type in cmd or you can just go to the start menu and type command prompt in here type in ipconfig. And typically your default gateway.
Here. This will be your routers address so you will go to that address in a web browser and that should list all of the clients on your network and that s going to vary depending on what router you have so you ll have to figure that bit out on your own so in our. Case the routers ip. Address as you saw was 192.
168. 21. And there s our bell. Router.
And in this case. We just click on the network tab and it shows on the 5 gigahertz wi fi you see in. A device. Called octa.
Pie i wonder what that is. So this. Address. 1921682010.
Nine two dot. One sixty eight dot. 2. Dot.
208. Now. If your network supports bonjour. You d be able to type in octa pie dot local.
I believe and it would find it with any luck. We should be presented with the lock to print web interface..
There we go so now we re going to go through the setup wizard. It s probably a good idea to password protect your printer with username and password especially. If you are going to open it up to outside of your local network. So if you can connect to it from outside your house doesn t be a good idea.
I m just gonna put using a password in there go next. So we can just skip this this is just checking to see if it has network connectivity. What should we do next. There we go so if there are like rogue plugins they can get blacklisted.
I m gonna enable that let them handle which plug in should be blacklisted and i m not going to use octoprint for slicing especially on something like a raspberry pi. I think it would be a little slow and i am always uploading pre sliced g code files anyway and our first printer so we re going to call this our uniquely ender three all right. I call this whatever i want and then maybe i ll put the model in here is under three call them both the same that s fine. So now we re going to enter the dimensions of the printer.
So that s 220 by 220 by 250 in the case of an ender. 3. The origin. We re using lower left so 0 0.
Is at the front left corner. It s a rectangular bed it s also heated it s gone next all right couple warnings finish okay so on the landing page here we would want to make sure that we can connect to that printer and to do that we re gonna have to obviously connect the raspberry pi to the printer right now we have an out got the two via the usb cable to the front of the ender three so let s take a moment and do that so we ll connect the two of these obviously. This isn t its final resting place. And we ll have to spend some time routing this cable.
But ultimately. It s just going to be plugged into the front here just as if you re connecting a computer to it full size computer to it and then we should be able to connect to the printer in the web interface. So now we should be able to just leave these at auto. If you really want to you could change this to 105 200.
Let s just leave it at auto. And let s say it automatically connect and we ll see these with any luck. It should there we go reset the printer as it establishes the connection. We heard the bl touch in our case click and now we re connected.
So you know that if we unplug it or restart. The raspberry pi it should automatically reconnect and here we re presented with the temperature graph historical temperature you can also set the temperature to these right now they re both off and we can control the printer by moving it around this is where we ll see our webcam in a few seconds. We can move the bed forward and back. We can move the hot end side to side first.
I believe we have to home them here. We go and we can choose how much we move at a time. We can move 100 millimeters at a time. So let s move it forward 100.
Instead of tapping it multiple times. So let s get this web cam stream loaded. We re gonna start connecting all the parts for the printer. So this piece here just clicks on to this plastic cover.
Here. The one side is left to be flexible and that s also got a hole where we can screw it in to apply more pressure. If we need just looks over like that and you can slide that you know up or down to suit your needs. And then the back of the pie cam case has this spot.
There. That will go in the middle. Here. And then the screw will go through the two of them.
And you can angle that to suit. You and then the pi cam itself just gets wedged in between like this the ribbon cable comes out this little slot. Here so this will be fun. I m sure routing mix in there.
So the way these work is there s a little bar. Here little gray dark gray bar..
In this case. You slide. It out slide in the most blue at the end of this ribbon with the teeth. The pins facing away from you and then just press that bar back in and it will put pressure down on those pins.
And then i think this might actually be easiest to just feed this all the way through here. So it s an extremely tight fit. As i mentioned you may want to scale. It up it s a pretty quick print.
Though it fits perfectly fine until you realize that you have to have the cable connected first and then it makes you kind of put it in on an angle. So this hole. Really should be a little bit bigger you could probably just drill the hole out and that would give you enough clearance or snip away some of the inside of the bracket on the backside of that hole. But either way having it fit tight is better than it flopping around and then the two of these just slide down on top of each other the way i find its easiest is to kind of snap them on and then you can slide it the rest of the way once you have this slid on it s going to be very difficult to get it off without breaking it.
But luckily. It s a quick print like i said so that was way too tight of a fit i couldn t get it to slide all the way on so i m gonna reprint this maybe 2 larger or so it takes about 25 minutes or so to print. But for now this will do and i ll just friction fit this in here. Ideally you would add a m3 bolt to secure the two together that ll do for now and then let s unplug the raspberry pi before we connect anything to it this ribbon cable in the same fashion that we connected it to the back of the camera is going to go into the little ribbing cable slot on the raspberry pi.
Let s untangle this so on the pi. There are two ribbon connectors this one is labeled camera. It s near the optical and audio out pull the dark bar up. I think.
It has a piece of protective film covering the slots pull that up and then the bare pins will face away from the dark slot and press that bar back down perfect. So now with any luck. When we power this back up. We should be able to in a few seconds once it s booted see the webcam feed on the octoprint web interface alright so we ve got the camera set up the lens on the camera itself needs to be rotated to change the focus.
It s a fixed focus lens. And don t be afraid to rotate it quite a bit before you re able to you know read the text on the b touch right. Now you can actually use keyboard controls instead of these controls here it ll show you what keys do what so now you can actually just use the arrow keys to control the printer. So now if i hit left or right moves that direction in the bed up and down move that way that s kind of neat back on the main page on the left hand side this is where you can upload your g code.
Files. You can create folders to organize them by job or category or something and then use it upload you can also drag and drop from explorer window into there. So if you grab any one of these g code files. You can drop.
It there. And that will save it directly to the raspberry pi and then you would just hit the print button here if you want to load and print that file now there are a bunch of plugins for octoprint and the plug in manager. Here. So you can add visualization tools for your bl.
Touch mesh bed leveling. You can add octal apps for fancier time. Lapse photography. Now.
But i m not gonna cover the plethora of those that are available. So now we can use the printer without being tethered by cables. So now i m gonna spend a little bit of time tidying this up i need to route this cable through the case. Not exactly sure how i m going to do that let s make sure everything is unplugged and let s pull that bar up that we use to pinch the cable into the connector and pull the cable out this thing keeps wanting to tangle so what i ve decided to do as far as mounting goes is i m going to take this case.
Which has provisions for two bolts to go through here. I m going to use m4 bolts and the hammer nuts and i m going to bolt. It into the side of the extrusion. There so that plate will be sitting right like that the nice thing about having here at least in my eyes is that the power from the raspberry pi and the power for the power supply are both in the same corner of the unit.
It doesn t get in the way of any of the cables that we have going on there. And we should be able to easily route the usb cable from the front of here right over this cross rail and into the front of the printer. And so it d be a pretty clean install i hope so to do that we re gonna have to remove this turn this back on the power supply. If you remember from assembling the end of three is just two bolts through the upper extrusion.
There and then the entire power supply will be free so right now in the bottom bolt. Is actually obstructed by the x axis..
They re slowly turning the coupler will allow you to raise the gantry. I m careful because after this there s nothing holding the power supply on and this is one of the first release models of the under three. So it has the 3d printed cover instead of the injection molded cover that they switched to those. There.
So now we need to feed this ribbon cable through in this case. I think i m just going to use one of the vent holes here the vent holes are actually perpendicular to the direction of the connector. But that should be fine you want to make sure that the ribbon cable is not creased or anything. It s pretty flexible.
But you just don t want to have like a sharp crease in it and then i will screw this together. So i ve made sure that this cable is as untangled as possible and i ve at least for now decided to slide it underneath the stepper. There s just a little bit of clearance. There and there s no there s no tension on the cable at all and then underneath all of the bed wires.
And the hot end wire assemblies and then the leftover bit of cable will just end up sitting like like that out at the back. So i ve already pre threaded. The hammer nuts on the m4 bolts and you want to make sure that your bolts aren t too. Long because otherwise the bolts will hit the bottom of the inside of the slot.
Here. Before the hammer nuts have actually tightened against the top of it and i think i m just gonna kind of align. That with the back so now we can reassemble the power supply. We ll have to route the cables kind up here.
Now that s all back together. We should plug in the raspberry pi and after plugging in the raspberry pi. It s probably not a bad idea to zip tie. The raspberry pi power cord to the power cord for the printer itself just to kind of make sure that it doesn t slide out and then we ll probably get a black cable.
So that it blends in a little bit better. But we re gonna connect this into the front of the printer and then route it to that back corner over here and we can probably go right over top on this side. It might be a good idea to print. Some little clips that clip it into the slot on the side of the extrusion maybe even on the side of this rail here to keep it nice and neat.
So you want to make sure that it will never get tangled on like the wheels or anything. Even just zip ties would be fine as long as you re not obviously a zip tying it to this because the wheels run inside the track. But you could zip tie it to the crossmember to keep it pinned down. So that it is out of the way and then plug this end into the front of the raspberry pi.
So it is definitely a good idea to make sure that that case this particular case is all the way to the back. Because there s barely enough room to get the usb cable in this blue usb cable is a lot thicker than it needs to be so getting something thinner will also make that whole ordeal. A little bit easier. And this ribbon cable for the pi cam.
Could probably use some work as far as routing is concerned because it wants to kind of coil itself up. We just want to make sure that everything stays out of the way and doesn t get caught on anything here alright. So there you have it we ve got a raspberry pi connected under three. We can submit our jobs wirelessly.
We can record time lapse recordings. Once we print that bracket again. And we can monitor remotely and control. It remotely as well.
Which is kind of nice especially. If you have a long print might be going well here at work or away from home. And you can just check in on it and make sure. It hasn t come loose or you don t have kind of a mess of spaghetti.
And if you do you can you can cancel it at that time remember like and subscribe and leave a comment down below let us know what else you d like to see in the future thanks for watching. ” ..
Thank you for watching all the articles on the topic How to Install Octoprint on a Creality Ender 3. All shares of bluevelvetrestaurant.com are very good. We hope you are satisfied with the article. For any questions, please leave a comment below. Hopefully you guys support our website even more.