Home About Me Weekly Projects Final Project

Electronics Production


COUNTDOWN


For this week we had 2 assignments:
  1. Group Assignment
  2. Make an in-circuit programmer by milling the PCB

Testing the CNC Machine

So the idea was to understand the different settings of the CNC milling process that could affect the output products.
There are many variables in the Milling process setting that could be changed and respectively affect the output of the machine.
The settings are:

  1. RPM of Milling Bit is the variable that controls the rotating speed of the milling bit.
  2. Mrilling Bit Diameter is the variable that is directy related to the bit diameter. The bigger the diameter, the less we can achieve thin connecting lines.
  3. Feed Rate is the variable that controls the rate the milling bit moves on the surface of the copper board. Milling the inner lines requires a normal feed rate. However, milling the outer parameter of the pcb required very slow feed rate.
  4. Offset Number is the variable that controls the number of passes the milling bit does over the same path. This setting majorely affects the final product. Paths that are not cut in the first pass post probably will be cut during the other passes.

Saying that, we started by a Test File we got from the internet, that has different paths of vairious thicknesses. We tested milling this image using the milling bit of diameter 0.2mm.
The test file was downloaded from the following Link
After that, we noticed that not all paths stayed, and the thin paths (less than 0.005mm) were missing. Thus we deduced that our limitation is that the milling bit cannot mill paths less than 0.005 mm.



PCBTEST



Individual Assignment

The group assignment is characterizing the CNC milling machine we used in the lab to produce PCBs, specifically the fabISP provided by our FabAcademy instructor. We received two files in PNG format:

Both pictures had to be modified on FabModules to generate the G-code to send to the CNC machine.

On Fab modules, certain steps need to be taken to generate the proper G-code:
  1. Choose input format and select image (png) that the g-code is going to be generated from


  2. Fabmodules

  3. Then select the file from the specific folder


  4. Fabmodules

  5. Then go on to Output format and select the format that applies to the CNC machine you are using, in our case it was Roland mill (.rml)


  6. Fabmodules

  7. Then select Process and choose PCB traces (1/64)


  8. Fabmodules

  9. Under Input, make sure you have the correct DPI, it should be (599.999), Do not adjust anything else In our case it was different since one of the components wasnt available, we had to adjust the original file to add it and ended up with a DPI of 1500


  10. Fabmodules

  11. Then under Output, select the CNC machine you are using, it was a Roland MDX-40 in our case and do not adjust anything else, the only thing you should do is double check that the speed is 4 mm/s for tracing the interior of the board


  12. Fabmodules

  13. Then Under Process, adjust the cut depth which should be 0.0 mm for the internal tracing, the tool diameter (drilling bit) which was 0.1 mm in our case
    Number of offsets is 4
    Offset overlap is 70%
    No other adjustments should be made.


  14. Fabmodules

  15. Once the Input, Output, and Process tabs are double have been adjusted and double checked. Go ahead and press the calculate button


  16. Fabmodules

  17. Then finally click the save button next to the calculate button and save it to the designated folder. It would be saved as an .rml file


  18. Fabmodules


NOTE: While on FabModules, set X and Y to 0 if you are looking to be economical while tracing the boards (The carving point would be much closer to the starting point).




Milling (printing) PCB's interior traces

In order to start this, the following steps need to be taken:

  1. First off you need to use the application Drop-Out to send the .rml file we you just made to the CNC machine


  2. PCBmilling

  3. On the Drop-Out application press the add button and choose the .rml file you created and press open


  4. PCBmilling

    PCBmilling

  5. Then go to File and select Print Setup


  6. PCBmilling

  7. On the Print setup first choose the name of your printer, in our case it was the Roland TS-30


  8. PCBmilling

  9. Then go the Properties and press the Tool tab, the only thing that should be adjusted are the Z down position and Z engraving pitch both should be at 0.00 mm


  10. PCBmilling

  11. Then go on to the Options tab and select Operation Panel


  12. PCBmilling

  13. Set the X and Y-axis on where you want you PCB to be engraved on the copper board inside the CNC, press the XY axis SET button


  14. PCBmilling

  15. As for the Z-axis, newer CNC's have an automatic sensor that sets it, in our case on the MDX-40 we have to do it manually. In order to do this delicate process we need to gradually bring it down onto the board, have a multimeter with the beep mode on and have one of the cables on the copper board and the other on the drilling bit. In that case as soon as the drill-bit touches the copper board the multimeter would beep. Make sure to go extremely slow at the end so you dont risk breaking your drill-bit


  16. PCBmilling

    PCBmilling

  17. Once you hear the beep, you know that the drilling bit is right at the surface and you can go back to the operational panel (on Drop-out), select the Z-axis from the dropdown menu and set the Z-axis.


  18. PCBmilling

  19. Once everything is set press OK until you reach the first page of drop-out and press theOutputbutton. Your CNC machine should now start the process of milling/engraving the copper plate set inside. watch the process until its done


  20. PCBmilling

  21. Check the final result, using a multimeter with the beep setting to make sure components are isolated and all conductivity channels are connected

Milling (printing) PCB's Outer Cut

In order to proceed with this, the following steps are taken:
  1. First to you need to prepare the .rml file for the outer cut of the PCB by following the exact same steps as the ones for the interior. Only this time make the necessary adjustments shown in the image below.
    (check the DPI, select Machine, Speed is 0.5 mm/s for cutting, the depth of your copper board ours is 1.7mm, select the tool diameter 1.00 mm and change the number of offsets to 1. )


  2. FabModules

  3. Then change the drill-bit into the one for cutting through the copper plate, we used the 1.00 mm for that process. In the case of the Roland MDX-40 we have to use the wrenches to change the drill-bits


  4. PCBmilling

    PCBmilling

Soldering

Now that we have the PCB layout cut-out, we move on to soldering. In order to do so we first need certain tools to proceed, find the list with specs below: Use a fine tip for the soldering Iron as the components are small, and a magnifying glass would be more than just helpful.

Then follows the list of components: Now for the actual soldering, I used the schematic provided by our remote instructor. (We actually had to go through Eagle and adjust the actual one because we couldnt get our hands on some components and had to improvise).



Then set-up your soldering station and start the process.

Soldering

Soldering

Soldering

Soldering

Now for the final step in this process, make sure all connections are ok using the multimeter on the beep option. And you should be set to move on to the next step.

Programing the PCB


So again in order to do so certain steps need to be taken, and the are as follows:
  1. First we need to cennect the Arduino to the PC, open the Arduino IDE and make sure you have the right board and port under the tools tab


  2. arduino

    arduino

    arduino

  3. Then under file and examples, you need to find the ISP program and upload it to the Arduino


  4. arduino

    arduino

  5. Now disconnect the arduino form the PC and connect it to your ISP using the following schematic


  6. arduino

  7. Once the connection between the arduino and your ISP is made, connect the arduino to the PC again. And run the terminal (on LINUX) and type the following commands
  8. Then you need to go to the Desktop directory through the terminal and download a zipped file and unzip it. using the following commands
  9. After you unzip the file, through the terminal enter the unzipped file named 'fabISP_mac.0.8.2_firmware/'
  10. Then add the following commands on the file's directory

And you now have your own ISP!

ISP

ISP


Downloads



ISP External
ISP Internal
Firmware ZIP