Raspberry Pi 4 Heat Testing

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
the release of the Raspberry Pi 4 came with a tremendous step up in CPU processing power the CPU is now a Broadcom quad-core CPU running at 1.5 gigahertz of course with the much more powerful CPU we now have much higher temperatures coming off of that CPU and the Raspberry Pi 4 has a set throttle at 80 degrees Celsius so when you're running applications and pushing the Raspberry Pi 4 to its limit you have to have some level of heat dissipation in this video we're going to talk about two types of heat dissipation the first one is heat sinks right so these metal heat sinks that go right on top of the CPU and the GPU in fact this one the Raspberry Pi for heat sink it comes with a third heat sink that I have down here by the power as well another option is this right here now this is the PI Moroney fan shim let's see if I can get that to focus there we go and this thing is absolutely amazing so I've tested both of these right and I can tell you for sure spoiler alert the piper Oni fan shim is a lot better than heat sinks how much better well let's get to that testing now there is a third method that people have used to cool down the CPU on the Raspberry Pi and that is water cooling but to me that just gets a little bit ridiculous and when you have to have a rig sitting off the top of your Raspberry Pi that's bigger than the Raspberry Pi itself I just don't think that's a very realistic way of doing cooling so of course in order to test anything we have to be able to measure so let's go ahead and figure out first how do we measure CPU temperature on the Raspberry Pi 4 in this video we're going to show how to measure both CPU and GPU temperatures the GPU temperature is actually really really easy to get you just have to run this one command and that is VC GE n CMD space measure underscore temp and that gives us our temperature of the GPU in degrees Celsius at this point I'm at 49 degrees Celsius and by the way I'm starting on the heat sink version of the Raspberry Pi for CPU temperatures a little bit tougher to get but it's really not that hard we can say cat / sis / class / thermal / thermal underscore zone 0 / temp and this gives us a five digit number which is also a reading of Celsius but we need to divide that number by 1000 okay so in order to do that let's set this as a variable CPU so we're gonna say CPU equals dollar sign open parenthesis less than and then we want to type that same command / sis / class / thermal thermal zone 0 / temp and then close parentheses so we're basically setting the string CPU as a variable that just runs that command anytime you output a CPU so if I say echo CPU or dollar sign CPU it should show us the current temperature that we then need to divide by 1000 so I can now say echo quotes dollar sign parenthesis parenthesis CPU / 1000 close parentheses close parentheses and then we can say like degrees Celsius like that and then close our quotes and enter and now we have 53 degrees Celsius so that's all well and good but now how can we create a script that shows both the CPU and GPU temperature that we can then refresh on a regular basis in order to see the temperature over time now we're not going to graph the temperature over time there are ways to do that but in this case we're just testing we just want to be able to see or watch the temperature in real time as opposed to you know graph a history of all of the temperatures you know for all time so in this case we're just gonna say there's a great script out there I'll give credit where credit is due the author was Vivek gite from cyber city biz and I will put a link to the article where I found this script down below so that you guys can benefit from it as well and we're gonna say you want to create a new script called my - temp sh you can call it really whatever you want I called mine my - temp dot s H so let's go in here and I'm going to edit that file here we see the author Vivek gate and so what we're doing here is the first line here we are setting that CPU variable just like we did previously and then we're gonna echo the date and the host name then we're gonna have a nice little line separator and the ring is say the GPU is and then we're going to do that command V G vc Gen CMD measure temp just like we did previously for the GPU temperature and then for the CPU we're gonna basically do the same thing where we're echoing it out divided by a thousand okay so now let's control exit and what you want to do when you first create the script is make sure you do a mod + X my - temp Sh excuse me sudo cha-cha mod so you can go pseudo-mod + x my - 10 s H and now it is an executable file if I do LS la we can see my - temp dot s H is green meaning that it's executable and if we run it dot slash my - 10 s H we can see an output of our temperature which is great except we'd like to actually watch that output and have it refresh on a certain interval say 2 seconds right so in order to do that we can use the watch command so now we can say watch dot slash my - temp dot s H and there we go you get a two-second update of this command just constantly updating so now when we run our stress test we will be able to watch this command and watch as the temperature of both the CPU and the GPU go up as we're watching it okay so let's go ahead and minimize this down I'm going to open a new window and in this one no I'm just gonna set up a CH top okay so we can see that right now our CPU is idling we don't have too much going on currently and our GPU temp is about 64 degrees Celsius our CPU temp is about 62 degrees Celsius just sitting here at idle okay so now let's stress test I'm going to open up a third window and in this third window if you don't have stress you can install it by saying sudo apt install stress I already have stress so we don't need to do that but we can now say stress - c8 okay so this is going to run eight CPU threads as a stress test and as soon as I hit this button we're going to see the CPU here just peg all the way at 100% all four cores are gonna peg it a hundred percent and then we are gonna start to see the CPU and the GPU temperature start to climb and what I'm going to do is time it and I'll let you know how long it takes with heat sinks on the Raspberry Pi before we start throttling right and you know you start throttling because you actually see a little temperature icon in the upper right hand corner of your primary monitor on the Raspberry Pi so in the Raspberry Pi graphical user interface okay so let's go ahead and run the stress test here we go boom and we can see that immediately our CPU gets maxed out all four cores get maxed out at 100% and we're already climbing we're already up to 70 degrees Celsius and let me get my stopwatch going alright so I started the stopwatch about thirty seconds late but we should be able to I'm just gonna keep an eye on this and I will come back once the CPU actually starts throttling so once we actually hit 80 degrees Celsius okay so I first saw that little temperature thermometer icon throttling the CPU in the upper right hand corner of my PI GUI right at about two minutes and ten seconds now keep in mind that it took was an extra thirty seconds or so for me to fire up the stopwatch here so figure about two five minutes of stress testing the Raspberry Pi four with heatsinks before it hit the point where it had to start throttling down the CPU alright so let's go ahead and kill that test also just as a side note when I fire this little temperature heat gun thing at B heat sink the main CPU heatsink on the Raspberry Pi 4 while this stress test is going I'm getting between 40 to 50 degrees Celsius just shooting it from the top okay so it only gets about that hot externally to the CPU externally to the heatsink because it is dissipating a good amount of heat okay so let's go ahead and stop this test I'm gonna hit ctrl C on stress we'll see the CPU drop all the way back down and then our temperatures will start coming down once again now I'm gonna switch over to the Raspberry Pi that has the PI Moroney fan shim all right while that's booting up let's take a look at the fan shim itself it is $10 USD from PI Moroni calm it comes in this little teeny tiny box I bought two of them plus a case as well and I think my total was like twenty seven dollars including shipping and everything so it wasn't that much but you basically get this tiny little fan and you get all the screws that you need and you also get this tiny little board that slips over some of the Raspberry Pi GPIO pins okay so you attach the fan to this board and I'm not going to do this on camera because honestly they're instructions if you click it be getting started with fan shim instructions they're really really good right it's so super simple here's the board you put the screws through it you put some spacers in it washer spacers now these ones are plastic the ones that I came with they're a little bit higher quality than the ones in these pictures this must have been from a prototype or something then you put the fan on then you put additional washers on top to secure everything down and you plug the fan in you slip the whole thing over the one two three four five six sort of left-most GPIO pins this is going to provide it power as well as some of the input that it needs to actually control the fan with Python then you can install the fan shim software it's as easy as doing a git right here and then you can just run install service SH and then sixty five and five now what that means is basically we're gonna run this as a service so every time the Braz berry pie boots up it will run this fan pie Maroney fan service which you can start and stop with systemctl start or stop by Maroney - van Shem dot service and the 65 is the temperature with at which we want the fan to turn on and then five degrees Celsius is the high stare assists hysteresis and it's basically a buffer that says what's the fans on let it drop down five degrees Celsius before it turns off again right so that way it's not like if you're sort of flickering between 79 and 80 degrees Celsius or in this case 64 and 65 degrees Celsius it's not going to be tough constantly turning the fan on and off it's gonna hit 65 and it'll stay on until it drops below 60 there are also some more examples of how you can you know use Python to control the fan as well as control the LEDs on the fan board itself I'm not going to go into that into this tutorial let's just get right on to the stress testing alright so in this first window we're gonna say watch dot slash my dash temp Sh that's going to give us our CPU temperatures here we can see 51 degrees Celsius on the GPU and 50 well 51 degrees Celsius also on the GPU let's run an H top down below and now we're gonna say pseudo stress - C 8 and hit enter we're also gonna start our stopwatch once this hits 65 degrees Celsius up there goes okay so the fan just kicked on right at exactly 65 degrees Celsius and so now we're going to let this run for a while and see if we ever end up throttling or if at at some point we'll sort of level off and then never hit that eighty degrees Celsius mark where we do start throttling alright so I'm going to keep an eye on this and we will be back in just a little bit alright so here we go eight minutes and 50 seconds into this and I already know the results it is just going up to 65 degrees the fans kicking on it's bringing the CPU temperature back down to like 59 58 the fan turns off and then it goes back up rinse and repeat okay so it's doing the same thing over and over and over but the point being is that with the pi Maroni fan shim in place no heat sinks okay just the fan shim we are able to make sure that the CPU on the Raspberry Pi 4 is never throttling at all okay now there may be some use cases where you're pushing that CPU so hard that you get up to the point of throttling even with the fan shim but in this stress test where I'm literally maxing the CPU at 100% all four cores at 100% I'm not able to get to the eighty degrees Celsius threshold where it would actually start throttling so kudos to PI Moroni for making a good product I really like this thing I bought two of them and I'm definitely gonna run them on both of my Raspberry Pi fours I'm gonna rip off the heat sinks and use these instead okay there you have it if you guys are interested in any of these products click the links down below I have a kit down there to the canikin Raspberry Pi starter kit which I highly recommend if you're just getting into Raspberry Pi as well as a link to the PI Moroni fan shim and check out the rest of their website as well they've got a lot of cases and add-ons and other cool Raspberry Pi stuff available on their website ok so there you guys have it a quick look at some heat testing of the Raspberry Pi 4 if you enjoyed this video please give me a thumbs up and if you'd like to see more videos like this we have more Raspberry Pi content coming soon make sure you hit that subscribe button down below ok as always my name is Chris with crosstalk solutions and thank you so much for watching you
Info
Channel: Crosstalk Solutions
Views: 40,403
Rating: undefined out of 5
Keywords: raspberry pi, raspberry pi 4, raspberry pi 4 projects, raspberry pi 4 review, raspberry pi 4 testing, raspberry pi 4 heatsink, raspberry pi 4 heatsink install, raspberry pi 4 heatsink locations, raspberry pi 4 heatsink placement, raspberry pi 4 heat issue, raspberry pi 4 heatsink canakit, pimoroni, pimoroni fan shim, fan shim, crosstalk, crosstalk solutions, raspberry pi 4 cooling case, raspberry pi 4 cooling system
Id: tWsM69_5g4E
Channel Id: undefined
Length: 15min 17sec (917 seconds)
Published: Tue Jul 30 2019
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.