It all started when i've saw the instructables "Binary Game" by Keebie81
But I've thinked that a stand alone version instead an Arduino board, would have been better in order to get free the prototipation's board for other projects.
So let's begin!
WARNING: thanks to DavidV12, that informs me about an error that i made, i have to warn everyone that want to use this stand alone: because I connected AREF to VCC, you must call analogReference(EXTERNAL) before doing any analogRead() calls to avoid potential damage.
As soon as I can, i'll make a correction on the pcb
Step 1: Components and Where to Start
where I've taken this picture, and where there are the list of all the components that you have to buy. Just the components that are showed in this picture.
( At the link, there are also others steps after this picture, that show you how to add the electronic part to program the ATmega328p, but because you can use yours arduino board to program the atmel, they are not important in this guide)
!!! PAY ATTENTION !!! : when you buy the ATmega328, it has to be a final "p" after the number like this:
This because there is another versione of the component, without the final p,
that is less expensive, but it has some differences:
- the "p" stands for picoPower, and it means that the microcontroller works at very low energy consumption
- but more important, the signature inside the microcontroller are different between the two versione, the one with final P and the one with no P, that makes an error during the programmation. This error could be bypassed, but in order to make all the things more easy, buy the ATmega328p version.
Step 2: The Schematic Draw
I've drawn the schematic with Frizzing, then i have printed on paper some prototypes to see if the circuit tracks were correct.
Here there is the pdf of the printed circuit board.
Step 3: Scissors, Alcool and Iron
Now the print: you need the PNP sheet (press-n-peel) and a LASER PRINTER (the ink printer can't be used)
After printed the circuit on a PNP, you have to clean the copper with alcool or kerosene distillate oil or a good degreasing as you prefert. You can also prepare the surface sanding it whit sandpaper.
!!! PAY ATTENTION !!! : because it will be ironed onto the copper, that is the bottom surface, you DON'T HAVE TO FLIP the image I've posted in the previous step. Just print and put it on the copper.
The iron must not be too much hot: 1/2 or 3/4 of the scale will be enough, otherwise the circuit traks will blend together over the copper surface. I say it for experience.
Put a piece of fabric between the copper and the iron, push and make warm to the surface evenly for a minute or two. Then let cool the copper before touch it and then gently and carefully remove the blue sheet to reveal the blue drawn on the copper.
If there is some spots or interruption on the tracks, use a permanent pen to draw and repair the circuit.
You can see in the pictures the different color of my reparations. I think there were many because i haven't cleaned properly the surface.
Step 4: A Bath Into Ferric Chloride (FeCl3)
Now the chemical part:
You must buy a bottle of Ferric Chloride (FeCl3) to remove the copper from the surface.
!!! PAY ATTENTION !!! : Use glasses and gloves When You use this substance, Because It's corrosive for the skin, and watch out your clothes, Because if even a single drop goes on them, they will be permanently ruined.
Put it into a plastic recipient copper, not aluminum or other metal, and then put as much FeCl3 until to submerge the copper.
The chemical reaction ( FeCl3 + 3Cu -> 3CuCl + Fe(s) ) will be faster with agitation and making warmer the solution.
When the reaction will be completed, and all the copper will be gone, wash the fiberglass sheet with water.
Now you can remove the blue that cover the tracks with acetone, revealing the copper, as in the picture.
Step 5: Dremel's Part
I've used a 1mm diameter drill bit, on a drill press to make the holes perpendicular.
Step 6: Cut & Components
I've cut away the edges and then sand them with sandpaper to smooth the edges.
Then I've start to solder the components onto the circuit, from the lower components to the taller.
Step 7: Finally: Check the Circuit Tracks
Finally, to check if everything was done well, I checked out with the multimeter, setted onto ohms, all the tracks.
Hope this tutoril will be usefull for someone. If there is any question or suggestion on all the steps, let me know it.