Week 08 – Electronics Production

Hero shot of my PCB board

This week is focused on Electronics Production: understanding the in-house PCB production workflow, characterizing the milling process, preparing manufacturing files, producing a PCB, soldering the components, and testing an embedded microcontroller system that I designed.

On this page I document:

Assignment and Learning Outcomes

The weekly assignment is:

Checklist

In this page I answer the required questions:

You can see the group documentation here:

Group assignment work

Group Assignment – Characterizing the PCB Production Process

For the group assignment we characterized the design rules of our in-house PCB production workflow. The objective was to understand the real limitations of the milling process and identify the minimum trace width, spacing, tool diameter, and machine settings that produce reliable PCB results.

In our lab we worked with the PCB milling machine and used Mods CE to generate the toolpaths. In León the workflow is prepared for the MDX mill, while in Ponferrada the process is adapted to the Mono Fab workflow and VPanel.

Test Files

We used the standard Fab Academy test files to evaluate the milling limits:

Machine and Tool

In our case we used a milling bit configured by default as 0.4 mm, which is an important reference for the trace width and clearance that can be manufactured safely.

tool Tool2 result

Workflow to Submit a PCB to a Board House

As part of the group assignment, we also documented the workflow to send a PCB design to an external board house such as JLCPCB or PCBWay. Even though my individual board was milled in-house, this workflow is useful for more complex designs or for boards requiring vias, solder mask, silkscreen or double-sided fabrication.

From KiCad to Gerber

  1. Finish the PCB design in KiCad.
  2. KiCad plot menu

  3. Run the design checks and verify the trace width and clearance.
  4. KiCad plot menu

  5. Open the Plot menu and export the Gerber files.
  6. Generate the drill files as well.
  7. Save all Gerbers and drills in a new folder.
  8. Compress the files into a ZIP file.
  9. KiCad plot menu

    KiCad plot menu

  10. open JLCPCB or PCBWay.
  11. Upload the ZIP file to a board house such as JLCPCB or PCBWay.
  12. KiCad plot menu

    KiCad plot menu

  13. Select options JLCPCB
  14. KiCad plot menu

    KiCad plot menu

    KiCad plot menu

This process helped me understand the difference between manufacturing for in-house milling and manufacturing for industrial PCB fabrication.

Roland MONO FAB SRM-20 – PCB Milling Workflow

result

In our lab the PCB boards are milled using the Roland MONO FAB SRM-20. The workflow combines the use of Mods CE to generate the toolpaths and the VPanel SRM-20 software to control the machine. The following guide summarizes the process used to produce the PCB.

1. Connection and Initial Check

  • Open the VPanel SRM-20 software.
  • Verify that the computer detects the machine.
  • Test the movement of the axes using the cursor controls.
  • Move X or Y slightly to confirm the machine is responding.
  • Important: be careful with the step value (Step x10).

2. Computer Setup (Mods CE Project)

  1. Open the web browser and access Mods CE.
  2. Load the program:
    • Right click → Programs
    • Open Program → Machines → Roland → Mono Fab → SRM-20 → Mill 2D PCB
  3. Import the PCB file (PNG or SVG).
  4. Image interpretation:
    • White: copper
    • Black: no copper
  5. Trace configuration:
    • Select PCB Defaults.
    • Use a 0.4 mm milling bit (Mill Traces 1/64).
    • Reduce the cutting speed to 2 mm/s (default value is higher).

3. Milling Parameters

The cutting speed depends on the milling tool diameter:

  • 0.8 mm bit: 2 mm/s
  • 0.4 mm bit: 1.5 mm/s
  • 0.3 mm bit: 1 mm/s

The machine parameters must also define:

  • Origin coordinates (X,Y,Z)
  • Jog height
  • Home position

4. Generating the .RML File

  1. Activate the ON/OFF selectors in the output module.
  2. In the Mill Raster 2D module press Calculate.
  3. A preview window appears showing the milling toolpath.
  4. Check the path carefully.
  5. Save the generated .rml file.

5. Exterior Cut (Outline)

  1. Import the PNG file corresponding to the board outline.
  2. Interpretation:
    • White: material that remains
    • Black: cutting path
  3. Select Mill Outline (1/32).
  4. Adjust the speed to 2 mm/s.
  5. Repeat the process: Calculate → Save .rml file.

6. Preparing the Machine

  • Fix the PCB board on the sacrificial layer using double-sided tape.
  • Insert the 0.4 mm milling bit and tighten the screw.
  • Only one person should manipulate the tool.

Setting the X and Y Origin

  • Move the tool using the cursor.
  • Press Set Origin Point.

Setting the Z Origin

  1. Lower the Z axis close to the PCB surface.
  2. Loosen the screw slightly.
  3. Let the milling bit gently touch the board.
  4. Tighten the screw again.
  5. Press Set Origin Point Z.
  6. Raise the Z axis about 3 mm before starting.

Pics of the process

Initial web

MOD

Select machine

Mod

Charge png file

Mod

Set the cutting tool

MOD

Set the cutting speed

Mod

Mod

MOD

Results

Mod

Mod

7. Milling Process

  1. Go to Setup → RML-1 → Millimeters.
  2. Click Cut and load the .rml file.
  3. Start with 20% speed for safety.
  4. Press Output to start the spindle.
  5. If everything is correct, increase to 100% speed.

Once the traces are finished, clean the dust and change the tool to the 0.8 mm bit for the outline cut. The Z origin must be adjusted again, but the X and Y origin remain the same.

What We Learned

I also learned that PCB production requires attention not only in the design stage, but also in the manufacturing setup. Small errors in tool height, origin or tool fixing can easily ruin a board.

Individual Assignment – Embedded Microcontroller System

For the individual assignment I designed and fabricated my own embedded microcontroller board. The board was created in KiCad, prepared for milling, manufactured on the PCB mill, populated with components, soldered by hand, and finally tested to confirm that it works correctly.

Before finalizing the design, I checked that the PCB was ready for milling:

The goal was not only to draw a PCB, but to complete the full workflow: design + export + toolpath + milling + stuffing + soldering + programming + testing.

PCB Design in KiCad

Schematic Design

I started by creating the schematic of the board in KiCad. The design includes the microcontroller, programming connections, power routing, and the input/output elements required for my board functionality.

PCB Layout

After the schematic, I moved to the PCB editor to place the components and route all traces. During this step I paid special attention to the trace width and spacing required by our in-house milling process.

Preparing the Manufacturing Files

For the in-house milling workflow, I exported the PCB project from KiCad and converted it into PNG files suitable for Mods CE.

Gerber to PNG

I used the Gerber to PNG workflow to obtain the monochrome files needed by Mods:

The conversion can be done using: Gerber 2 PNG by Kerala Team

Gerber to PNG conversion Generated traces and outline PNG Gerber to PNG conversion
  1. Export Gerbers from KiCad.
  2. Import the Gerber files into the converter.
  3. Generate black and white traces and outline PNG files.
  4. Download the generated images.

I documented it previously in Gropu assignement

Toolpath Generation in Mods CE

Once I had the PNG files, I imported them into Mods CE to create the toolpaths for PCB milling. This is the stage where the machine instructions are generated based on the traces and outline images.

Toolpath Workflow

  1. Open Mods CE.
  2. Load the traces PNG.
  3. Select the proper machine program.
  4. Configure the milling parameters.
  5. Generate the toolpath for the traces.
  6. Repeat the process for the outline PNG.
  7. Export the files for the milling machine.

Important Parameters

This part was very important because a correct toolpath determines whether the board can be milled successfully or not.

PCB Milling Process

milling

After preparing the toolpaths, I moved to the milling machine to fabricate the PCB. I first milled the traces and then cut the outline.

Machine Setup

  1. Fix the PCB material on the machine bed.
  2. Insert and tighten the milling bit carefully.
  3. Set the X, Y and Z origin.
  4. Check the bed leveling.
  5. Load the traces file and start milling.
  6. Change to the outline process after checking the traces.

Important Notes

Stuffing and Soldering the Board

soldering

Once the board was milled, I prepared all the electronic components and soldered them manually. This was a delicate step because the board contains small pads and components, so clean soldering technique was important.

Tools and Materials

I used the Fab Academy soldering references and debugging slides to improve the assembly process.

Assembly Process

  1. Clean the PCB after milling.
  2. Organize the components by value and package.
  3. Solder the smallest SMD components first.
  4. Continue with connectors, headers and larger parts.
  5. Check component orientation carefully, especially LED polarity.
  6. Inspect the board for shorts, cold joints or missing connections.

Testing and Functionality

After soldering, I tested the board to confirm that the microcontroller system was functional. I checked power continuity, programming connection, and the operation of the board features.

The board is functional because [describe here what it does: for example, “the LED blinks”, “the button changes the LED state”, “the sensor is read correctly”, etc.].

Problems and Fixes

Problems during PCB production

Problem 1 – Incorrect Milling Depth

Problem 2 – Solder Bridges

Problem 3 – Component Orientation

These issues helped me understand that electronics production depends on both good PCB design and careful manufacturing and assembly. Small mistakes in milling setup or soldering can prevent the board from working, but systematic debugging helps to solve them.

Design Files, Source Code and Hero Shot

Design Files

Source Code

Hero Shot

Hero shot of the final PCB

Hero shot of the final PCB

Hero shot of the final PCB

This is the final result: my own fabricated and tested embedded microcontroller board, designed in KiCad, milled in-house, soldered manually and programmed successfully.

Summary and Reflection

This week helped me understand the complete workflow of electronics production, from PCB design in KiCad to file export, toolpath generation, milling, soldering, programming and testing.

I learned that the quality of a PCB depends on several connected factors: design rules, trace width, machine calibration, bed leveling, tool condition, soldering technique and debugging process.

I also learned the importance of designing with manufacturing in mind. A PCB is not only a digital drawing: it must be possible to mill it correctly, solder it reliably, and test it easily. That is why open pins, clear routing, and good component placement are so important.

The final result was a functional microcontroller board, and this assignment gave me much more confidence in producing my own custom electronics for future Fab Academy work.