Week 5: Electronics Production

Preparing the files

I started by opening the "hello.sch" file in EAGLE.

Then you press the Switch to Board Button to open the board.

Go to Layer Settings and only select the Top and Pads layers.

Then go to File > Export > Image and set a checkbox in monochromatic and the resolution to 1500 dpi. Then save the image.

Then, I opened the png in Photoshop to crop the excess space.

Save this as inside.png and then replace the actual circuit part with a white rounded rectangle for the outside.png.

This is used, to cut out the board from the material.

To prepare the files for the mill we used fabmodules.org which is a free website made by the MIT.

It can generate G-Code for the Roland MDX-40A we have here at the Fablab.

Import the inside.png and set the Output to Roland Mill (.rml), also set the process to PCB Traces (1/64).

Then, at the right hand side, you can set the settings to the ones inside the FabModules_Settings.txt file.

Then press Calculate and save the file.

Repeat the process for the outside file, but use the cutting settings from the .txt.

Transfer these Files to a USB Stick for use at the Roland Mill.

Milling

Milling is pretty simple if you know what to do. You pretty much just set X and Y and then set Z using the multimeter to check if it connects to the board.

First, you engrave the inside.png and then, change the drill bit to cut with the outside.png. Be sure to use the vacuum cleaner to clean up the dust particles.

The next step is to drill the holes in the board.

Soldering

Now the fun begins. It was the first time i soldered so it was hard at first but you get the hang of it rather quick.

I stared with the microcontroller, because if you mess this one up you can throw away the entire board.

I put a glob of solder on one side to hold the microcontroller in place.

The key is, to heat up both elements and then put the solder on. If you use too much solder you can use the (forgot how its called) to take the excess solder away by heating it up again.

Be sure to use the mutlimeter to test the connections!

Just follow the template step by step...

This is how the finished board looks like!

Programming

To start programming our board we need an Arduino to write the code onto the microcontroller.

After selecting the right port and the arduino uno board under the tools you can open up the arduino as isp sketch under file > examples. Upload this sketch to the arduino.

Connect the board using this schematic as a guide.

Select the right specs for the board: attiny25/45/85, attiny45, internal 8mhz and select the arduino as isp programmer.

Next click tools > burn bootloader to make the board ready for programming.

Then just use the example blinking LED code and upload it to the board.

Downloads

cloud_download Download inside.png

cloud_download Download inside.rml

cloud_download Download outside.png

cloud_download Download outside.rml

arrow_backback to index