Arduino decision box (Attiny85)
So I was a bit bored this weekend (actually I wrote this some months ago) and since I had ordered a bunch of Attiny85 chips the week after I decided to make a quite random project with them.
This is a decision box, it takes decisions for you by showing a green or a red light (it can also show orange if we programmed it to combine both colors). It’s made from wood and it has an aluminum plate to cover it all, I painted black because small wood objects tend to get quite dirty.
If you want to build one you’ll need the following materials:
- Wood (my final box is (3x3x3) cm)
- Red/green led with common cathode (negative leg at the middle)
- A pushbutton (you might want to get one long enough)
- Aluminum plate. (3x3x~0.1) cm
- 4x small wood screws.
- Thermofusible glue
- 3V button cell.
- 100, 500 and 10000Ω resistors.
- 8pin chip socket (if you plan to reuse the attiny)
- Tilt switch (optional but highly recommended)
- Thin wires (preferably non solid core)
These tools are also recommended:
- Dremel (performs better in this kind of tasks than a simple drill)
- A saw (jewelers saw) is needed if you plan to cut the wood cube and aluminum lid by yourself.
- Sandpaper (when it comes to making a perfect square there’s nothing like sandpaper)
Step 1: Making the body
Cut the wood cube, you can also use pre cut slats, this can save you a lot of time.
As always make the marks with the ruler and start to cut, unless you have very precise saws like a bandsaw or a circular wood saw the chances are you make the cube a bit irregular, this is were the painful method of measuring and sanding comes to play, mark the places you want to sand with a pencil and sand them placing the sandpaper over a flat surface.
If all goes well it should look like the picture.
Step 2: Hollowing it
Now you have make an empty space inside it, this operation is quite delicate and should be made with care.
What I did was to place the cube at my table clamp using a rag, so it doesn’t leaves marks on it, then with the Dremel I used a normal drill bit to make the initial holes, it’s very useful to put a bit of tape on the bit to avoid drilling through all the piece.
Once I have a bunch of small holes, I used the carving bit of the Dremel to carve a nice hole, finally with the sandpaper bit I smoothed the walls.
A 0,4 – 0,3 mm wall thickness is recommended.
IMPORTANT: leave more space on the corners where the screws will be placed, this grants you a bigger margin of error.
Step 3: Accomodate the components
Once you have a nice empty space where you can allocate your components you can make the holes for the push button and the LED , at this point you have two main options:
a) Drill the holes in the wood.
b) Drill the holes in the aluminum plate.
If I had the chance do this again I might make the holes at the aluminum plate because the pushbutton becomes easier to install since the thickness of the wood makes you have to use a long button, also when you unscrew it the whole thing comes out, if you do it the other way the components have to be stick to the wood and this might be quite annoying. The problem of attaching the components to the aluminum plate is the thermofusible glue doesn’t sticks to metals too well and it could end flimsy.
As always mark the right spot and have a firm hand.
Step 4: The lid
The aluminum plate is easy to cut off, just grab the box and with a pencil mark the outlines of the bottom of it, then with care, cut it out with a jeweler’s saw, you can later sand the corners and edges so they end smoother.
TIP: because the bottom of the box is probably going to be a bit irregular is useful to make a mark at the same corners of the box and plate so you can later align them correctly.
To make the holes get an appropriate bit and mark the points where you have to drill by making lines 3mm away from the sides of the plate.
TIP: to make sure the bit doesn’t moves and scrapes the metal you can punch a little hole with a pointy screw and a hammer, that will keep the bit in place, also clamp the plate tightly with a rag to prevent scratches, don’t drill it holding the plate with your hands, you could cut yourself if it get’s stuck, believe me, that happened to me once.
Step 5: Placing the lid
Once you have the holes in the plate you can drill the holes at the bottom of the box using it as a guide, now is when the markings you made to keep the pieces aligned are useful.
Use a Dremel or drill bit slightly thinner than the diameter of the screw.
You can sand the aluminum lid later as if you just wanted to sand one side, just make sure it’s tightly screwed and that you go to the direction where the wood part points and that you don’t pass over the same spot twice. Aluminum powder is very dirty and easily stains the wood.
For more detail: Arduino decision box (Attiny85)
This Post / Project can also be found using search terms:
- arduino-attiny 85
- attiny85 arduino
- attiny85 push botton