During Week 08 – Electronic Production, the main objective was to design and fabricate our own Printed Circuit Board (PCB). This process involved transforming a digital electronic design into a physical board by using digital fabrication tools available in the Fab Lab.
The workflow included key stages such as circuit design, component selection, PCB layout, toolpath generation, and machining using a CNC milling machine. Through this process, we learned how to properly translate schematics into a manufacturable board, considering aspects such as trace width, component placement, and electrical connections.
This assignment allowed me to better understand the complete production cycle of electronic boards, from design to fabrication, strengthening both my technical skills and my knowledge in electronics manufacturing.
Group Assignment:
°Characterize the design rules for your in-house PCB production process: document the settings for your machine.
° Document the workflow for sending a PCB to a boardhouse
° Document your work to the group work page and reflect on your individual page what you learned
For the group assignment, we worked together to understand the PCB production process using the available machines in the Fab Lab. As a team, we explored how to prepare the design files, generate the toolpaths, and configure the CNC milling machine for both traces and cutting operations.
We tested different parameters such as cut depth, feed rate, and tool selection to ensure clean and precise milling of the PCB. This helped us identify the correct settings needed to avoid issues like incomplete traces or damaged boards.
Through this collaborative process, we gained a better understanding of how the PCB fabrication workflow works and how small adjustments in parameters can significantly affect the final result. This experience was important to ensure success in our individual PCB designs. ⚙️💡
Later, we met in person at the FabLab UNI to carry out the group assignment. At the beginning of the session, we received an additional safety briefing before operating the Roland SMR20 CNC router, where we reviewed the proper procedures and precautions needed to safely work with large computer-controlled machines in the lab.
For the PCB fabrication process, we used a Roland SRM-20 CNC milling machine, which provides high precision for electronic production in Fab Labs. During the machining process, different milling bits were selected depending on the task: 0.1 mm and 0.5 mm bits were used for fine traces to achieve detailed and accurate circuit paths, while a 2 mm bit was used for cutting and defining the board outline. The correct selection of these tools was essential to ensure clean results, avoid errors in the traces, and obtain a well-fabricated PCB. ⚙️💡
This milling tool is primarily used for CNC machines and is made of tungsten steel, which provides high durability and precision during machining. It features a 3.175 mm shank, a 0.5 mm cutter tip, and a 30° tip angle, making it suitable for detailed and fine cutting operations. This type of tool is commonly used for processing materials such as bakelite, acrylic, PVC, wood, MDF, and similar derivatives, allowing clean and accurate results in PCB and general fabrication tasks.
The 2 mm Carbide End Mill is a flat-end cutting tool widely used in CNC machining for precise cutting and material removal. It is made of tungsten carbide, which provides high hardness, durability, and resistance to wear, while the titanium coating helps reduce friction and improves tool lifespan.
This tool features a 3.175 mm shank diameter, a 2 mm cutting diameter, and a 12 mm cutting length, making it suitable for detailed cutting tasks. It is commonly used for PCB cutting, MDF, and plywood, especially for contouring and profiling operations. Due to its flat tip, it allows clean edges and accurate cuts, making it ideal for defining the final shape of machined parts. 🔩
The 1.6 mm Bakelite board is a commonly used substrate for PCB fabrication, especially in CNC milling processes. It is made from phenolic resin and paper layers, providing a rigid and stable structure suitable for electronic circuits. This material is widely used due to its good electrical insulation properties, low cost, and ease of machining.
With a thickness of 1.6 mm, it offers an ideal balance between mechanical strength and workability, making it suitable for both traces milling and board cutting. Bakelite is compatible with CNC tools such as V-bits and end mills, allowing precise fabrication of circuit paths and clean board outlines. Additionally, it is a reliable option for prototyping electronic boards in Fab Lab environments. ⚙️💡
During this assignment, I gained a deeper understanding of the complete PCB fabrication process, from design to physical production. Working with the CNC milling machine allowed me to appreciate the importance of selecting the correct tools, materials, and parameters to achieve precise and reliable results.
One of the key learnings was how small adjustments in settings, such as cut depth and tool selection, can significantly affect the quality of the PCB traces. I also reinforced the importance of careful preparation, including verifying the design files and ensuring proper machine setup before starting the milling process
Overall, this experience helped me strengthen my skills in digital fabrication and electronics production, while also highlighting the importance of attention to detail and continuous testing to achieve successful results. ⚙️💡
individual Assignment:
° Make and test a microcontroller development board that you designed
During this week, I focused on developing my own PCB (Printed Circuit Board) as part of the Electronic Production assignment. I worked on the complete process, starting from the circuit design to the fabrication using a CNC milling machine.
Through this experience, I was able to understand how to transform my electronic design into a physical board, taking into account important aspects such as tool selection, material properties, and machining parameters. This assignment helped me strengthen my skills in electronics and digital fabrication, while gaining hands-on experience in producing functional PCBs. ⚙️💡
Before starting the machining process, I created a sketch to define the structure and dimensions of the wall shelf made from 18 mm phenolic plywood (triplay). The sketch helped me visualize how the different parts would fit together and plan the joints and screws needed for the assembly.
| Item | Component | Amount |
|---|---|---|
| 1 | SEEED STUDIO XIAO RP2040 | 1 |
| 2 | Header 01x05 P2.54 mm Horizontal SMD | 4 |
| 3 | Resistor 1KΩ 1% 1206 | 3 |
| 4 | Green LED 1206 SMD | 2 |
| 5 | OLED Display (128x64 I2C) | 1 |
| 6 | Joystick Module | 1 |
Before starting the machining process, I created a sketch to define the structure and dimensions of the wall shelf made from 18 mm phenolic plywood (triplay). The sketch helped me visualize how the different parts would fit together and plan the joints and screws needed for the assembly.
This initial drawing served as a guide for the digital design and ensured that the pieces were suitable for CNC milling and final assembly. 🪵📐
The electronic components used in this project were sourced from Saisac Mecatrónica, a specialized electronics supplier located in the city of Lima. This store offers a wide range of components suitable for PCB design and prototyping. For reference, the exact location of the store can be accessed through Google Maps at: Jr. Paruro 1349, Lima 15003.
After completing the PCB design in KiCad, I exported the board layout in a compatible format (such as SVG or DXF) to be used in Rhinoceros. This step allowed me to work with the PCB geometry in a more flexible environment for visualization and additional adjustments.
Once imported into Rhinoceros, I verified the scale, alignment, and dimensions of the traces and board outline to ensure accuracy. This process helped me prepare the design for further processing, such as organizing layers, refining details, or generating toolpaths for CNC machining.
Using Rhinoceros as an intermediate tool allowed me to have better control over the geometry and ensured that the final design was clean and ready for fabrication. 📐⚙️
After completing the PCB design in KiCad, I proceeded to export the board layout using the Plot tool. In the window that appears after clicking Plot, I verified that the size was correctly updated, selected the units in millimeters, and then clicked Plot to generate the file. The design was automatically saved in the specified output directory.
This exported file was then imported into Rhinoceros, where I checked the scale and geometry to ensure everything was accurate and ready for further processing before fabrication. 📐⚙️
Once in the directory, I open the DXF files marked in a green box, using the Rhinoceros program.
Once in the Rhinoceros program, I verify that both the model units and the layout units are also set to millimeters and click OK.
In this step, the PCB design previously imported from KiCad is being refined Rhinoceros 7. The image shows the use of the SelDup (Select Duplicates) command, which is essential for identifying and removing duplicate curves that may have been generated during the export or import process.
Cleaning duplicate lines is a crucial step because overlapping geometries can cause issues when generating toolpaths for CNC milling, leading to incorrect cuts or tool errors. After selecting and deleting duplicates, the geometry becomes cleaner and more reliable for further processing.
After cleaning and verifying the PCB geometry in Rhinoceros, I proceeded to export the design in a format compatible with Aspire or ShopBot software to begin the routing process. For this, I exported the file as a DXF, ensuring that all curves were properly joined, scaled in millimeters, and organized correctly.
Once imported into Aspire, I configured the workspace according to the material dimensions and thickness. Then, I assigned the corresponding toolpaths for each operation, such as trace milling and board cutting, selecting the appropriate tools and parameters (cut depth, feed rate, and spindle speed).
Once in the Rhinoceros program, I verify that both the model units and the layout units are also set to millimeters and click OK.
Through this program, I prepared the machine to start the fabrication process. Once the file was loaded, the CNC machine followed the programmed toolpaths to cut the parts from the bakelite accurately, allowing the components of the shelf to be produced for the assembly stage. ⚙️🪵
After generating the toolpaths, I saved the G-code file and transferred it to the CNC machine. The file was then loaded into the ShopBot3 Router control software, which is used to operate the CNC router.
Through this program, I prepared the machine to start the fabrication process. Once the file was loaded, the CNC machine followed the programmed toolpaths to cut the parts from the bakelite accurately, allowing the components of the shelf to be produced for the assembly stage. ⚙️🪵
For this project, I selected 1.6 mm plywood as the main material for the fabrication of the shelf. This material was chosen because it provides good strength, durability, and stability
The thickness of 16 mm is a material that works well with CNC machining ROLAND, allowing clean and precise cuts during the milling process. 🪵⚙️
Before starting the milling process, I securely fixed the Bakelite board (1.6 mm) onto the working bed of the Roland CNC Router. To ensure stability, I used double-sided tape and made sure the surface was clean and flat to avoid any movement during machining.
Proper fixation is essential to prevent vibrations or displacement while the tool is operating, which could affect the precision of the PCB traces. I also verified that the material was well aligned with the machine axes and that the working area was correctly defined.⚙️📌
In this step, I prepared the Roland CNC Router by installing the appropriate milling bit for PCB fabrication. As shown in the image, I carefully placed the tool into the spindle while using protective gloves to ensure safety and avoid contamination or injury.
Proper tool installation is critical to achieve precise milling results. I made sure the bit was securely tightened and correctly aligned to prevent vibrations or tool displacement during operation. Additionally, selecting the correct tool diameter is essential depending on the level of detail required for the PCB traces.⚙️🛠️
To execute the milling process, I used the VPanel software from Roland, which allowed me to control the CNC machine and send the toolpaths. In this software, I uploaded the G-code files previously generated and configured the necessary parameters before starting the operation.
Through VPanel, I was able to manage key functions such as setting the origin point, controlling the spindle, and monitoring the cutting process in real time. Once everything was properly set, I initiated the milling process, allowing the machine to follow the defined toolpaths and fabricate the PCB accurately. ⚙️💻🛠️
Once everything was configured in VPanel, I started the cutting process on the Roland CNC Router. The machine followed the generated toolpaths to mill the PCB, beginning with the traces using a fine tool and then proceeding with the outline cut.
During this stage, I carefully monitored the process to ensure the cuts were clean and precise, verifying that the depth and alignment were correct. The material remained stable throughout the operation, allowing the milling bit to accurately remove the copper layer and define the circuit paths.This step was essential to transform the digital design into a physical PCB, ensuring proper electrical connections and a clean final result. ⚙️🔩
After completing the milling process, I proceeded with the assembly of the electronic components on the fabricated PCB. First, I cleaned the board surface to remove any remaining dust or residues from the cutting process.
Then, I carefully placed each component in its corresponding position according to the design and soldered them using a soldering iron. Special attention was given to correct orientation and secure connections to avoid short circuits or faulty behavior.🔧⚙️
Once I had the design exported in the RhinoCeros program, I started analyzing it and realized that, because it had lines and thicknesses, I could extrude it. While I was organizing FABLAB UNI, I found conductive tape.
| Item | Component | Amount |
|---|---|---|
| 1 | Conductive tape | 1 |
| 2 | 3D Printer | 1 |
| 3 | Cutter | 1 |
Once I have used the extrude tool in the design and have a 3D model, I export it in .stl format, and this will allow me to upload it to our preferred slicer.
In this step, I visualized the generated G-code using a preview interface, which allowed me to simulate the toolpaths before executing the fabrication process. The image shows a layer-by-layer representation of the PCB design, where different colors indicate specific movements such as outer walls, inner paths, and surface areas.
This simulation is important to verify that all traces, contours, and cuts are correctly defined, ensuring there are no missing paths or potential errors. It also provides an estimation of machining time and material usage, helping to optimize the process before actual production.
In this stage, I carried out the 3D printing process to complement the PCB development. First, I prepared the model in a slicing software, where I configured key parameters such as layer height, infill, and printing speed. Then, I generated the G-code and reviewed the preview to ensure the geometry and paths were correct.
Once verified, I sent the file to the 3D printer and started the printing process. During fabrication, I monitored the first layers to ensure proper bed adhesion and overall stability. The printer then followed the defined paths layer by layer until completing the piece.
In this step, I used conductive copper tape and carefully applied it onto the surface of the 3D printed piece. First, I peeled off the protective layer of the tape and then aligned it with the printed PCB design to ensure proper coverage of the circuit paths.
I made sure the tape adhered smoothly to the surface, avoiding wrinkles or air bubbles that could affect conductivity. After placing it, I pressed it firmly so it could accurately follow the geometry of the printed traces.
In this step, I carefully trimmed the excess copper tape to define the circuit traces on the 3D printed surface. Using a precision cutter, I removed the unnecessary material, following the design to isolate each path correctly.
This process required attention to detail to avoid damaging the conductive lines or breaking connections. After cutting, I verified that all the traces were cleanly defined and properly separated, ensuring correct electrical functionality.As a result, I obtained well-defined conductive paths, ready for the placement and assembly of the electronic components. ⚙️✂️
In this final stage, I placed and connected the electronic components over the prepared conductive paths, creating a functional prototype of my PCB. This setup represents an initial version of my final project, allowing me to validate the design before manufacturing a more refined board.
In this case, I integrated an OLED display, which will serve as the main interface in the future, and a servo motor, which will act as the actuator for the pill dispenser mechanism. By assembling these components, I was able to test their interaction and verify that the circuit works as intended.This prototype approach helps me evaluate the system behavior, detect possible improvements, and move forward with a more optimized and reliable final design. ⚙️🔬
During the fabrication process, I encountered an issue when trying to send the cutting job to the Roland CNC Router. There was a misconfiguration in the machine drivers, which prevented proper communication between the computer and the CNC..
This problem delayed the start of the milling process, as I had to review and correct the driver settings to ensure the machine was correctly recognized and could receive the G-code files. After troubleshooting and reconfiguring the drivers, I was able to restore the connection and continue with the fabrication process normally..
During the group work, one of the main challenges was coordinating the use of the CNC machine and organizing the workflow among team members. Since several people needed to use the equipment, we had to carefully plan the machining times and preparation steps to avoid delays.
Another challenge was ensuring that everyone correctly understood the CNC preparation process, including setting the X, Y, and Z axes, fixing the material properly on the machine bed, and verifying the toolpaths before starting the cutting process. Small mistakes in these steps could affect the machining results.
Through collaboration and discussion, we were able to solve these issues by helping each other review the machine setup, checking the files before cutting, and sharing our observations during the fabrication process. This teamwork helped us achieve more accurate and safer results when using the CNC router. ⚙️🪵
As a team, we learned how to safely test an electronic board before measuring signals by first checking the power connections and possible short circuits using a multimeter. After confirming that the board was working correctly, we used the oscilloscope to analyze the signal generated by the Raspberry Pi Pico, connecting the probe ground to GND and the tip to the corresponding GPIO pin.
We also learned how oscilloscope settings such as VOLTS/DIV, TIME/DIV, and the trigger configuration affect signal visualization. Through troubleshooting issues like incorrect pin selection or unstable trigger settings, we were able to obtain a clear and stable signal and understand the difference between a multimeter reading and an oscilloscope waveform.
Here are the project files available for download: