Week Five

~ Electronics Production ~

Assignments:

1) Characterize the design rules for the PCB production process (feeds, speeds, plunge rate, depth of cut (traces and outline) and tooling.)



The Lab's PCB milling maching is: Roland MonoFab SRM-20

machine

To check the precision, limitation and design rules for the PCB production process I used these sample pattern:

LineTest
Outline of the test pattern

trace trace

By using Fabmodules I converted the sample pattern from .png to .rml since the milling machine can only take .rml input.

trace

Generating the PCB traces and saving the .rml file:

trace

Importing the outline in Fabmodules:

trace

Generating it's path and .rml file:

trace

Milling

Here is the two types of tools to be used in milling the pattern (1/64) and outline (1/32)

trace trace

Setting the PCB plate and polishing the surface:

trace

Setting the zero point of the z-axis:

trace

Milling the pattern and outline

trace

Result

trace

Rationale

The tool diameter is 1/64 = 0.0156 inch which is approx 0.016 inch. For the groove, 0.016 inch is located at fifth right and this seems to be the limit. For the trace width, 0.005 inch looks like the safety zone, referring on the fith left trace.

2) Make an in-circuit programmer by milling the PCB, program it, then optionally try other PCB processes

FabISP design

I first downloaded the png files for traces and board outline here:

Traces (1000 dpi)
Outline Cutout (1000 dpi)

1. Traces and Edge cut for FAbISP



These are the FabISP images for traces and board outline I used for milling the PCB

trace edge

2. Trace and edge cut conversion

First we need to import the image into Fabmodules to generate the .rml file for the milling machne. After importing the image into Fabmodules, we need to select the type of our machine and set the axes to origin.

trace

After clicking on calculate, it generates the path:

trace

I also imported the board outline to generate its path :

edge

Here iis the .rml path file for the machine:

edge

3. PCB Milling machine set up and printing the board



After downloading the .rml file, we have to import it in the VPanel for SRM-20 software in order to trace it. Here I had to first set the XYZ axes positions:

soft

Next, I tapped the FR4 board :

tap

Next, I fixed it to the sacrificial board that is fixed on the machine bed:

fix

Milling the PCB: one tool broke while I was printing and I had to replace it. This was due to the fact that I didn't level the PCB board properly. After, I had to always make sure that the tool is not forced into the board to avoid the breakage.

mill

RESULT:

mill

Tracing the PCB outline :

final

Final PCB result :

final

5. Soldering all the components on the board

LIST OF COMPONENTS



No Component Pieces
1 ATtiny45 1
2 1K ohm resistor 2
3 499 ohm resistor 2
4 49 ohm resistor 2
5 3.3 zener diode 2
6 Red LED 1
7 Green LED 1
8 100nF capacitor 1
9 2x3 pin header 1


components

To solder the parts to the PCB I reffered to below schematic and board images for proper placement. I started the difficult part; soldering the ATtiny45 and the ISP header.

tap tap

Here is the final result after soldering:

tap

Testing the USB Functionality and Programming the ATtiny45



To program the board you have to connect the USBISP programmer in the computer and first of all try to see if the computer reads it.

testing

The computer recognizing the FabISP as USBtiny. Shown in the image below:


testing

After I downloaded the firmware to be loaded in the programmer.Then run make flash in terminal to erase the target chip, and program its flash memory.

testing

After above processes, a message appears saying that the Fuses are OK, meaning the USBtiny is ready as a programmer.



Files:

Download