Octoprint Raspberry 4B + 4K webcam guide and the latest great plugins

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
today we're gonna set up octoprint on a Raspberry Pi 4 with a 4k web cam and review the latest and greatest plugins [Music] [Music] I'm sure there's a lot of people that agree with me when I say that octoprint can really enhance your 3d printing experience well recently I set up russ berrie pi/4 with a 4k web cam and it's got an even better in case you're wondering what octoprint is don't worry we're briefly going to cover that then I'll show you what you need to buy and how to install it which is really quite easy and doesn't take too long at all after that we're gonna add to our list of previously covered plugins by checking out some new ones from the octoprint repository if you watch to the end and I haven't covered one of your favorites make sure to leave it down below in the comment section octoprint is a piece of software that can greatly enhance our 3d printing experience let's start with a brief overview of how it works we have our 3d printer and we can connect directly to it from a computer with the USB cable typically for configuration and firmware updates but you can also print directly in this way quite often this is referred to as tethered printing I actually did this for years back in the day but these days most computers have Windows 10 and that means automatic updates with automatic reboots which ruins your print job so instead of tethering to a laptop we tether to a Raspberry Pi which is the most popular platform for octoprint they're compact power efficient and compared to a dedicated PC a lot lot more affordable it's also easy to connect either a USB webcam or a PI camera and when we couple this with inbuilt Wi-Fi we can still run alpha ready printer from our mobile phone or laptop on a local network or if you set it up correctly anywhere in the world octoprint can be highly customized and that includes plugins which will be the subject of the second part of this video if you'd like to have a go everything you need is pictured here and if you're using a new Raspberry Pi 4 there are some specifics you need to get right the newest at time of recording Pi or model B comes in three flavors and that relates to the available RAM the cheapest one gigabyte typically goes for around forty five US dollars with an extra five dollars to upgrade to two gigabyte and the most capable four gigabyte going for around $60 to power your pie you'll need a decent 5 volt power supply with the minimum output being at least 2500 milliamps it's also worth noting that a pi/4 uses a USB type-c connector instead of the previous USB mini next up is an SD card and I'd recommend a minimum of 16 gigabytes this acts like the hard drive on a computer so you want to avoid an older card that might have limited data transfer speed you want to protect your Raspberry Pi and if you like you can buy a case but I decided to 3d print one for free and I really like this one it looks nice and there's variants to suit different types of cooling fans as well as step files if you want to modify the geometry as this article shows it's highly recommended to have a cooling fan for your PI 4 here I'm running a 30 millimeter 5 volt fan and as you can see it plugs directly into the Pires GPIO pins assembly if this case is really straightforward you bolt the fan into place put the PI in the middle to up the four screws on the bottom and it's done you have a really cool looking case quite rugged it's also a highly functional in terms of its cooling and all of the cutouts for the ports line up perfectly if you prefer you can buy packages with most of these components just double check every item individually finally the webcam is completely optional I'm using a fairly expensive Logitech Brio but I haven't found any USB webcam that isn't compatible as yet we're all ready to install so we need to download two things first is win32diskimager and that will write the octoprint image to the SD card the second is the octoprint image and we're going to come to the download button from the main page of the website and then click on download octa-pie err with whatever the latest version is when the Raspberry Pi 4 first came out it wasn't automatically compatible with octoprint I've linked this thread in the description and it shows the great effort by the community in adapting their software to get everything working as easily as you're about to see I've opened up win32diskimager and there are other programs that do the same thing and I've unzipped and selected the image file for octopi the other thing I've done is to select the correct letter for the SD card in my computer you need to triple check this because if you select something like a portable hard drive it's going to be overridden and the information most likely lost forever after that we come down to write and if you're absolutely sure you have the right letter click yes after a few minutes you should hopefully get a message that the write was successful and you should also have the SD card pop up with a bunch of files inside if you get any messages to format please ignore them as you'll have to start again if you do this there's two files we need to edit and it's quite straightforward just make sure using notepad plus plus the built-in windows editor will destroy the file the first one we're going to open is octa-pie WPA supplicant there's only one change to make here and that's to put in an SSID as well as passcode for your local Wi-Fi network after you've done this save the file the other file we need to edit for our webcam is octopi txt fairly close to the top we'll have a line called camera USB options and by default it might have a hash in front of it you need to delete that for this line to be interpreted by octoprint what I've put in here are the specs of my webcam with an R for resolution 4096 by 2160 or 4k and I've specified the framerate at 15 if we click on this link just above we'll be taken to a very helpful page that tells us exactly what we can enter for webcams as well as a myriad of options available for Raspberry Pi cameras just one more change and that's at the very bottom of the file we want to make sure the last two lines are uncommented and change the web route 2 dot /ww and the camera HTTP options as empty this will give us more control over the webcam and that helps when trying to record awesome octa lapses when we're done we can save this file eject the SD card and insert it into the Raspberry Pi you can also connect your 3d printer as well as your webcam the blue ports are 4 USB 3 depending on your webcam it might need the standard black port for USB 2 after you power up the Raspberry Pi you'll need to login to your router to find out its IP address and while you're here you might like to configure it so this IP address is permanent finally we can enter this IP address in our browser in my case it's one ninety two dot one six eight dot one dot eight you'll then be presented with the interface for octoprint I've already done some customization here but you can switch to the control tab and then see if your webcam loads after this click the connect button and hopefully it will successfully connect to your printer if it does you're all up and running you can now remotely control your printer including manual movement and starting and stopping print jobs there's the install done and I found the performance is really quite snappy compared to a Raspberry Pi model 3 be a big thanks to everyone in the community who has made it so easy to get this going on a Raspberry Pi 4 now let's turn our attention to some plugins I've made video similar to this before but the good news is great plugins keep on being developed so let's see what I found recently before we start on the list the way to install any of these is to come up to the spanner for settings come down to plugin manager and then click the get more button you can now search for anything you like alternatively the repo pages will be linked in the description and if you need to manually do it you can copy and paste this URL into the URL box whether you're doing this or typing in the name event clicking install is how to start proceedings typically after installing each one you're going to need to restart the PI and this is one area where the raspberry pi 4 really shines compared to the 3 be our first plug-in is called resource monitor and it gives you an output of how your raspberry pi is doing similar to the tools found in Windows after its installed there'll be a tab along the top information updates in real time and this can be really handy if you think your PI might be overheating or if performance is suddenly diminished maybe you can use this to try and determine a reason our next plug-in is called octoprint dashboard and one thing I never really liked was held the default screen was for the temperature however this plugin adds a new dashboard tab and when your printers connected it'll give you a nice overview of what's happening as you can see from the preview if you are actually printing you'll get a lot more information this plug-in does have a dependency display layer progress and this needs to be installed as well next we have better heater timeout and this is aimed for when we heat up the hot end or the bed perhaps to change filament and then we forget about it it might also help at the end of a print job if your energy code doesn't shut down the heater automatically to configure it we need to come to settings and scroll down and go to better heater timeout here we can set the amount of time for the heater and the bed as well as any before and after G code that we want to run in the event that we forget to turn the heater off the next one is a perk for those using the increasingly popular Purusha slicer and one nice thing about the Purusha mini is that it displays a snapshot of the model before selecting print from the LCD with the Purusha slicer thumbnail plugin we can add this functionality to octoprint for any printer as long as we slice with Purusha slicer there is a tiny bit of setup work we need to come to help show configuration folder and then edit in any file if you've added a completely custom printer that'll be in the printer folder anything else will be in the vendor folder firstly we need to open the preacher research dot any file and we're going to do ctrl F and search for thumb that'll give us a line that we need to copy I can now scroll up until I find the printer that I want and it's important that it doesn't say printer model but instead just printer I can come to the end hit enter and then paste in the thumbnail code now when I save the file and restart Purusha slicer anything I've sliced in pressure slicer will add a thumbnail button and when I click it I'll have my little preview come up very handy our final plugin is called continuous print and does as the name suggests it'll let us stack up multiple jobs and print them one after each other without the need to physically attend the printer to configure this we'll need to come to our settings and then click on continuous print and it does give some example G code that would be run at the end of each print job in this case lifting up moving out of the way allowing everything to cool down and then moving the began tree forward to knock off the object this sequence is something you would need to turn specifically for each printer if you want some examples on how to do just that check out this linked video go make anything as you can see you could run multiples of the same print job or mix them up and it's easy to change the order after you've got them in place this should prove quite handy for people running their printers 24/7 which I think there's been a lot of lately so there the plugins that I like but I'd like to know what plugins you think are the latest and greatest so please leave them down below in the comment section thank you so much for watching and until next time happy 3d printing g'day it's Michael again if you liked the video then please click like if you want to see more content like this in future click Subscribe and make sure you click on the Bell to receive every notification if you really want to support the channel and see exclusive content become a patron visit my patreon page see you next time
Info
Channel: Teaching Tech
Views: 157,618
Rating: undefined out of 5
Keywords: 3d printing, 3d printer, 3d print, 3d printed, octoprint, raspberry pi, pi 4b, pi 4, raspi 4, guide, tutorial, lesson, step by step, webcam, 4k, performance, fan, gpio, cooling, resource monitor, plugin, plugins, configuration, config, setup, prusaslicer, thumb, thumbnail, continuous, make anything, prusa, mini, mk3, timeout, dashboard, plugin manager, logitech brio
Id: h--RLbvQKYc
Channel Id: undefined
Length: 12min 38sec (758 seconds)
Published: Tue May 26 2020
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.