Week 4 Electronics Production

Written by Nicole on
 Week 4 Electronics Production

This is the first week we're working with electronics! A summary of the topics is given below.

This week we made a circuit board. We learned to work with a small milling machine and to solder the parts of a PCB.

Assignments

Group assignment

  • Characterize the design rules for your PCB production process: document feeds, speeds, plunge rate, depth of cut (traces and outline) and tooling.
  • Document your work (in a group or individually)

Individual assignment

  • Make an in-circuit programmer by milling and stuffing the PCB, test it, then optionally try other PCB fabrication process.

Learning outcomes

  • Describe the process of milling, stuffing, de-bugging and programming
  • Demonstrate correct workflows and identify areas for improvement if required

Project management

In preparation of this week’s task, I’m planning the following steps in spiral development:

Spiral Tasks Time
1 Characterize the small milling machine (group assignment) 4 hours
2 Mill the PCB board 2 hours
3 Soldering 2 hours
4 Testing the PCB 15 min
5 Documentation 8 hours

Let’s get started!

This week’s results

Group assignment group assignment

PCB pcb

PCB other materials: copper pcb copper

How-to’s are below!

Back to top

Group assignment

This week, I completed the group assignment with Loes, Lucia and Paula at FabLab Waag.

group

Sacrificial layer

Before we start, Henk shows how to replace the sacrificial layer.

group

It is very important to create a flat surface, because otherwise the PCB’s will not come out nicely.

group

Now we’re ready to go!

group

Milling

Start with downloading the traces and interior files from this week’s class page. You can find it here:

electronics

This is the tool we’ll be using to determine the precision of the end mill.

electronics

And this will create the outline:

electronics

Open mods in the browser, right click somewhere in the canvas, navigate to programs, open programs then Roland MDX mill and select the PCD option.

electronics

This is what the canvas looks like:

mods

Navigate to WebSocketSerial block below and close both port/socket and open them again, to work around a bug at the PCB milling machine at Waag.

Then upload the traces file in the read png block.

electronics

Check if the DPI is at a minimum of 1000 to avoid inaccurate traces.

Go to PCB window press mill traces (1/64") . This feeds the Mill Raster 2D window.

electronics

In Mill Raster 2D fill in the tool diameter: 0.4 mm.

electronics

Set the cut depth: 0.003 inches.

electronics

Be aware of the inches/mm and change the max cut depth: 0.003 inches. This is the same as the depth since we are making traces.

electronics

Check offset: 4 otherwise the lines are too thin (offset means the amount of lines he tried to put in there, if it doesn’t fit he goes 3, 2, or even just one time), but if you offset:0 it will take away all the excess copper.

electronics

Offset stepover: 0.5 this means it will start the next line only half the diameter further, this is to avoid bumps in the traces.

electronics

Then there is also path order which seems arbitrary, probably useful for real PCB creators and Direction which has everything to do with how the flute (wings) of the mill chop copper off, either down or up towards the travel path.

Press calculate for the server to translate this .png image to RML (gcode) readable for the Roland machine.

electronics

In 3D toolpath viewer click view to open a new tab with the 3D traces, check if the design makes sense.

electronics

Go to the Roland MDX/iModela window and set cut speed: 1 otherwise you will break the tiny 0.04 mill.

electronics

Now its time to put the mill in. According to Henk, this is better than meditation.

On the Roland press view twice to move the plate and mill to a workable position, lower the mill a bit with DOWN not to low you still have to be able to take the mill out. With the allan key open the lock (marked blue) while holding the drill so it doesn’t drop and breaks. Place it in the little box (on the left where the good ones are) and get the 0.8 mill from the magnet on the front, place it in as deep as possible for stability. Tight the screw gently, not to strong.

If the end mill is positioned, return to mods. Select an x and y coordinate and click ‘move to origin` to find out where the end mill is.

electronics

Change that to a position where you’d like the milling process to start. Important: make sure to take a screenshot or picture of this home position.

electronics

Navigate to the Mill raster 2D window and hit calculate.

electronics

Finally, go to WebSocket serial window and click send file. Roland will mill your file! This takes about 30 minutes. Now you can grab lunch or a coffee :)

electronics

When the milling is ready, use the vacuum cleaner to remove the dust.

group

Then we can mill the outline. Continue with interior file from this week’s class page. You can find it here:

electronics

This image:

electronics

Repeat the process and select png file in the read png window.

electronics

Now select mill outline (1/12) in the set PCB defaults (mm) window.

electronics

In the mill raster 2D window, set the tool diameter = 0.8 mm.

electronics

And change the max depth = 1.60 since we want to cut all the way through the copper material.

electronics

Set the offset number = 1.

electronics

Click calculate.

electronics

Move to view toolpath and click view.

electronics

Inspect if the desired paths are created.

electronics

You can also rotate the image.

electronics

In the Roland MDX / iModela window, change the cut speed = 4 mm/s. This setting is used for cutting al the way through the material.

electronics

Check if your origin is the same as the traces file and click move to origin.

electronics

In the mill raster 2D window, click calculate.

electronics

Then navigate to the WebSocket serial window and hit send file. The milling process will now start.

electronics

Done! The smallest visible trace is 0.001 inch, as can be seen in the bottom left line of the picture. This is a milling precision of 0.0254 millimeters!

group assignment

The size of the “pocket” (resembling a tuning fork) is 0.016 inch. To check the precision of the mill, we convert inches to millimeters. This is approximately 0.4 mm, corresponding to the size of the mill.

electronics

Back to top

Individual assignment

For the individual assignment, I made the UPDI USB. This is how the example from Neil looks like:

traces

Interior:

UPDI interior

Traces:

UPDI traces

Preparing the file in mods

First upload the traces file in mods and check if the DPI is 1000.

traces

Select mill traces.

traces

In the mill raster 2D window, set the tool diameter : 0.4 the cut depth : 0.003 inch and max depth : 0.003 inch.

traces

Click view on the view toolpath window.

traces

This will open the viewer. Confirm if this is the correct result.

traces

In mods, move to the Roland MDX / iModela window. Set cut speed : 1.

traces

And position the mill correctly by changing the origin.

traces

In the mill raster 2D window hit calculate.

traces

In the WebSocket serial window, click send file. Now the milling process will start. Note: this screenshot was taken on a different computer, because it would create a nicer image than a photograph from the computer screen. Therefore, here it shows the message ‘serialport not found’. This message is correct on the computer that’s connected to the machine.

traces

Here is an overview of how the mods program converts a png to a machineable language, such as gcode.

traces

Now the milling process of the traces starts. This is captured in the documentation below.

If that’s ready, we move on to setting up the interior file in mods. Click mill outline (1/32).

interior

Change the tool diameter : 0.8 mm the cut depth : 0.6096 mm and max depth : 1.6. Also, offset number : 1.

interior

Open view toolpath using view.

interior

And set cut speed : 4.

interior

Then you can hit calculate in the mill raster 2D window and send file in the WebSocket serial window, to start the milling job.

Milling process

Make sure to not lower the mill too far (like I did the first time), because then you won’t be able to take out the end mill!

milling

Positioning on the board.

milling

Result after milling.

milling

Vacuum cleaning the traces.

milling

Intermediate result.

milling

Milling the outline.

milling

Result of both the traces and outline.

milling

Carefully remove the design.

milling

Make sure to clean the board with soap. This removes the grease.

milling

Result!

milling

Soldering

To demonstrate the process of soldering, our local instructor Henk soldered the first part.

solder

The result.

solder

Next, I made a drawing of the components based on the UPDI schematic provided.

solder schematic

And collected all parts. Pro tip: make sure to open one drawer at the time, because otherwise you might mix up the components.

solder

Then I soldered everything.

solder

The board is now ready for testing its functionality.

solder

Desoldering

If you made a mistake with soldering, you can remove solder. There are three ways to desolder, as shown on this wiki:

  1. Desoldering pump
  2. Desoldering braid
  3. Desoldering station

I tried the desoldering braid once. At Waag, we have a desoldering pump and station. For this assignment I tried the pump, but this was a little too intense for me. For now, I prefer the braid.

Testing

Before we can test if the UPDI works, we remove the copper at the ends with a Stanley knife. Otherwise it will make contact and that’s not what we want.

test

Add a piece of paper to the back, to make sure the UPDI makes contact with the cable.

test

Insert the UPDI in the cable.

test

Connect to the computer and see if it recognizes the UPDI.

test

Hero shot!

test

Testing on mac

To view the USB on mac, click on the Apple logo in your navigation bar (top left corner) and go to About this Mac. This opens a window. Click System Report. This opens another window, that shows your hardware. Go to the USB tab and check if your device shows up here. If it does, you’ve succeeded.

usbmac

Back to top

Downloads

Notes from regional meeting Europe

Another program to design PCB’s in, instead of mods is Flatcam.

Quentin Bolsee recommends to always use a vertical pin. A two-pin connector is fragile and if it’s soldered on the side it can break off easily.

Recommendation: Magnifying app on mobile phone.

Back to top