8. Electronics Production

Group assigment

Link to a Group page of Electronics Production

Individual assigment

Ploting PCB

To start off this assigment, I used PCB design I did in week 6 of electronic design assignment which can be found here.

I started by exporting svg file of the PCB

Note:Uncheck everything expept F.Cu and Edge.Cuts layers as highleghted.

PCB Milling

Generating g code with Mods

Using modsprojects.org, I imported the SVG file into Mods, inverted the design as necessary, and specified tool parameters such as diameter, offset number, and cut depth.

First step is to import svg file and invert the section

PCB Milling

Then I checked the mill trace to

PCB Milling

Specify tool parameters mainly tool diameter and offset number as well as cut depth.

After setting parameters, I calculated the toolpaths, which opened in a new window for review.

PCB Milling

View of traces

PCB Milling

Setting up machine

I first adhered the copper board to the milling machine using double-sided tape and connected the machine to his computer via USB cable

PCB Milling

I utilized OpenBuilds Control software to manage the milling process.

Note: Make sure to set origin points correctly x, y and z axes.

PCB Milling

I opened the file in Open build to preview.

PCB Milling PCB Milling PCB Milling

After mill pcb, I also cut out the sape

PCB Milling

I aligned aligned all necessary components.

PCB Milling

I started soldering with the main component which is microcontroller.

PCB Milling

I soldered each component onto the board, ensuring secure connections.

soldering

After soldering, I conducted thorough continuity tests to verify proper connections.

soldering

PCB Testing

After soldering all components on the pcb, I wrote a simple script to lit LED so as to make sure pcb is functioning

To test the functionality of the PCB, I wrote a simple script using the Arduino IDE (Integrated Development Environment) a software application used to write, compile, and upload code to Arduino boards, which is compatible with various boards, including the Xiao RP2040.

        
        // Define pins
            #define LED D0


            void setup() {
                Serial.begin(115200);
                pinMode(LED, OUTPUT);

            }

            void loop() {
              digitalWrite(LED, HIGH);
              delay(2000);
              digitalWrite(LED, LOW);
              delay(2000);
            }
        
      

After, I complited the code.

PCB Testing

Testing Outcome

The script successfully blinked an LED, confirming the PCB's functionality.

Download files

Here is the arduino file you can use to lit LED, testing PCB

PCB

Edge cut

Arduino code to test PCB