Electronics production

Milling the board

The first step was to select which version of fab ISP to make. I used Brian's version.

I downloaded the traces and the outline.





So the first step was using web based Fab Modules to convert the PNG drawings to RML files.

We use the default sittings on the website except for two things: 1- Setting, x0 = 0, y0= 0, and z0 = 0 2- Choosing the machine which was SRM-20 in our classes

I forgot to choose the machine and here is the result xD.


Now, I will go back and explain the steps that should be taken to start milling after having the RML file:

1- prepare the mahcine, actually we faced two problems while doing this assignment, one is that we did't have 1/8 inch collet and the milling bits we had were imperial. The other problem was that the z-axis couldn't reach the build plate. The solution of these two problems are documented in Hashim's Week4 documentation.

2- Put the milling bit and tightening the srew.

3- Go to xy cordinate where you like start milling.

4- Turn the spindle on.

5- Go down in the z-axis by x1 (0.01 mm)

6- Stop! when you see any dust.

7- Zero XYZ.

8- Write down the machine cordinates.

9- Execute the RML file.

The board after milling:


Soldering

Firsly, I obtained all the needed compenents. This was my first time soldering SMD.

I thought I would be very hard but I found that it is manageable. While soldering you don't heat the solder, you heat the copper surface first, then after 3-4 seconds,you touch the surface with the solder. That's when a little part will melt, then you place the component and solder it.

After finishing you have to make sure the soldering connected the component to the copper surface so you test it with the multimeter. While soldering, some parts has a direction, others don't. Those which has, has to be place exactly with the right direction.

Before and after soldering:




I think it is clear that the two pictures where taken weeks apart lol. You can see that I removed the copper from the front part of the ISP.

Programing

Firstly, I made the cable.



I used a 2x10 connector because this is the connector available in the market, so we're ordering 2x6 connectors from Digi-Key.

Then, I programmed my Fab ISP using the steps in Brian's page. I used Francisco's programmer to program my board. To align the cables I make sure that the same color of the two cables are connected to Pin 1 of the microcontroller.





After downloading the makefile. I modified it and changed the programmer to PROGRAMMER ?= usbtiny.

I missed with my ISP before and I don't rememeber what I did exactly, so I wrote this in the terminal make clean.

Then, I wrote in the terminal make all and it generates the hex file to be uploaded.

Then to upload the file I wrote in the terminal sudo make flash. After that, run sudo make fuses.

After that, I disconnected the programmer and connected mine, and to make sure that it is working properly I used the command lsusb. And I found Multiple Vendors USBtiny



The last step is to write sudo make rstdisbl to disable the reset.
And by this I finished the assignment and my FabISP is working.

Tip: sudo !! means sudo the last command