Lasercut Arduino Mega Box
by bvesperman, published
Sometime ago I started working on prototyping on the Arduino platform and got a good working device. The problem was I couldn't get out of the 'ball of wires on my desk' phase. I wanted to have a generally well contained device that I could just hand off to someone and not run into the problem of a wire falling out and the end user having to debug the device. I also wanted the ability to take it apart and attach new sensors or rearrange the contents without too much headache.
The main script file 'Arduino mega Box.scad' is based off of my Laser Cut Box Generator Script that I published a little while ago. I determined the basic size of the box I wanted and then started cutting holes in it for my arduino, SD card data logger and arduino proto screw shield that I got from sparkfun.
To model where the holes went I got the arduino model from thingiverse, imported it into my OpenSCAD file so I could easily tell where the USB and power holes belong. I also imported the arduino mega holes dxf so I could get the mounting holes mostly right.
I modified the arduino.scad file to have a Shield() module. This way I could put a placeholder in my script to represent the various shields I was using. I also created another dxf file based off the board schematics for the proto screw shield so I could model the holes in my box.
I also used the PCB Stand Off Library to build a simple standoff that I could just snap in the arduino. The standoff is pretty much a one time use, it tends to break off if you try to take off the board.
I didn't really need to re-cut much. The SD card wasn't quite aligned properly the first time but everything else came out the first time.
Using a wood box makes it easy to just drill holes through to pass wires through and connect components.