Previous: , Up: The Controller   [Contents][Index]


2.4 Enclosure

You will probably want to enclose the controller in some kind of box. This will prevent accidental short circuiting of the pins, as well as other damage. You can purchase a professionally manufactured enclosure like the one shown in Figure 2.7.

hdpe-box

Figure 2.7: The controller in a professional high density polyethylene enclosure

Alternatively, to keep costs low, you can improvise. For example, Figure 2.8 shows a micro-controller in a margerine box.

marge-box

Figure 2.8: A margerine box as an enclosure

Obviously, you will need to create holes in the enclosure through which to pass the cables to for the target and the computer. If you choose a metal enclosure rather than a synthetic material then you will must take steps to ensure that the micro-controller’s pins do not come into contact with the surfaces of the case.