In the last post I looked at building a thermometer that showed the temperature and humidity of a room through the use of a color display that indicated the relative comfort level of the room, using an Arduino and a couple of extra components.
While the thermometer worked quite well, it really did just look like just a bunch of wires that glowed. To have it be part of polite society, it needed to be dressed in more appropriate attire.
Since the circuit is a fairly compact design, the thermometer would lend itself well to being housed a fancy box that could look pretty sitting on a shelf. On a recent clean-up of the shop I noticed that I had few pieces of red cedar and popular sitting in the scrap bin. I always liked the look (and the smell!) of red cedar so I always try to avoid throwing of it out on the off chance I had use for it. As luck should have it, the scrap pieces looked to be a good size to house the Arduino.
Designing The Case
With my source materials acquired, I set about designing my enclosure. Basically the enclosure had to:
- Of course contain the Arduino, Temperature sensor and the LED strip.
- Have a way to mount the LED strip so that it seamlessly integrates into the case
- To do that I decided that the case should have a slot cut into it to mount the LED.
- To add a bit of a diffusion to the LED's the slot would also be cut to accommodate a plastic strip to mount in front of the LED's
- Provide proper air flow so that the temperature sensor can properly detect the room conditions
- Be simple, basically the case should just be a your basic box.
Bill of Materials
- Two 1x4x6.5 inch pieces of popular
- Two 1/4x4x6.5 pieces of red cedar
- One 1/8x3/4x6.5 piece of clear acrylic
- Frosted glass paint
- Wood glue
- Furniture felts
- Small rubber grommet
- Table saw
- Router with a 3/4 inch straight bit
- Wood clamps
- Drill Press
- Glue
Case Assembly
Next I marked out the cavity that will be used to house the Arduino and sensor on the two popular pieces and routed out the cavities
Once everything was cut out, I then glued the two Poplar pieces together along with one of the Red Cedar pieces (which will serve as the top for our case)
Once the glue hard dried. I next had to put in a grove near the top of the case. To do that I took a 3/4 inch straight bit on my router and I cut a 1/2 inch deep groove about one inch down from the top of the case along the front. This groove needs to be deep enough to accommodate the LED strip and the 1/8 inch thick acrylic strip.
One problem that I found with the groove is that I did have it come out of the sides of the case which didn't really look very good as far as I was concerned so I really wanted to have it look a little bit better.
To solve that I cut out and glued in a couple of red cedar "plugs" to fill the ends of the grooves but still left some space on the end for the acrylic strip to be flush against the front of the case.
With the groove in place I next cut a 3/4 inch wide strip of acrylic and cut it to the length of the case.
After a quick test fit to the case (and some trimming to make it fit better) I then gave the strip a coat of glass frosting paint to get a more diffused look when the LED's are lit.
To complete the construction of the top part of the case I finished off by drilling in a few vent holes so that I could have some air flow for the temperature sensor.