Electronics Production

Group Assignment: Characterize the design rules of your PCB Production process


In this week we worked on PCB fabrication. We learned about how to use SRM 20 machine for PCB production. First of all we need to characterize the design rules for PCB and understand the process of PCB fabrication. We have taken bit characterization file from lecture siteand processed it. SRM 20 work on rml file. Mods is used to process the PNG file and produce the required rml file for SRM 20.



Following are the Steps for PCB fabrication:



Step: 1 Open the Mods
="Responsive

Step:2 Select "SRM 20" and "PCB png"
="Responsive

Step 3: Outlook of Mods for SRM 20 PCB
="Responsive

Step 4: Separate the trace and outline of Circuit using paint and save as PNG
="Responsive

Step 5: Import PNG file from PC.

Click on "Select PNG file" and browse to png. Select and open it. Select the outline/trace. 1/32 for outline and 1/64 for the trace. Then click Calculate. Rml File will be automatically saved in your PC.

="Responsive

Step 6: Repeat step 5 for outline/drill
="Responsive

Step 7: Click on "view" to see the machine path ".
="Responsive



Step 8: Open Machine software"V Panel for SRM 20"

Set the start point manually. Save the X, Y and Z points. Click the cut and browse the rml file which we calculated using mods and then click "output".
Note: Always cut the trace first with 1/64 bit.

="Responsive
Step 9: Change the tool(1/32 for outline)

After trace, change the tool and place the 1/32 bit. Adjust the Z axis again and click "cut".

="Responsive

Step 10: Take it out.

Clean it using Isopropile Alcohol.

="Responsive

Final result

Bit was little old that's why you see result is not too good, but it is good enough.

="Responsive


Assignment: make an in-circuit programmer by milling and stuffing the PCB,test it


In this week we need to make the pcb of ISP, program and to test it. So I took Neil's circuit of AT tinny 44 from here. I took png file of trace and outlined and processed it using MODS to get the rml file. Gathered the components used it this circuit and soldered it. I tested circuit with multi-meter. Finally I programmed it using Linux operating system.

Step 1: Generate the rml file for traces.

Follow the above steps to generate the rml file.

="Responsive

Step 2: Generate the rml file for outline.

Use same process for outline. Select 1/32 bit size.

="Responsive

Step 3: Open the V panel for SRM 20 software

Set the X, Y and Z position of the machine where you want to start the cut. Then import the rml file generated through mods. First take the traces file and mill. After trace is complete, change the bit to 1/32 bit. Set the Z axis and then mill.

="Responsive
Step 4: Take it out and clean it.
="Responsive

Here is final result
="Responsive

Step 5: Take out all the components

Best practice is to write all the components with values and put double sided tape on side of paper. Paste the component against each name and also put board there.

="Responsive
Step 6: Soldering

Open image and circuit board on PC or laptop in front of you and start soldering. Best practice is to solder the IC first then small components from center to outside direction.

="Responsive
Final
="Responsive
Step 7: Programming

Before the start of programming, check all the connection using Multi-meter. Make sure that there is no any short circuit. For programming I followthis tutorial. I am using Linux to program using my instructor usbtinny isp.
Following are steps:

  1. To program the Fab ISP, you first need to install the necessary software for your operating system and download the firmware.
  2. Edit the Makefile
  3. Set the fuses / program the board
  4. Verify that the board is working properly
  5. Then you need to open up the jumpers to make it a programmer.
Ubuntu Software Install

Follow this tutorial and Install necessary Softwares, downloaded the firmware and edit the make file

="Responsive ="Responsive

Connect my ISP with my instructors ISP and computer
="Responsive

Run the command "Nano Makefile" ,"Make clean", "Make hex","Make Fuse" and "Make program"
="Responsive

After hex was completed if tried to run the make fuse command but I got this error. I tried to debug it. Tested the connections, then tried but again I was getting same issue. After revisiting the above tutorial, I found my mistake. I didn't edit the make file. I opened make file and comment out this line.

="Responsive

Re-run the command "Nano Makefile" "Make clean", "Make hex","Make Fuse" and "Make program"
="Responsive ="Responsive

finally it worked.



Final result
="Responsive

Now desolder the 0-ohm resistor to make it a programmer



Download all files from here

="Responsive

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.

Contact me

you can get in touch with me

Engr. Farhan Ali Shah

Email: farhan.shah@iba-suk.edu.pk

Thank you for visiting my site

woods are lovely dark and deep, but i promise to keep. Miles to go before i sleep, miles to go before i sleep.