In order to finalize our prototype and our project, we decided to solder the components of the Music box on a printed circuit.
The EPFL has a small laboratory where you can design your own circuit. To have access to this laboratory, we had to follow an introductory course which was given by Manuel Leitos.
We then designed our printed circuit board using the EAGLE (Easily Applicable Graphical Layout Editor) software, which has a freeware version available. To learn how to use this software, we found a tutorial on Sparkfun. We added two different libraries on EAGLE in order to find our specific components. Both libraries are on github, the first one is Adafruit, and the second one is Sparkfun.
Components of the circuit: 1 arduino uno, 2 potentiometers, 2 push buttons, 1 RGB LED, 1 piezo speaker, 5 resistors.
The design of the a printed circuit on EAGLE happens in two steps :
First we created a schematic (once we found all the components, we connected them on the Schematic following the fritzing scheme) :
Figure of the Schematic of the Music Box
Then we designed a board from the schematic. The board is not created automatically: you have to dispose the components yourself so that no line crosses each other, because this will lead to a short circuit. We also had to be carefull on which side of the plate the components would be solder and therefore do the routes on the right side. That took us quite some time to achieve. Especially we had to design on Eagle the potentiometers because we couldn’t find the specific type that we had. We also modified the spots of the RGB led because they were too close from each other.
Figure of the board of the Music Box
Once the design of the circuit was done, we printed both sides on two plastic films and we aligned them in order to have each on one side of the copper plate. The printing has to be done quite precisely because every mistake made by the printer is found afterwards on the PCB. This is also why we used two films for each side : the printer makes small random holes in the black area of our circuit (only seen with the microscope naturally) so if we add another film the random holes won’t be at the same place thus the result will be more precise. However in order to achieve this precision the two films had to be perfectly aligned with each other.
Then, we went to the laboratory and followed a specific procedure:
- Wash the copper plate with water and alcohol to remove fats. We had to scrub the plate quite hard because the fat makes bad conduction so we want to remove all of it.
- Dry the plate in the oven at 80°C.
- Cover the plate with photoresist with this machine. The plate goes down in the tank and is removed automatically.
- Then put the plate in the oven at 80°C for the photoresist to dry (8 minutes)
- At this step we actually print the circuit on the plate: put the plastic films and the plate in the UV machine and the photoresist will go away only in the areas not covered by ink
- When we reveal the plate afterwards (with developer), the circuit is already distinguishable on the plate
- The plate is then put in the etching machine to eat away the remaining copper that is not covered by the circuit
- The final step is the stripping: the remaining photoresist is stripped away with alcohol, leaving only copper
We printed it twice in case something went wrong. After that, we checked with the microscope that the printing was correct, we drilled the holes and we cut the circuit to have the following final result:
Finally, the last step was to solder the components on the PCB but we didn’t finish that yet.