element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Raspberry Pi
  • Products
  • More
Raspberry Pi
Blog 3D Printed Raspberry Pi 4 Enclosure with Fan
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Raspberry Pi to participate - click to join for free!
Featured Articles
Announcing Pi
Technical Specifications
Raspberry Pi FAQs
Win a Pi
GPIO Pinout
Raspberry Pi Wishlist
Comparison Chart
Quiz
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: fmilburn
  • Date Created: 14 Aug 2019 4:14 AM Date Created
  • Views 4511 views
  • Likes 12 likes
  • Comments 19 comments
Related
Recommended
  • fan
  • raspberry pi 4
  • enclosure
  • raspberry pi 3
  • case
  • 3d print

3D Printed Raspberry Pi 4 Enclosure with Fan

fmilburn
fmilburn
14 Aug 2019

The new Raspberry Pi 4 will not fit in any of the enclosures I have at hand and while doing preparation for a RoadTest I found that my Pi was overheating and throttling back.  A quick web search did not find what was desired and besides designing one seemed like a good learning opportunity.  The resulting design, done in Fusion 360, has the following features:

  • Pi 3 also fits the enclosure
  • Snap fit with no screws
  • Base enclosure has a plain, solid top
  • Camera slot can  be added to the print
  • Display slot can be added to the print
  • 30 mm fan can be added to the print

 

The additional features are added by altering their individual parameters which are kept in an easily accessible table.  Changes to clearances and key dimensions can also be changed if needed by modifying their parameters.  This might prove useful in printers with different resolution or if for example the case height needs to be extended to fit a hat.

 

The basic design is similar to one that was posted right after the Pi 4 came out.  This enclosure was designed separately from the ground up however and is not compatible.  To accommodate the difference in USB, multiple HDMI, etc. between the Pi 3 and the Pi 4  the case slots in these areas is open without dividers.  A camera slot, display slot, 30 mm fan opening, or any combination thereof can be added in seconds.

{gallery} Raspberry Pi Enclosure Print Options

image

Plain Enclosure

image

Enclosure with Openings for Camera and Display

image

Enclosure with Openings for Fan, Camera, and Display

 

Printing was done on an ANYCUBIC I3 MEGA with the following settings:

  • Layer Height = 0.2 mm
  • Wall Thickness = 1.2 mm (Wall Line Count = 3)
  • Filament = 1.75 mm PLA
  • Print Temperature = 200 C
  • Bed Temperature = 60 C

 

Total print time for the top and bottom is around 5 hours depending on the wall thickness chosen and the slots.  The photo below shows the Pi 4 mounted in an enclosure with a fan on top.  At this point a heat sink has not been added - just the fan.

image

As noted above, there was throttling prior adding the fan.  Raspberry Pi states that a warning is normally issued when 80 C is reached and throttling occurs at 85 C.  With the fan, temperatures did not exceed 72 C during the stress testing with the CPU at 100% for approximately 10 minutes.

 

Fusion 360 has amazing capabilities although I am still finding my way around it.  I am using the free one year trial for hobbyists.  I am very happy with the outcome and there are only a couple of small things I may change with the design:

  • Some of the openings are a bit large and could be reduced in size for aesthetics
  • The case width could be enlarged 1-2 mm as there is a tight fit on one side which makes removal of the top a bit hard

 

The fan also whines and I will probably cut some foam to fit between it and the case to dampen it.

 

Thanks for reading, comments and suggestions are always welcome.

  • Sign in to reply

Top Comments

  • dougw
    dougw over 6 years ago +6
    Nice design. The "ports on multiple sides" design of the Pi is a great application for 3D printed solutions, but I have shied away from doing them because of the temperature. I had one box (not for a Pi…
  • fmilburn
    fmilburn over 6 years ago in reply to balearicdynamics +6
    Hi Enrico, I don't plan to post it widely because I am using the free license and I do not understand what that allows and I don't want to lose my license. However, I would be happy to send you or any…
  • e14phil
    e14phil over 6 years ago +5
    I (genuinely) love the feel of using $500+ kit and years of know how to fix a problem as small as a $12 case. Fills me with genuine happiness. Phil
  • fmilburn
    fmilburn over 5 years ago in reply to dougw

    Hi Doug,

     

    I have had the version with the fan working for about 6 weeks now, using it daily, and the case is fine.  The fan is on constantly and the air coming out of the case is only slightly above ambient.  The case itself does not feel particularly warm so it is not surprising that there is no problem. 

     

    I suppose I should try the version with no fan and see what happens but then it will be subject to throttling which is undesirable for my experiments with Tensorflow.

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • fmilburn
    fmilburn over 6 years ago

    I went ahead and enlarged the width of the case 1 mm and the height of the top by 1.6 mm so it fits the Pi better.  I also added a full circular cutout to the parametric settings for the full opening fanboys (pun intended) image.

    image

    I plan to use this case in a RoadTest of the Raspberry Pi 4B which will compare performance in face recognition using OpenCV to a Raspberry Pi 3B+.  Both will use the same SD card and be housed in the same case with a fan so they can run at full speed and to minimize differences other than the board itself.

     

    There are some nice cases showing up in the market now which minimizes the need to print your own, but this has been an interesting exercise in design nonetheless.  As for what could be improved, the clips / tab arrangement could probably be made to fit better although it is fully functional as is.  I am not sure the tolerances of my 3D printer will allow much more improvement.

    • Cancel
    • Vote Up +5 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • fmilburn
    fmilburn over 6 years ago in reply to balearicdynamics

    Hi Enrico,

     

    I don't plan to post it widely because I am using the free license and I do not understand what that allows and I don't want to lose my license.   However, I would be happy to send you or any active e14 members that have Fusion 360 the files.  Alternatively there is a way to work collaboratively but I haven't explored that.  As noted above it needs to be modified ever so slightly and I will try to make a new print with the changes in the next day or so.

     

    Frank

    • Cancel
    • Vote Up +6 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • fmilburn
    fmilburn over 6 years ago in reply to ntewinkel

    Hi Nico,

     

    Fusion 360 has different ways to model so it is possible to create things in sheet metal, cut from solid material, etc. as well as 3D print.  The only way I have used it however is for 3D prints.  If CNC cut from solid material this case would require 3 axis (or repositioning) to cut the opening for the SD card as an example.  As well, there would be undercuts for the tabs so it would require tool changeout.  And then there are the rounded edges on all sides.  Fusion 360 allows tool routing so that could be done I think but again I have no experience.  When 3D printed the slicer takes care of the raft (support) for the overhang on the SD card slot.  Angles of 45 degrees do not need a raft so that is the only one needed.

    • Cancel
    • Vote Up +4 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • ntewinkel
    ntewinkel over 6 years ago

    3D-printerly challenged question here... can 3D printer models like this be run on a CNC instead?

    Seeing as there's no odd overhangs happening, it seems like it should be possible.

     

    I really should just retire early so I can actually learn how to use that CNC... hopefully the world will have Basic Universal Income by the time I run out of retirement savings.  image

     

    edit: or not retire, so I can buy a 3D printer image

     

    -Nico

    • Cancel
    • Vote Up +4 Vote Down
    • Sign in to reply
    • More
    • Cancel
>
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube