Automated Enclosure Part 1 - Active Heat - OctoPrint - Chris's Basement

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
printed solids next-gen safety enclosure they're lightweight but still really durable they come in a couple different sizes there's lots of room inside for your printer they even come with a hookup so you can add a filter if you want to but it would be nice if there was just a little bit more automation to this config hello everyone chris here printed solid sent me over this enclosure a couple of months ago along with a bofa print pro 1 and i've been using it quite a bit at least a couple times a week i use it with my prussian mark iii i print a lot of asa abs even p-e-t-g if the walls on the print are really thin that can help it succeed now these enclosures are designed as a passive enclosure so there's no heat inside and it does a really good job keeping the enclosure ventilated so it sets around 32 to 34c when your bed is running around 100 or 110 and the parts come out really well and just as an example here's a fan duct for one of my tool changer heads this is prusa asa if you don't have an enclosure a lot of times these can pull or break loose from the print surface you can see where it was printed on the print surface here it's very smooth no pulling at all and the layers are very consistent and when printing a little higher material like asa or abs an enclosure sometimes is almost mandatory dependent on the part because you will get layer separation and as i mentioned with petg this is an extremely thin part if you're printing an open air or there is a draft sometimes you'll get splits in here where the layers won't adhere to one another you don't necessarily need an enclosure for petg but depending on the part it might be helpful so for most jobs in the hobby based printer market as it is this enclosure does a fine job at around that 32c mark but it would be really nice to have some add-ons to this enclosure meaning i'd like to add active heat it definitely needs a little bit more light in there we can add octoprint so we can control a few different things there's a whole list of things that i'd like to add to this unit but this is going to take a lot of time so this video is going to be two parts we're going to build up the enclosure so it's automated we can control it from octoprint and we're just going to check out a lot of cool different items along the way so let's start with the easy fix now if you work with a 3d printing enclosure you do a lot of prints inside one the first thing that you notice that you need to address is how much light is inside there's a lot of different things with 3d printing when you're working with different materials you need to be able to see the first layer really well as well as how the print is turning out so this enclosure really needs a lot more light and for this project i have elected to go with this led strip they're very affordable they are 12 volt and for this whole project i'm going to go with 12 volt as much as i can now you can go with 24 volt you could even use the psu on your printer any voltage depending on the printer that you have but i'm going to go with my own power source and then step it down as needed for different items so we'll try to stick to 12v as much as possible but these strips again very affordable they come with double sided tape that you can attach them with and they also have some brackets you can use now i'm not sure how the tape's going to do in the heat but we'll probably start with this and then move through the brackets if we need to so the wiring on this particular strip go by the directions for your light of course but on this one i'm just going to attach one of the white leaves to the yellow i'm going to put that on negative and then this side the standalone one will be positive this light you can do it either way it doesn't really matter but that's how i'm going to hook it up so for now i'm just going to put my tape on the back and i'm just going to stick it on the top of the enclosure i'm going to have all the wires run to the right that's just because of how i use the enclosure and where it is on the stand that i have but i'm going to try to park pretty much everything over here on the right side so we'll have them run out the right but i'll just stick it right in front of my spool holder mounts and for the wiring for that plug the light actually comes with a little bit of wire so you can extend it i'm just going to splice in and solder this extra wire and then put some heat shrink on it and to run the wire i just drilled a five millimeter hole that's not gonna hurt us very much we'll have to drill a few holes here but now we have to worry about power management so at this point i'm not exactly sure how many devices we're going to add to this enclosure a few but i do want to stick with 12 volt like i said before so i elected to get these two power strips there's five different lugs on each and i'm going to divide them up one is going to be positive one is going to be negative so i'll have one input and then i'll have four outputs if i choose to use them which we're going to use a couple so i'm going to mount these to the enclosure add these strips so that all of them are connected and then hook them up to our power input for a power input i'm just using this random ac dc adapter it came with some printer kit a long time ago it's 12 volt 6 amp it's going to be more than enough than i need to run all the stuff on this enclosure it just has a standard barrel connector and it also does have a switch and to get that barrel connector over to my power strips i'm just going to use this pigtail right here that will accept that connector so i'm going to start by mounting these strips somewhere in here i kind of wanted to be back towards this corner that way i can plug in the power somewhere back here and it'll be out of the way but remember i am going to do two side by side so we need just a little bit of room m3 by 12 millimeter screws are more than long enough to put that on this enclosure i did put a washer on them those holes are just a little bit bigger but i'm just going to mount both of those somewhere in this area so we've got those two mounted again i'm going to feed it with this pigtail so i need to cut around 11 millimeter hole i want to put it right in here and there are vents on the printer solid enclosures i'll probably just route it out one of these rather than cut a new hole but then i'm going to park it on these two lugs so i have a positive and a negative so i've cringed on the connectors to the pigtail for the feed then we've got these blade connectors so all of them will be connected so they'll be the same we can use all five i'm gonna put the negative one here on the outside and then the positive one over here and then we can hook up our input feed accordingly and then the first device our light here i'm just gonna set it in this next set of lugs i'm not sure about controlling the light i thought about it maybe putting it on a relay controlling it with octoprint or something like that but i might just want it on all the time there is a switch on the light i can turn it off or i can just turn off the whole enclosure we'll see how that goes for now i just want to turn it on so i can start using it so we've got our lights hooked up we're going to worry about wire management at the end of this we can plug in our power adapter then we'll kick the switch on and we have light already this is so much better than not having any light we're going to be able to see things much easier so that was the easy part now we need to address octoprint so we're going to need a raspberry pi and we're going to need a sensor for this unit because i want to be able to tell octoprint what temperature it is inside so we can make some decisions on what to do next so let's work on getting that set up so here's where we're going to start we have a raspberry pi 3b plus that should be more than enough to do what we're going to do i did purchase this header it makes it a whole lot easier to use the gpio pins it's just a terminal strip for each pin you can use the really small ferrules with it so this is going to make a lot cleaner install and then i downloaded this case from thingiverse i'll leave a link this is a really popular one i like to use it in a lot of different scenarios but it has mounting tabs that we can mount it to the side of the enclosure remember these enclosures do have metal faced foam panels on them that's not plastic so you don't want anything to conduct so having the pins exposed or anything like that on the back of your raspberry pi to that enclosure is not a good thing and to power our raspberry pi remember our enclosure is currently 12 volt that's the adapter we're using i'm going to use this buck converter to get it down to the 5 volt that we need for the pi again thingiverse there's a little mount we're going to use that to put on the side of the enclosure and then i just clipped a micro usb cable so i can still use that pi interface and we'll install all of this so our header it's clearly marked all the power for these gpio pins the five volt and three volt pins are down here and they've marked those red so it's really easy to put it on just slide it on just like this and this kit did come with some standoffs some plastic standoffs as well i'm going to use those as a spacer so i can put the screw all the way through the header and the board and then mount it to the case i've got this all fixed up i just use some m3x6s down here for this case now we can go ahead and put it on the enclosure but i do want to load my sd card first because they can be kind of a pain after they've been mounted and i think i'm going to mount the raspberry pi somewhere up in here because i want to keep it out of the way of the other things also the temp sensor is going to mount on these pins and i'm going to put it on the far other corner so that we can take readings from the top corner of the enclosure i'm also going to put my thermostat kind of in that area but i'll show you more about that when we get into that section so here will be good probably just like some m3 by 12 hardware to put this on here so we've got our pi on now we need to worry about getting some power to it and for our buck converter with this mount the converter actually just snaps in here it's got little pegs that go in the holes on the pcb and there's enough clearance where you can use some hardware in the two holes on that mount so after you mount it it should just snap on and that's actually a really nice fit it's nice and tight shouldn't go anywhere now we don't want to plug in the pi to the converter yet because i really have no idea what voltage this thing is running at we don't want to run the pi right out of the gate so we need to plug in the input voltage again we're using 12 volt for this so we'll run it over to our power strips that we installed we'll get the input turned on then we'll adjust this with a meter so here's the power input side for the buck converter and those of you that are worried about the wire management for this build i do have some of these 3d printed zip tie tie downs that i'm going to use double sided tape and get all this lined up once we know all the links and everything that's going to be installed so we will address that so now let's get our dc adapter plugged back in and then we're going to see what the output on that butt converter is currently because we only need 5 volts for that pi so on this one we're currently at a five eight six raspberry pi recommends 5.1 so this is just a bit high so we need to adjust it with your super tiny screwdriver there's a brass screw right here it depends on the converter you get left or right up or down so you just got to play with it but we'll turn this one down a little bit and there we got it to five one mine was actually turn it left and it goes down so we should be in good shape we can plug in the pi and our raspberry pi is up now i am assuming that you've already installed octoprint if you're tackling something like this i'm just going to run through it this is a fresh install i am going to add some plugins i'll show you all that stuff so we've got octoprint installed it's up to the newest version currently on 1.6.1 something i did want to mention i've done this before wherever i'm raspberry pi's on buck converters make sure you're not getting any warnings up here about power because that's going to throttle the processor if it's not on the right voltage remember we have the buck converter we have cables in play here so there might be voltage loss if you're seeing something like that go back and measure the voltage at the pi make sure it's set correctly just something to look out for now we're going to need a plug-in so let's go to settings plug-in manager and up here to get more and there's a really nice enclosure plug-in out here so i'll just search for enclosure octoprint enclosure let's go ahead and install it after it's installed we'll go back to settings and close your plugin now basically what this plugin allows you to do is set inputs and outputs so we can take in information and then control other things going out based on that information and the first thing that we want to know about is how hot is it inside our enclosure so we're going to add an input we're just going to name it enclosure temp and then we're going to tick temperature sensor and then there's a few sensors that are supported definitely go out here and take a look at the github page and this attention message vitor has done a great job on this plugin he was taking a break i'm not sure where he's at with the plug-in right now he's still working on it but there's a lot of good stuff here already what we're interested in right now is the sensor section and the different kinds of sensors you can use now in my opinion the one wire sensors are the easiest so that's what we're going to use and they're pretty accurate we're going to be using a ds18 v20 and there's very little configuration you have to do here but we do have to install a resistor anywhere from a 4.7 k to a 10k for the data pin and because this is a one wire it is supported directly on pin number four of the gpio header so that's what we're going to use we do have to get in to the terminal and make a few changes so let's do that first and then we'll take a look at the center so i'll just jump over to putty and we want to change directory in the forward slash boot you can take a look in there but we need to edit config.text so sudo nano [Music] config dot txt and we're going to go all the way to the bottom and we're going to add in dt overlay equals w1 dash gpio that will allow us to support the one wire sensor so that's all we have to do here we'll control x y and enter to save and reboot and when we come back up we can do some mod probe commands to test this out we haven't plugged it in yet but this is going to be the process so we're going to mod probe that w dash gpio and then also w1 dash therm th t-h-e-r-m and then we'll change directory into forward slash sys forward slash bus forward slash w1 forward slash devices you can take a look in here here's where your devices will be listed but now let's jump over to the sensor and let me show you how to get that set up and remember i told you we're going to need a resistor for these you want it from the power leg over to the data pin which is the center pin so power center print is data other side is ground it can be anywhere from 4.7 k to a 10k i elected to just build everything on this pcb one it's easier to install components and get them to stay put and it's also easier to handle inside the enclosure easier to tie it down to something so that's how you're going to set up your sensor so i just made up dupont connectors one for each side i've got a wire loom here and then i've got ferrules on the other end of that that will go into our pi header and i'm just going to run them on the top of the enclosure with these printed pieces again double sided tape and then we can just zip tie the sensor with a pcb onto one of those hopefully the tape that i have is good enough to stand up to the temperatures that we're going to have inside here and it's really hard for me to show the inside of the enclosure with the camera so i just snapped a picture with my phone i just have it zip tied up there to the top and wiring it up is pretty straightforward on the bottom row down here the first pin is 3.3 volts and that's what we want for this sensor that 3.3 volt is actually pin number one then five pins in that's actually the number nine pin that's a ground pin you can use and then we wanna use the gpio4 pin now don't mistake the gpio number for the pin number we're talking physical pin numbers here so the gpio4 pin is actually physical pin seven it's the fourth pin in on the bottom row and remember i showed you that's the pin we want to use for these one wire sensors it defaults to this pin and that's all we need for this sensor now let's jump back to the terminal and check it out now if you do that ls command again in this directory you're going to have a serial number right here i believe all of these answers start with a 28 but this number is important and i'm going to go ahead and copy it because the plugin does use this serial number if you wanted to use multiple sensors that's how you would tell them apart but we can change directory into that number if you do an ls in there it's going to show you some stuff about the device how it's using it but this w1 underscore slave you can cap that and that'll give you all the stats about that sensor down here this is telling us it's reading 25.5 c and since we know it's working we can jump back to the plug-in settings enclosure plug-in back to adding inputs remember temp sensor we'll select our ds18 b20 the sensor pin defaults to four but we'll go ahead and punch it in then we'll paste in that serial number that we copied from the terminal and you can switch it to fahrenheit if you like most of us are pretty used to c by now and we'll let it show that temp in the nav bar so let's go ahead and save it and then up here we have our enclosure temp input 25.5 c and that's going to be pretty important we're going to use this to make a lot of different things happen going forward so now we're starting to get somewhere we've got the power sorted out we've got a raspberry pi on octoprint and we have an active sensor that we can use to make decisions on how to control certain things on the enclosure but now we need to talk about heat remember the point of an enclosure is not to tighten it up and get it as closed as possible so you can keep all the heat in that can be somewhat dangerous in certain scenarios it's to be consistent that's what you want out of one of these setups and this one has vents on it so that it regulates correctly so it doesn't affect your print but it keeps the temperature in a good range and remember i'm using a prusa mark iii and if you're used to a reprap style 3d printer it probably has printed parts on it and those are made out of plastic so now we need to figure out how to get a heater installed and then figure out what is the optimum temperature for this heater and you could just look it up on the internet but that's no fun we need to test it so let's start by taking a look at the heater and the thermostat that i'm going to use for this so here's what we're dealing with for our testing our heater and our thermostat for our enclosure this is a ptc fan heater it is 120 volt so we have to deal with that it's 150 watts it's not a huge heater but it's more than enough for this size of enclosure and the temperatures that we want to get to and then we have a kt-11 thermostat this is just a panel mount thermostat that we can hook up in line to our heater this is going to be good for our testing but also as a fail safe we can't control the temperature with octoprint but we could set this one just a little bit higher so it's good to have so let's say we wanted 40c in the enclosure we could set this one to 50 just to make sure it never went over that but it's going to be good for our tests now the heater it just has tabs on it we can screw it directly to the enclosure that'll work i'm going to put it in the back corner since these are panel mount i did create a 3d printed adapter it'll just snap on here and this will screw down to our enclosure now remember i just said this is 120 volt ac power don't do any of this if you're not comfortable hooking up ac this can be very dangerous and today i am just using a pigtail this is some lamp cord and i'm not going to be concerned with the ground now this is just for the test though we are going to have to work in a ground here i'm going to deal with that when we deal with the power supply on the printer for today's test this should be just fine but i can't say it enough please be careful when you're dealing with anything ac don't do anything that i'm going to do if you're not comfortable with it so our thermostat basically all it's going to do is break the hot wire so it'll be in line on the line wire so on these heaters they just have a cover that protects you from those terminals and we want the wires to be long enough so that we can get to our thermostat and our heater again i'm going to put the thermostat in the front left corner and then the heater in the back right both at the bottom now the bottom for the thermostat is probably not the best location but we do have that temperature sensor on the top so we can take measurements of both so i got my heater back there in the corner i have my 3d printed bracket that is printed out asa by the way and then the thermostat will just snap into that bracket now we can wire it up so either side on that heater doesn't really matter what's neutral or what's line the hot wire i'm going to take the left terminal over there and run it to the left terminal on my thermostat again it doesn't really matter on the thermostat either we're just breaking the hot wire so that we can turn it on and off i am going to put some ferrules on the ends of these wires before we put them underneath that terminal it's always a good idea so here's what we got on our thermostat over here the right terminal i have it run to the hot wire on my pigtail to the plug and then the left terminal here goes over to the left terminal back there on my heater that's the hot terminal and then the right terminal back there on the heater goes to the neutral on my plug there's currently no ground involved but just for this test it should be okay also turning it on and off i'm just going to plug it and unplug it and let the thermostat do the work again we are just in testing mode so we've got everything cabled the heater cover is back on i'm going to create some test prints so we can try out a few different temperature ranges but i'm just going to go ahead and plug it in now make sure it's heating up and everything is working as expected the heater's been running for about 15 minutes or so the one on the front here the humidity is going down as that heater runs and dries out the air we're already up to 35 c let's check our octoprint sensor and it looks to be reading about the same we're setting at 36 c so we're definitely getting warmer now let's set up and run some tests so let's talk about testing just for a moment dave and the crew over at print solid put a lot of work into these enclosures so that you would have a consistent printing environment but the printer wouldn't get too hot while testing so you wouldn't cause any damage to it now when doing tests like i would like to do that becomes a problem and i did two things to combat it now remember there is no printer inside here that is going to add a lot of heat to your enclosure even if you don't have an actively heated chamber but since i don't have a printer i just wanted to test some materials i did upgrade to the largest heater i can find a 250 watt most of the time you probably would never need that especially in an enclosure like this and i have completely wrapped the enclosure and that's kind of why it looks like a baked potato i even used some of my floor mats one on the bottom one on the back one on the side just so i could reach higher temps and i did get it over 60c this was one of the tests i did i didn't quite make it to 60 when i snapped this picture i was able to get it just a little bit higher than these readings here but this is probably more than enough heat to be able to do the test that i want to do if i wanted to wrap it even tighter get a little bit more foam i'm sure i could insulate it and get it even higher but again this is probably enough and here's a look at the part that i came up with for testing basically it's a square spring with two eyelets so i can hang weight from it and we can see how much it deflects as the enclosure heats i did p-e-t-g from preshament printed solid pla and prusiment asa so basically all i did was i have a hook hanging from the top of the enclosure there's actually some chain that goes through the top on that hook i'm hanging our test part i use zip ties because that metal hook will actually melt through the print and then on the bottom of our test part i'm hanging a five pound round weight and then i did a series of tests i did a static test just hanging there room temperature so i know it didn't deflect none of the materials pla petg or asa did deflect after hours of hanging so that's good they probably would long periods of time but not 10 12 hours like i tested after the static test basically i had a bunch of different test parts i put them all in here let the enclosure start to heat and then i did a time lapse so you can see what temperature it was and when the part started to deflect and how much it did and the testing is somewhat interesting now this scenario isn't perfect this isn't going to show you exactly what's going to happen to every part depending on its size at what temperature but i think it is kind of neat to see it stretch as the heat increases and how that affects different materials at least as hot as i could get this enclosure so have a look at the time lapse [Music] [Music] you [Music] [Applause] [Music] um [Music] um [Music] and after the time lapse you can see just how far some of these did deflect this is a stock part this is after that time lapse run again printed solid pla on the petg this is the stock part this is about midway through the test i stopped at around 40c and this one is after i let it run quite a while so the heat in some parts in some scenarios is definitely going to affect your print and then with asa the stock part and after the test this one ran for a long time 10 plus hours and this is the only deflection that you saw we would have to get it a lot hotter in there to be able to affect asa and abs types of filament and i'm going to say it again this is a perfect case scenario here i made this part so that you could see it stretch while the heat increased that doesn't mean every part is going to be affected the same way depending on what material it's made of and the part structure but i wouldn't go very far with a printer that had 3d printed parts on it i would keep it 45c or less just to be safe that's enough temperature for your enclosure to get really nice parts in a lot of different filaments now with all that testing complete we need to do one more change for this video and that is of course we need to add a webcam so we can monitor our prints and i came up with this part right here this is just a modified mount that i use on a lot of my enclosures because it fits the type of logitech camera that's meant to sit on top of your screen the kind that just has a little dovetail that goes into here and on the back side you can just use some square nuts there's a tunnel here for the wire and this will sandwich in the corner of the enclosure so it's kind of pointing down you can see i just have it mounted right here i've got my c270 kind of pointed towards the center of the enclosure it just slides in there you can put it as high or as low as you want depending on your setup and on the outside i drilled a fairly large hole and some screw holes so that you could screw it down again there's square nuts inside the part this is so that the usb cable will pass through here you could just as easily pull this front part off just undo the screws cut a little valley in here and it would work the same the parts going to be available if you'd like to rework it this is just how i went about it but this part with that tunnel in it fills this hole so it shouldn't be an issue but the smaller the holes the fewer of them you have the better you're going to be with your enclosure so there we go part one of our automated enclosure build is now complete but we have a lot more to do and it should all be included in the next episode which should be out fairly soon but i did learn a lot from this build how hot can the enclosure get what happens to certain types of filament when they get too hot and that's all valuable information going forward now i feel a lot more comfortable putting my prusa machine inside here that does have a lot of 3d printed parts we have a lot more stuff to tackle though like the psu needs to go on the outside you don't want that in your heated enclosure as well as how can we automate the filtering of an enclosure as well as the cooling and the heating so we have a lot more to learn i look forward to sharing that with you i'll see you really soon on the next video and now i can finally take all this stuff off this enclosure so it looks halfway decent again take care everyone
Info
Channel: Chris Riley
Views: 10,453
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, Printed Solid, Enclosure, OctoPrint, Raspberry Pi, Timelapse
Id: izauvCXrZuo
Channel Id: undefined
Length: 31min 41sec (1901 seconds)
Published: Wed Oct 20 2021
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.