DIY Raspberry Pi 4 Desktop Case With OLED Stats Display

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
today i'm going to be showing you how to make your own desktop case for a raspberry pi 4 which looks like a mini desktop pc the body of the case is 3d printed and it has clear acrylic sides so that you're able to see into it i've used an ice tower to cool the cpu but mounted the fan onto the side of the case rather than on the heatsink i've also included an oled display on the front of the case which displays the pi's rp address and some stats like the cpu and memory usage and cpu temperature if you'd like to build your own case i've linked a guide with all the print files templates and code in the video [Music] description i designed this case for raspberry pi 4 models you'll also need to get an ice tower and a small rtc oled display i've put links to the components you'll need in the video description i started out by designing a 3d printed body of the case which i did in tinkercad i positioned the raspberry pi within the case so the usb and ethernet ports are available through the front of the case and the power hdmi and audio ports are accessed through the acrylic side panel the oled display is positioned on the front of the case above the ports the pi is mounted onto the brass standoffs which came with the arse tower i don't remove the sd card in the back of the pie very often so i didn't add a cutout for it if you do then just add a circular cutout to the case at the back so you can still access it [Music] [Music] i printed out the case using black pla with a 0.2 millimeter layer height and a 15 infill i also added print supports for the cutouts for the display and ports on the front [Music] let's mount the raspberry pi in the case start by screwing the brass standoffs into the holes in the base i've just changed the orientation of the screws and standoff mounts supplied with the arch tower so they screw straight into the bottom of the case and don't require any through holes [Music] next we need to remove the fan from the us tower so that we can attach it to the acrylic side panel [Music] add the support brackets for the ice tower [Music] [Music] put the pine to position and then use the second set of brass standards to secure it now finish installing the arc tile using the heatsink tape and the remaining screws now let's install the oled display onto the front panel you might need a flexible shaft or 90 degree screwdriver to tighten the screw which holds the display clamp in place [Music] now we just need to prepare the wiring to the oled display you'll need to make four connections to your gpio opens two for the power and two for communication i made up the short connector cable using some dupont connectors and some ribbon cable you can also use some female pin header strips or female breadboard jumpers to connect the display to the part now let's make up the acrylic sides i positioned a block in the case roughly where the ass tower heatsink is going to be so that the holes for the fan are in the correct place i then exported the side profile of the case and heatsink to open up an inkscape i started with the fan side we can remove the inside edge profile as we only need the outline of the case and the screw holes we also need to add a hole for the fan and the four surrounding holes for the fan screws next i created a mirror of the fan side for the exhaust side and drew a hexagon pattern for the exhaust air flow if you're not going to be laser cutting the sides and you're cutting them out by hand you may want to replace these holes with circular drilled holes in the same area lastly we need to add the cutouts for the ports along the side of the raspberry pi now let's get the sides cut out i used two millimeter clear acrylic for the side panels you can use a colored tinted or opaque acrylic as well if you'd like [Music] to mount the fan onto the side panel you'll need to place some m3 nuts into the pockets by the screw holes these are quite tight so you don't need to use a spanner to hold them in place while you tighten the screws screw the side panel onto the 3d printed case using four m3 hex head machine [Music] screws now plug the fan into the five volt supply on the par and then install the other side panel that's it the case is now complete we just need to get the oled display [Music] working to get the display working we need to run a python script so you'll need to boot up your path first the raspberry pi communicates with the display using itc communication so you'll need to make sure that this is enabled in your preferences if you're unsure on how to do this there's a step-by-step guide linked in the video description the script is mostly based on one of the example scripts in the adafruit python library for early display modules with a few minor changes to add the cpu temperature and change the format of the display now reboot the part to automatically run the script and you should see the stats shown on the oled display [Music] let me know what you think of this case and what you do differently in the comment section [Music] thanks for watching please remember to like this video if you enjoyed it and subscribe for more tech and electronics projects tutorials and [Music] reviews
Info
Channel: Michael Klements
Views: 445,912
Rating: undefined out of 5
Keywords: raspberry pi, raspberry pi 4, raspberry pi 4 8gb, pi 4, raspberry pi 4 2gb, raspberry pi 4 4gb, pi, pi desktop, raspberry pi os, raspbian, oled, oled display, I2C, desktop, desktop case, case, cover, acrylic, laser cutting, 3d print, 3d printed, 3d printer, creality ender 3 pro, ice tower, cooling, fan, cooling fan, computer, linux, desktop computer
Id: 9sb_zuHGmY4
Channel Id: undefined
Length: 10min 4sec (604 seconds)
Published: Mon Oct 26 2020
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.