- Hey guys, so today we're
gonna get OctoPrint set up on one of my newer
acquisitions, the CR-10S. I've already printed out
a case that I want to use, and I have an SD card, and
I have the website open. So what I'm gonna do, I'm
gonna do a step-by-step of going to the website and getting the image onto an SD card, and then getting OctoPrint set up and plugged into the printer. So you ready to do some learning? Got your thinking caps on? So here we go. Ready, let's go. (upbeat electronic music) Hey guys welcome back. Welcome to Where Nerdy is Cool. If this is your first time here, welcome. If this is a regular visit for you, thank you for being a regular visit. And all of the cases, if you're not a subscriber yet, please mash that button over there. Click the bell too so
you get the notification, so you don't miss any of my videos. So thanks, so today I
have a Raspberry Pi 3, and what I've done with my other printer, is that all of my printers have
an OctoPrint Raspberry Pi 3 set up, they have the webcam,
and they're plugged in, and that's how I do a lot
of my remote monitoring, and in a lot of the cases,
that's how I do my prints. And it's such a super
convenient way of doing things. The software costs nothing. The Raspberry Pi 3 doesn't
cost much of anything. Essentially all your
investing is the Raspberry Pi, a good webcam, and the SD
card, software, and off you go. So I'm gonna try to take
some of the confusion out of this for you. 'Cause I know some people
have thought about doing this but they're not sure. If you already have OctoPrint great. If you have thought about getting it and you're wondering what it's all about, well here we go. So, in my hot little hand
here is the Raspberry Pi 3. I got a couple cameras set up here, so I'm hoping it's at least in focus. I bought this from Amazon.com. I bought one of the bundles
that includes the power cord, has the Raspberry Pi 3. It also includes the SD card inside. This one also has a Heatsink on there. If you really want to be crazy if you're really worried about you know, cooling off the processor, you could even put a 40
millimeter or bigger fan on this, and it would definitely
make a decent impact. But for what we're gonna do the included Heatsink is just fine. And then it also came
with a 32 Gig SD card and I have the little adapter here so I can put this into my computer here. The other piece of the
puzzle is the webcam. Now this one I'm using, this is the C615 and what you can do on the website. You can google you know, webcams known to work with OctoPrint, and down here they have a whole list of tested makes and models. And I've had really good luck
with the Logitech web cameras and this particular one,
I just gotta find it here, C615 is right here, and it's
tested on the Raspberry Pi 3. It even gives us the
parameters to enter in. So if we want to have an HD picture and how many frames we want to have. Someone has gone ahead
and done that work for us. So that's where you can find
out if the webcam you have, or the webcam you're
looking for will work. The other thing too is a lot of people 3D print their own brackets
for their web cameras, and I've done it in some cases, but I really love these small, little, flexible, gumby-like tripods. To me they're usually
$9, I usually pick one up every time I go to Best Buy. There just extremely convenient and perfect for what I'm looking to do. But if you have an enclosure, or if your having a special setup, where you really want
to have that camera up and out of the way someplace
else, that's reasonable too. So just because I'm doing it this way, doesn't mean it's the right way, it's just it's works well for me. So first steps, so what we're
gonna do here on the computer, we obviously have to go to OctoPrint.org and this has all the information. You're gonna get a popup here and we can close this out,
where the developer is asking for your support, and if you
wish to do so that's fine. Of course, we got the cookies popup here. And we're gonna scroll
on down to download. And this is where we
download and setup OctoPi. And let's see, they're letting us know, you know what hardware they recommend. The Raspberry Pi 3 is
really what they recommend. And there are other ways you can do this. They have other packages you can download. But for this video we're gonna focus on using the Raspberry Pi 3
because that's the most popular. So I'm gonna download this. And I have downloaded
this before in the past, but I am going to go here. I'm gonna make a new folder, and let's call it, let's see Where Nerdy is Cool,
and we'll call it, OctoPrint. Because I have a couple of
different folders already. And we will go ahead and download that. And it's a fairly sizeable download. It's 563 megabytes at the time of filming. So depending on your internet connection it may take a few minutes or it may take a little bit longer. I'm up here in the boonies of Maine so my internet speed is only
a hundred meg per sec so. But we'll give it some
time to download that and we'll get ready
for the next few steps. Okay, while this is downloading there are a few additional
tools that you're going to need. I'm doing this on a Windows 10 laptop so the additional pieces of software you're gonna need to get this configured. You're gonna need the, trying to recall that name
of it here on my desktop, the Win32 Disk Manager, Oh I'm sorry Disk Imager. What that does is that's
gonna take this image file that we're gonna decompress
here in a moment, and that makes it so that that image can be put on the SD card, so that's one piece, and
I'll try to put a link here in the bottom where you can get that. Additionally, you're gonna want to have PuTTY, PuTTY is a Telnet program. That's gonna be how we
communicate with the Raspberry Pi once we have it connected on our network. Speaking of network, another
thing we're gonna want is, we're gonna want a port scanner. And the one that I use is called Angry IP scanner, and when you install that it will scan your network and will determine where the Raspberry Pi is broadcasting on your network. That will give us the IP address so that we can use PuTTY to connect to it. The other thing, you don't really need it but I have Notepad++,
it's a free download. Anytime you're messing with stuff, for example configuration files, you can use Notepad just fine. Do not use stuff like Microsoft Word, or any of those other packages, because what they're gonna do, they're gonna add weird
characters to the text. You just want raw text. So definitely use Notepad or Notepad++ when we do the configuration setup. Okay, while we were speaking
my wallpaper changed but here is our folder and
that is the file that we need. And we need to decompress this. So this is a ZIP file,
you need to decompress it. Now Windows has a built
in decompression utility that will do this. I happen to have 7-Zip, I really enjoy it. It works very well for me. So I'm gonna have 7-Zip decompress this into a folder for us. Okay, and now that that
folder has been decompressed we can see the contents, and let me stretch this out. So there is our image file,
which is an img extension. So what we're going to
do now that we have that, is let me shift this
over here a little bit. We'll get the, and it's gonna ask for permission to run. Okay, so this is the Win32 Disk Imager, so what we need to do,
is we need to tell it the location of the file
that's gonna be the image. So in this case, let's see,
I had put it on my desktop. I had called it Where Nerdy is Cool. And that is the image file right there. We're gonna open that. Now this next part be very careful okay. So what we're gonna do
is I have my SD card here and I have the drive in there. So let's get this fella put in. (computer chiming) Okay, well this works out well because it sees the SD card
as E drive, which is perfect, and right here we want to make sure that that's where it's going, is the E drive. Now I haven't heard of this
happening to anyone recently but sometimes what could happen here, this device sometimes could
default to your C drive, which is your hard disk, and obviously you don't wanna overwrite whatever you have on your
laptop with OctoPrint. So just make sure that the
device is your SD card, that's the destination for this. So what we're gonna do is
we're gonna click Write. We are sure, and that is going to begin
to go through the process of writing the image to the SD card. (computer chiming) Okay that has been completed. (computer chiming) And we can exit this and no
we don't want to format it. Because windows now sees
that drive available it wants to format it. Say no to that. Okay so the next part is, while we still have the SD
card plugged into the computer we need to go into the configuration file, and what I will do is I will
plop back into OctoPrint page and it tells us what we're doing here so. We have to configure our wifi connection by editing octopI-wpa-supplicant.txt on the root of the flash card. Do not use WordPad or TextEdit those editors are known to mangle the file making the configuration fail. We're gonna be using Notepad++ in my case and this is a change from
the previous version. The previous version you
would go to octopI-network.txt and that's different now. So they've made some improvements
on the network setup. I'm curious how that will work. Okay there's some of the
directions we're lookin' at. Alright, so now let's
go back and let's look, so now we're looking at the E
drive, which is the SD card. And what we want to do is right
click and edit with Notepad. Okay, so right here are the instructions. To use the file to configure
your wifi connections just uncomment the lines
prefixed with a single # of the configuration that
matches your wifi setup and fill in the SSID and
passphrase or password. So in my case what we have here is, on my router I'm using WPA/WPA2 secured. So we're gonna remove that #, and I'm gonna remove this #, and I'm gonna remove
that one, and that one. Okay, and the SSID of my network. So in my case mine is named Olympus and I'm not going to share
my password with everybody. So sorry about this part, so. Okay, well once that is done you're gonna go up to file and save and then we can close out. Okay, and now let's go
ahead and close that guy. We're gonna leave the webpage open. And in Windows 10 what you wanna do is you want to right click on the USB, and you want to eject
the mass storage device. That is a safe way to remove the device. Alright, so now we have our SD card, and on the back of the Pi,
the SD card goes in like so. It's a very, very thin, I know every now and then I look at these, and it's like where does the SD card go, but it's right there in the back. And then what we're gonna do here, I have a power cord here and let's make sure that we
have that set up properly. Okay, we have lights and blinking. Okay, so we're gonna give
it a moment to boot up and it takes about a minute
or two to fully boot. So what we're gonna do on
the computer screen here, we can minimize this stuff here, and what we have to do, we gotta find out where
on the network it is. So we're gonna use Angry IP scanner, and we're gonna tell it to
go ahead and scan my network. And it may take one or two
tries to locate where it is. But it will definitely
have, you know OctoPi dot et cetera, et cetera in front of it. I also have one plugged in
as well on my Ultimaker one, so that will probably show up in this listing as well too so. Alright so we have some stuff that came up but it hasn't quite identified what it is so let's discard this,
do it one more time. Got it, alright so this is the one we're lookin' for right
here, which is octopi.local and I guess the one from my
Ultimaker is not turned on, so usually that would be over here but the printer is off and it
probably has the Pi off too. But that's not important. So we are interested in 192.168.1.3 and I'll jot that down just
so I'll keep track here. (computer chiming) Okay, so that's gonna be
a alert, so that's fine. Alright, here we are. So we login as Pi, the
default password is raspberry. And voila, there we are. Okay so the first thing we need to change, is we need to change the password. So we're gonna do that by typing passwd. Okay it wants to know what the current password
is, that's raspberry. Okay we're gonna make a new password so, and we're gonna verify it. Fantastic, and what I can
do is I'll get outta here. Let's just open up a web browser here. 2.168.1.3, and that's gonna
give us the web version. Now we're gonna be
guided through the setup. Okay hello, alright I'm
just gonna use my usual, it'll be fine. And it'll tell you the passwords
do not match which is nice. So it's actually, I mean
you can read through this but frankly you do want
to have access control. You want to have a username and password to get in and out of your device here. And oops, that's a problem here. Sometimes you don't see
the full thing here. So we're gonna keep
that enabled, and next. Okay this is gonna be
the connectivity check. So it's gonna make sure it's
connected to the internet and we're gonna have it check every 15 minutes which is the default. That's where it's going to go and we can test it, and it's reachable. So we will go ahead and do that and then move to the next step. And if we're gonna use any of the plugins this is where you can allow
that or not allow that. So we're going to enable that and we'll hit next. Don't have any profiles for
Cura I want to import over. Okay the printer we'll
give this a name of CR-10S and I'll put down here, Creality CR-10S and I don't really need to
fill any of this stuff out because everything that
I send to the OctoPrint is already rendered and sliced
through Simplify 3D Cura so if I was gonna be using
OctoPrint to do some of that work I would set that all up here. But I don't need to do this. And they give you a couple of one. Never leave your printer
running unattended, and we hope you enjoy
OctoPrint, fantastic. So here it is, here is OctoPrint. Okay, so here's where we had left off. So I have the OctoPrint up and running on the Raspberry Pi 3. I have plugged in the USB to the camera as we showed earlier, so we had video, we got that working. I don't have the printer turned on but I do have it connected and of course because it's got a power source and such, you can see the display. The next step I want to show you, this is kind of an advanced setting and it's moved around a little bit since the last time I installed OctoPrint on a Raspberry Pi 3, but
it's still worth showing you. I don't want to confuse anybody, but recall when we went
through the Angry IP scanner, we were trying to find where
this device was on my network so I could have the IP
address and then log into it. Well, here's the thing. I have all kinds of OctoPrint
servers on my network so obviously it would be really nice to give it a custom name, so let's figure out how
to change the host name. So what we're gonna do, we're
gonna go into PuTTY again, we're gonna put in the IP address. And going to go in as I. Now I've already changed mine, but I want to show you where it's located. And it'll give away here is that when you log on
you see is pihatCR10S. So that tells you that I've
already changed the host name. That's fine, so to get into
the advanced configuration you do sudo and that is raspi-config. Now I say it's the advanced configuration, a lot of originally will be based on the instructions I've seen here. Everything is done right through the web. And it used to be there was more done through the Telnet client, but in an effort to make it easier to use, you know there's less
you have to do in here. So let me go in here, get
my password one more time. It used to be with
previous versions of this you would have to go
into the advance options and span, you had to do
the file system change so that it would take advantage
of the full system there, but now this version of OctoPrint
already does that for you. But in order to change the host name, that is here under Network Options. I believe it used to be
under Advanced Options but it's not there no more. And there, first option N1, is where you can change the host name. And we hit okay. And as you can see what I have
entered in there is CR10S, so when this broadcasts on the network. I know exactly which one
this is, so we'll hit finish. We're not gonna reboot
because we made no changes. And what I'll show you now
is let me go under Angry IP and here you can see, 192.168.1.3 that is now CR10S.local. So that, I know if when I'm
scanning through this list and I'm wondering you know, if you have multiple
OctoPrint servers running and you see multiple OctoPi on there, you're gonna wonder which is which. You can also see down here further that my Ultimaker2 is also sitting, it also has a OctoPrint server and that's the IP address it's sitting on, and the rest of these are just you know my network storage devices,
my router, and my desktop PCs. So that's how you do that
setup if you wish to do so. Especially if you're gonna have multiples of these devices running. So let's get outta here,
and let's get outta here. Oh yeah, I'm sure. Okay so we've covered all the big stuff. And as you can see here we are, we're back at the setup. So our next step, now that we have, you can look under control, we have the webcam, and there it is. And now that we have
all of this stuff going, what we can do, Turn the printer on, this is
gonna be a little bit loud. 'Cause I got a rattly fan. Now you can try the automatic
settings, Serial Port auto, Baudrate auto and see if it connects. And sometimes that'll work. And it detected it, how 'bout that. And what you'll see on the display is, I missed it with my GoPro here, you will see the system
kind of do a restart here. You'll see the logo come back, and it'll come back to the screen. So that's fine, now all we have to do now is for example, if I go into Simplify 3D, is I can prepare to print. I can save to disk. And what I like to do,
I like to keep a folder. And what I'm gonna do,
I'm gonna make a new one. I'll call it CR10S OctoPrint. I just like to keep track of what I'm sending to
the OctoPrint server. So there is that and that has been saved. So now I can minimize this, and now what I can do is
I can click on upload. And I can go back to
documents, CR10S OctoPrint, can upload this file, Okay, uploaded a few seconds ago. And then, I can click on print. There it's gonna go. And now that it's taken over you can see that it's starting to
adjust the temperature, for example the beds gonna
go to 60 degrees Celsius. The bed will go up to, I'm
sorry the tool will go to 215 and then when it does its probing the heat will be turned off in the nozzle, and then of course in order to print it'll heat back up again. But this should work out really well. Now other things you can do. You can control the printer from here. There's your controls right there, but right now it's loading a print, so it's getting everything warmed up. Terminal, that's another way of doing exactly what I've been doing
S3D for the machine tools. This is showing the data
going back and forth there. Have a timelapse, so I
currently have turned off. If I wanted to turn that on I could do so, but I would have to do so
before the print starts. And this is another setting I'll get back to here as a wrap-up. Now timelapse, this is where if you want to make those really nice videos that show timelapses of all your prints. This is one of those things
where you want to turn, and what I do is I set it to Timed, okay. You can do by Z change, there's
a few different settings you can experiment and try, but I like the timed ones, and I've pretty much left
everything here default. And then what I do is
I save it as a default, and save changes. So every 10 seconds that
things gonna grab a picture. So highlight you and click print. And then what you'll see on the graphing is you can see that the bed is heating up. Now the temperatures are a little high because again I imported
a print a few minutes ago. I kinda backtracked to
what I was doing here. But what you'll see is those guys will go up in temperature. And the other thing we
have going on here too is we have the camera, let's make sure that
it's out of the way here. Let's find a kind of a good position here. I like these little squishable legs here so I can get it lower or higher as needed. And we will let this print go. So when we come back,
we'll have the timelapse and well we'll see how
well everything worked out. (high energy rock music) Okay we're back and
the print is completed. I've shut off the printer
'cause it's really loud. And as you can see here on
the computer screen view this is the view from the webcam. I kinda hid it here when
I came back to the desk but so there it is. That's the view you would get and like I said it's a really neat setup. It works very, very well. I've been very happy with these things. If you want to look at
the timelapse we created, you'd go under the timelapse tab. And what you could do here if you didn't want to do anything with it you could keep it, or if
you want to delete it, that's what the trashcan icon is for. Or you can download it and that's what this
does here, now what I. Okay, so a couple of things I want to point out here
on this configuration. I just showed you the basics. This will get you up,
running, and using it, and that'll work great. If you want to get into
the more advanced features, I may do a video on that but I'm sure there's
other videos out there, or other articles that will
go much deeper than I have, just for the sake of brevity on how to get this up and going, and using some of the
more advanced settings that OctoPrint offers. The other item that I
want to mention is that if you're having difficulty,
if you're doing this and you're trying to get yours set up and you're having a real darn, just a darn hard time seeing
this thing on your network, if your wifi's acting up, or
you just don't know what to do, one of the first things you can do is reboot your wireless router. That said, I know that sounds kinda crazy but various routers have various issues with how many addresses
they hand out over time and most folks don't, well unless there's a power flicker, they don't reboot their router very often. And in my case it hasn't been
rebooted probably in months, and I was having difficulties
with my OctoPies. I had several of these
just up and stop working on the wireless network,
couldn't figure out why, decided to go ahead and reboot
the router, and they're back. So just a tip for you if
you're having difficulty with connectivity or if
you had some drop off and it makes no sense why. It's probably a good
idea, maybe once a month, to give the wireless router a reboot and that might solve a
lot of problems for you. Okay, so that's that, I just want to say thanks for watching. I've noticed our numbers
are going up, up, up from subscribers, to views, to watch time, and stuff like that. And that's awesome, I
really appreciate you guys you know checking me out,
and following my videos, and commenting on my stuff. I really enjoy the feedback, even if it's bad feedback. But like I said, I've been
really enjoying doing this and the feedback I've been getting from the YouTube community
has been fantastic. If you wish to support my efforts I have two ways you can do so, PATREON.com, I am there,
Where Nerdy is Cool. And if you wish to do a donation via PayPal on my YouTube homepage there's a donate via PayPal link up there, And if you wish to throw me
a couple bucks for coffee or more, or a lot,
whatever you want to do, I appreciate it, so
thank you very much for, well first of all for watching my videos and well sitting through it this far. So anyway, we're gonna wrap up. I got a whole bunch of stuff
I'm gonna put together here to get this video complete
and out to you guys. I thank you guys for watching and until the next one, remember this is Where Nerdy is Cool.