Skip to content

8. Electronics Production

Our task for this week was to;
1. Characterize the design rules for FabLab Kamakura’s in-house PCB production process:
document feeds, speeds, plunge rate, depth of cut (traces and outline) and tooling.
2. Document the workflow for sending a PCB to a boardhouse

3D modeling machine at FabLab Kamakura (We used SRM-20 this time):

Model monoFab SRM-20 Sainsmart Genmitsu 3018 pro ver
Workpiece area 232 x 156mm 290 x 180 x 40mm
Software Resolution 0.01 mm/step (RML-1), 0.001mm/step (NC code)
Power Consumption 50W 60W
Acoustic Noise Level 45-65dB

SRM-20 SRM-20

1. Milling PCB using test data

For test data, we used Neil’s png files linetest.traces and linetrace.interior.

alt text alt text

Creating G-Code file using modsproject

Mods is a modular cross platform tool intended for use with commonly found machinery in fab labs. It is based on independent but interrelated modules and can be used in various tasks, including CAD, CAM, machine control, automation, UI development, input device integration, and responsiveness to physical models.

  1. Visit the mods site.
  2. Start by right clicking anywhere on screen > Program > Open Program > Roland > Mill 2D PCB
  3. A node program appears.
  4. First, we read data (png or svg). This time, we read png.
  5. Then we set PCB defaults to adjust the milling tool settings. After setting the parameters (this time we use the default), select Mill traces or Mill outliine.
    Speed: 4 mm/s
    Plunge rate: On Roland SRM-20, there was no option to adjust this
    Depth of cut (traces): 0.004 inch (max: 0.004 inch)
    Depth of cut (outline): 0.024 inch (max: 0.072 inch)
  6. We move onto Roland SRM-20 milling machine and Change XYZ to 0.
  7. We also select Save file = ON.
  8. Then we go to Mill Rastor 2D, and select Calculate to generate Toolpath.
  9. A linetest.traces.png.rml file is generated and automatically downloaded. Examine the toolpath. If it’s not displayed automatically, press View. Identify potential errors or issues in the machining process before the actual fabrication.

We also create the toolpath for linetrace.interior (we also used default values).

These are the generated toolpaths:
alt text

Once the toolpaths are completed, we can go onto Milling the PCB. Export the files using USB drive.

Here are some definitions of words that appear in mods: Plunge Rate: Depth of cut: Maximum Depth of cut: Offset number: Offset stepover:

Milling

Machine Preparation

At Fablab Kamakura, there is a dedicated PC for the SRM-20.

  1. Connect the PC to the SRM-200. Turn on lamp and machine.
  2. Open VPanel software.
  3. Fix the sheet securely to the bed using adhesive, to get a level surface.
  4. Set the bit to machine, not totally tightly as we need to set Z origin first.
  5. Set Z origin by adjusting the bit to just above the surface, lightly supporting the screw with your finger, and unscrewing so the bit drops to surface. Then fix the Z origin.
  6. Set XY origin using the arrow buttons on Vpanel (Remember, we do this only for traces, we DO NOT need to change XY origin when cutting).
  7. We can also adjust feed rate on the VPanel software here.
  8. When ready, we cut. Set Z to more than 0 to lift bit, select Cut, delete all, and open the trace file to cut, and select output.
  9. After cutting, remove the bit, use the brush to remove cutting remains, and use the solution and spatula for removing board.
  10. We do the same for interior cut. Replace the bit to 1/32 inch , and set Z origin (remember we must not change the XY origin).
alt text alt text alt text

Results

We use the test data to understand 1. how thin we can make the lines, and 2. the pathways surrounding the lines before they start peeling off.
alt text

Results:

Test Tools and Parameters Result and Action
1st Test Tsuchiya san’s bit (3 years old) Cut was uneven due to slanted surface, so we set a new sheet with better adhesives
2nd Test Tsuchiya san’s bit (3 years old) Tried again
Clean cut with very little peeling off
3rd Test Kat’s bit (2 years old, quite used) Surprisingly clean, but some remaining pieces inside the 0
4th test Shoko’s brand new bit Very clean down to the details

2. Sending PCB to Boardhouse

Create a Gerber file

Choose the Boardhouse

This site provides a good comparison.

Major Chinese boardhouses:

Major Japanese boardhouses:

Submit the gerber file

Create an account, and upload the file.

You can optionally set these parameters:

Parameter Description
Dimensions Automatically set. The larget the size the more expeensive
Base material Default is usually FR-4
Unit Minimum is usually 5
Thickness Default is usually 1.6mm. Extra cost for adjustments.
PCB color Can change from default of green, but may influence cost/lead time
Finish Can select non-lead options but will be slightly more expensive. ENIG uses gold to prevent oxidization but will be expensive
PCB Mark Order # will usually be printed on the board, but you can delete it

*You can make gerber file form plot menu in KiCAD.

alt text alt text alt text

*At the very least, if you specify the size, you can get a quote even before the Gerber files are created.

Get a quote

Unicraft

I set parameters as below:

  • Customer prepares Gerber data (Gerber data creation is not requested)
  • Rigid board FR-4 (general printed circuit board) [Standard]
  • Board size: 33.50 x 46.00 mm
  • Single-sided, single layer
  • Number of pieces ordered: 3
  • Board thickness: 1.6 mm [Standard]
  • Copper foil thickness: 35 μm [Standard]
  • Minimum pattern spacing: 0.125 mm [Standard]
  • Minimum hole diameter: 0.25 mm [Standard]
  • Silk printing: Yes [Standard]
  • Resist color: Green [Standard]
  • Board shape: Rectangular [Standard]
  • Internal cutout: No [Standard]
  • Oval hole: No [Standard]
  • V-cut: No [Standard]
  • Land surface treatment: HASL [Standard]
  • UL mark: No [Standard]
  • Continuity test: Yes [Standard]
  • Lead time: Normal delivery date [Standard]
  • Component mounting service not used Result:
    Estimated price: 14,370 yen (excluding tax)
    Price including tax: 15,807 yen

P板.com

I set parameters as below:

  • Rigid board
  • Board manufacturing service
  • Single-sided
  • L2 side from L1 side
  • External dimensions: 33.50 x 46.00 mm
  • Number of sheets manufactured: 3
  • Material: FR-4
  • Board thickness: 1.6 mm
  • Copper foil thickness: 18 μm
  • Minimum pattern width/spacing: 0.127 mm [standard]
  • Minimum via diameter/land diameter: φ0.3/0.6 mm [standard]
  • Characteristic impedance control: None
  • Resist printing: Apply to the same side as the pattern side
  • Resist color: Green
  • Silk printing: Opposite side to the pattern side
  • Silk printing color: White
  • Silk printing method: Leave it to us
  • Surface treatment: Water-soluble flux
  • Electrolytic gold plating only on terminals: None
  • Chamfering of terminals: None
  • Special processing: None
  • UL mark: None
  • AOI inspection (visual optical inspection): None
  • Manufacturing inspection report: Not issued
  • Data format: Gerber data or CADLUS X data (.comp format)
  • Design CAD: Not specified
  • Manufacturing factory: Not specified

Result: 1 day: 83,220 yen + tax
2 days: 51,300 yen + tax
3 days: 34,968 yen + tax
5 days: 29,488 yen + tax

alt text alt text