Custom Electronic Enclosures

by liquidhandwash in Workshop > 3D Printing

5441 Views, 64 Favorites, 0 Comments

Custom Electronic Enclosures

Screen Shot 2016-05-06 at 10.07.17 AM.png
Screen Shot 2016-04-26 at 6.34.19 PM.png
Screen Shot 2016-04-26 at 6.33.49 PM.png
Screen Shot 2016-04-26 at 6.34.07 PM.png
Screen Shot 2016-04-26 at 6.33.56 PM.png
Screen Shot 2016-04-26 at 6.33.40 PM.png

Often when you build a cheap electronic kit they don't come with a box, if you have access to a 3d printer, and a laser cutter here is a simple way to make a custom enclosure that looks cool and fits right.

In this example Ill show you how to make a laser cut and 3D printed Enclosure for the 4 bits clock kit as featured in the bomb proof clock instructable , but you could adapted it to almost any size PCB or electronic kit.

This project came about as I had a few students who like the clock but are a bit scared of the welder...

As well a 3D printer and laser cutter you will need a CAD program. I use Prodesktop it's old but good.

Learning Intentions and Success Criteria

Learning Intentions

  • To work safely in the workshop
  • To improve my understanding of how the CAD software works
  • To operate a laser cutter and 3D printer
  • To be a self-directed learner

Success Criteria

  • I understand the safety rules and I am working safely in the workshop.
  • I can follow the instructions independently.
  • I can produce 2D and 3D CAD drawings and convert them to DXF and STL files.
  • I can produce an assembly drawing.
  • I can produce a photo album drawing of my project.
  • I can operate a laser cutter and 3D printer.
  • I can work safely and work safely in the workshop.


Mesure Your Circuit Board

Screen Shot 2016-04-26 at 11.39.58 AM.png
Screen Shot 2016-04-26 at 11.39.43 AM.png
Screen Shot 2016-04-26 at 11.39.31 AM.png
Screen Shot 2016-04-26 at 11.39.19 AM.png
Screen Shot 2016-04-26 at 11.39.06 AM.png
Screen Shot 2016-04-26 at 11.38.55 AM.png

Before you start it can be useful to measure everything and write it down, or even do a rough sketch so that once you start in CAD and "get in the zone" you don't have to stop to measure stuff, well it works for me.....

The main measurements you will need are the size of the PCB, and the space of the buttons from the side and bottom. I got some rather odd measurement as it was obviously drawn in Inches, It would be easy enough to draw the box in inches, but as I live in a metric country, and my CAD program is set up in metric and it would likely confuse some of my students, Ive just stuck with the metric system.

CAD Drawing of the PCB

Screen Shot 2016-04-26 at 11.43.48 AM.png
Screen Shot 2016-04-26 at 11.44.28 AM.png
Screen Shot 2016-04-26 at 11.44.58 AM.png
Screen Shot 2016-04-26 at 11.45.13 AM.png
Screen Shot 2016-04-26 at 11.45.40 AM.png
Screen Shot 2016-04-26 at 11.46.08 AM.png
Screen Shot 2016-04-26 at 11.47.22 AM.png
Screen Shot 2016-04-26 at 11.47.43 AM.png
Screen Shot 2016-04-26 at 11.48.08 AM.png
Screen Shot 2016-04-26 at 11.48.19 AM.png
Screen Shot 2016-04-26 at 11.48.37 AM.png
Screen Shot 2016-04-26 at 11.49.25 AM.png
Screen Shot 2016-04-26 at 11.50.16 AM.png
Screen Shot 2016-04-26 at 11.50.31 AM.png
Screen Shot 2016-04-26 at 11.50.44 AM.png
Screen Shot 2016-04-26 at 11.51.35 AM.png

It is helpful if you have a CAD drawing of the PCB then draw your box around it. the pictures all have notes so click on the first one and use your arrow keys to follow along.

Dawing the 3D Printed Sides

Screen Shot 2016-04-26 at 12.01.22 PM.png
Screen Shot 2016-04-26 at 12.02.16 PM.png
Screen Shot 2016-04-26 at 12.03.22 PM.png
Screen Shot 2016-04-26 at 12.04.07 PM.png
Screen Shot 2016-04-26 at 12.05.18 PM.png
Screen Shot 2016-04-26 at 12.05.57 PM.png
Screen Shot 2016-04-26 at 12.06.19 PM.png
Screen Shot 2016-04-26 at 12.09.52 PM.png
Screen Shot 2016-04-26 at 12.10.19 PM.png
Screen Shot 2016-04-26 at 12.11.14 PM.png
Screen Shot 2016-04-26 at 12.11.49 PM.png
Screen Shot 2016-04-26 at 12.14.11 PM.png

Next we need to draw the sides and screw holes. Sometimes the round corners can cause issues, but click on the pictures and follow along and ill will show you how to fix it.

Drawing the Back and Front for the Laser Cutter

Screen Shot 2016-04-26 at 12.22.45 PM.png
Screen Shot 2016-04-26 at 12.23.01 PM.png
Screen Shot 2016-04-26 at 12.23.47 PM.png
Screen Shot 2016-04-26 at 12.24.02 PM.png
Screen Shot 2016-04-26 at 12.24.13 PM.png
Screen Shot 2016-04-26 at 12.24.31 PM.png
Screen Shot 2016-04-26 at 12.24.46 PM.png
Screen Shot 2016-04-26 at 12.24.57 PM.png
Screen Shot 2016-04-26 at 12.25.21 PM.png
Screen Shot 2016-04-26 at 12.25.43 PM.png
Screen Shot 2016-04-26 at 12.26.59 PM.png
Screen Shot 2016-04-26 at 12.27.16 PM.png
Screen Shot 2016-04-26 at 12.27.50 PM.png
Screen Shot 2016-04-26 at 12.28.06 PM.png
Screen Shot 2016-04-26 at 12.28.32 PM.png
Screen Shot 2016-04-26 at 12.28.53 PM.png
Screen Shot 2016-04-26 at 12.29.55 PM.png
Screen Shot 2016-04-26 at 12.30.04 PM.png
Screen Shot 2016-04-26 at 12.30.13 PM.png
Screen Shot 2016-04-26 at 12.30.39 PM.png
Screen Shot 2016-04-26 at 12.31.32 PM.png
Screen Shot 2016-04-26 at 12.31.57 PM.png

Now we have to make a DXF file for the laser cutter, also don't forget to save your engineering drawing so you can modify it later if you want.

Finishing the Sides

Screen Shot 2016-04-26 at 12.33.47 PM.png
Screen Shot 2016-04-26 at 12.34.12 PM.png
Screen Shot 2016-04-26 at 12.35.03 PM.png
Screen Shot 2016-04-26 at 12.35.39 PM.png
Screen Shot 2016-04-26 at 12.35.57 PM.png
Screen Shot 2016-04-26 at 12.36.17 PM.png
Screen Shot 2016-04-26 at 12.38.17 PM.png
Screen Shot 2016-04-26 at 12.39.51 PM.png
Screen Shot 2016-04-26 at 12.40.13 PM.png
Screen Shot 2016-04-26 at 12.40.43 PM.png
Screen Shot 2016-04-26 at 12.41.00 PM.png
Screen Shot 2016-04-26 at 12.41.16 PM.png
Screen Shot 2016-04-26 at 12.41.36 PM.png
Screen Shot 2016-04-26 at 12.42.00 PM.png

Next we have extrude and export the drawing to an STL file. Click on the first picture and follow along.

Assembling Your Project.

Screen Shot 2016-05-06 at 10.07.17 AM.png
Screen Shot 2016-05-06 at 9.48.17 AM.png
Screen Shot 2016-05-06 at 9.48.07 AM.png
Screen Shot 2016-05-06 at 9.47.57 AM.png
Screen Shot 2016-05-06 at 10.08.18 AM.png
Screen Shot 2016-05-06 at 10.08.07 AM.png
Screen Shot 2016-05-06 at 10.08.00 AM.png
Screen Shot 2016-05-06 at 10.07.52 AM.png
Screen Shot 2016-05-06 at 10.07.45 AM.png
Screen Shot 2016-05-06 at 10.07.37 AM.png
Screen Shot 2016-05-06 at 10.08.27 AM.png

After painting you can assemble your project, and as long as it has been drawn accurately it should all fit perfectly. You can use small screws for buttons or 3D print them also.

The Camo paint turned out really well and is easy to do

Files for Clock Enclosure

Now if you have that 4bits clock kit you could just cheat and use the files here.... If you can't show me your CAD drawings Ill know you cheated!