# Where might I find a prefabricated enclosure for a PCB?

I'm working on a small electronics project that includes a micro-controller and a few extra items soldered down to a PCB. This project will need to be contained in a nice chassis/enclosure that can be permanently mounted somewhere.

Unfortunately I don't know the terminology required to search for an enclosure online. What kind of terminology do I need to use in order to find what I'm looking for? A shortlist of reputable websites would be an added bonus.

• Welcome to Electrical Engineering! This is a shopping question, which isn't a good fit for our site - we prefer technical questions with one right answer. Instead, ask questions about "how" and "why" to choose an item. See the blog post or shopping tag on our site about this site for more information. – Kevin Vermeer Nov 28 '11 at 17:46
• Hey @KevinVermeer, Thanks for your comment. I understand how the SE Network works, and this is possibly off topic based on the faq. Unfortunately, since Programming is my background and electronics definitely is not, I don't even understand the terminology required to search for these items. I see from your edits that you changed the word chassis to enclosure and micro controller to pcb, and I very much appreciate the clarification. How would you better prefer I ask the question in order to stay on topic and extrapolate the required information? – Chase Florell Nov 28 '11 at 17:52
• Check the history under "edited [time] ago" for an example of such a change. Also, I changed micro controller to microcontroller, and pc board to PCB. chassis refers to the larger structure giving form and function which the PCB is attached to, such as the box surrounding an industrial machine, the body of an automobile, or the case of a desktop PC, while enclosure usually refers to the smaller, um, enclosure designed to surround and protect the electronics. – Kevin Vermeer Nov 28 '11 at 17:53
• @KevinVermeer, I made an edit to better fit the community requirements. – Chase Florell Nov 28 '11 at 17:58
• Thank you! BTW, the tag wiki (ex. electronics.stackexchange.com/tags/enclosure/info) should have the information to help you properly tag the question, but this hasn't yet been written. Since these three tags don't have wikis, that doesn't work so well, but most of the tags do. We'll get around to that sometime.... – Kevin Vermeer Nov 28 '11 at 18:02

Most electronics shopping involves parametric searches. To use these effectively you need to know the terminology, which makes it difficult to get started, but a lot can be inferred with a bit of common sense. As a start, I'll work from the two mainstay distributors, Digikey and Mouser. Both links point to sections dedicated to enclosures. It's also useful to review manufacturer websites, Hammond Manufacturing and Bud Industries are two of the largest manufacturers.

## Types

To start, it's important to note that there are several types of enclosures. Note that the terminology is not particularly standardized:

• Cases are small, a few inches on a side, usually designed to sit on a desk or in the hand. They're usually made of extruded aluminum or plastic. They usually contain one PCB, mounted on rails or screw mounts built into the case.
• Enclosures are larger are intended to be wall-mounted or freestanding on the floor. The larger ones often have knockouts (circular perforations that can be removed with a screwdriver, pliers, or hammer) for wiring to enter and exit, contain internal wiring, internal components are often mounted are often mounted on DIN rail, They are usually made of folded sheet metal. The distribution center in your basement is one example. Their selection is probably specified for you by the IEC (or, in the USA, by NEMA (the National Electrical Manufacturers Association)), and there are many regulations surrounding their use. If you're working with this equipment, you'll need more education than a simple answer here can provide you with.
• Racks are towers in which equipment meeting a standard profile can be mounted. 19" server racks are one example, though they might also contain test and measurement equipment, PLCs, or other electronics.

Since you mentioned a 'small electronics project that includes a micro-controller[sic] and a few extra items soldered down to a PCB' I'll assume you want a case.

Digikey calls cases 'boxes', and has a number of subordinate 'container types', including bin, box, cabinet, case, chassis, console, and housing. Mouser's Enclosures, Boxes, Cases category has slightly more descriptive 'product' types, including boxes, cases, commercial enclosures, desktop enclosures, electronic instrument enclosures, etc. No definitions are given, so eliminate the ones which obviously don't apply and leave all the rest (ctrl-click to select multiple items). Move on to the other categories.

## IP/NEMA Classification

Both sites have a rating criteria with IP numbers. These numbers specify not the Internet Protocol address, but the Internal Protection rating - the ability of the case to keep water, dust, and fingers away from the items inside. The specification (IEC 60529, Table of Contents here) is over \$200, but decent overviews are available on Wikipedia and from other manufacturers like Altech. Let's assume that you want some minor protection against dirt and water (what else is a case for, anyways?) and go with an IP 54 or 65 rating. You could also allow higher ratings, but this still returns a couple thousand results, so we'll work with it.

## Material

Material should be obvious. There are two basic categories: Metal and Plastic. Conductive plastic blurs the line somewhat. Use metal if you want something sturdier and/or conductive. Plastic is usually cheaper.

## Design Type

Most cases use one of two designs. The simplest design is an open-top box. You can filter to these on Digikey by selecting the design type "Cover Included" or "Split Sides"; Mouser doesn't seem to have such a filter. These boxes usually have hollow pedestals on the base to which you can screw your PCB. The cover then gets screwed on top of the box. A slightly more complicated design is the tube with end caps. These usually have grooves in the side, and the PCB is slid down the grooves. If you have horizontal connectors on one side or two opposite sides of your board, the extruded design can work nicely (cut holes in the end caps), but if you have any other configuration, the open-top box is much easier to assemble.

## Size

I don't think you'll need any help on the definition of 'size'. Most of these boxes are rectangular, so length, width, and height are somewhat interchangeable. I've not found any sites that do a good job of letting you search for a size; while you might want to specify a set of minimum and maximum dimensions, the sites invariably ask you to choose the precise size, which immediately narrows your search to 1 result. Use multiple selection judiciously. This is often the most time-consuming step, so save it for last when previous selections have removed some sizes. Remember that you'll probably need extra space for wiring, panel-mounted parts, and hardware, and that larger enclosures dissipate heat better. Smaller is only better in industrial design and in weight/volume constrained environments; it's almost never better for the assembler/PCB designer.

Once you work through this process; it's just a matter of scrolling through the options. Hopefully you've narrowed it down to a reasonable number of options in the above steps!

• Talk about your canonical answer!!! Well put! – Chase Florell Nov 28 '11 at 20:28

There are a number of manufacturers that make small plastic or metal enclosures of various dimensions for electronics projects. Unless you design your PCB to line up exactly with the mounting holes provided inside the enclosure, you'll most likely have a bit of custom work to do. One route would be to pick an enclosure first and then design your PCB around that to ensure a good fit.

I have had good experiences with Hammond enclosures. Most websites that sell electronics sell small enclosures as well, so a simple search for "enclosure" on their websites should net you some results. For example, sparkfun has an entire category for them, although their selection is a bit limited - but you get the idea.

• Thank you for your answer. Other than sparkfun, what are a couple of other reputable websites for this sort of thing? – Chase Florell Nov 28 '11 at 18:22
• @ChaseFlorell I'll recommend you this site because I noticed that you're in Canada: rpelectronics.com They're one of my good local electronics stores and their enclosure selection is good. – Jon L Nov 28 '11 at 18:25
• I'll second Hammond... although I seem to have a problem finding my particular enclosure at the great price I got a few months ago. – darron Nov 28 '11 at 18:44
• I use Digikey's parts search to find the enclosure I want, then I shop around for the best price. – darron Nov 28 '11 at 18:44