4. Electronics Production

PCB

A pcb is Printed Circuit Board that we find in every product that has some electronics. It is in this case made out of copper because copper is a very conductive material.

PCB's are circuit boards consisting of alternating layers of conductive and non-conductive material. The inner conductive layers feature copper etchings that allow power and signals to pass to connected circuit components.

Create the PCB

To be able to create the PCB, it is important to have the design converted as a png.

With this website: modsproject you can create the file that you need for the machine.

You import the png of the design and check the parameters like the speed, the type of endmill and the origin.

First you start with the traces, then with the holes and then with the outlines.

screenshot of the modsproject

Once the parameters are set, you can calculate the path and download the file. The files are in .rml

After uploading the files onto the drive, you can start the proces with the machine.

In order to start, it is important that you define the Origin and the Z axis for the height and the type of endmill you need to use.

Once the Origin and height are set, the machine can start. As you can see on the picture, there is a lot of dust that gets generated.

image of the pcb proces

Schematic pcb and info board

This is the schematic of the pcb with the components.

image of the pcb schematic

This is the info about the board.

image of the pcb schematic

Soldering components

Now that the PCB is ready, it is time to add the components. Adding components can be done by soldering.

The soldering went quite good, just takes a long time :p

Unfortunatly I did not take any pictures during the soldering (too concentrated) but this is the end result:

image of the pcb soldering proces

Arduino

The pcb is ready and needs to be programmed. The programming needs to be done with Arduino. To start, I needed to download the Arduino program. I downloaded it from this page: Download arduino

It is also important to install and configure the correct programs to be able to code the Seeed XIAO RP2040 board.

image of the pcb coding proces

Now that the board is installed, we can try the Blink program. With this it is possible to test all the LED's. This is the code I used to make the 3 LED's blink every second.

image of the pcb coding proces

Result

Here you can see the result of the blinking lights!

Button

To test the button, and make the LED go on or off when the button is pressed, I used Chatgpt to create the code.

This is the code that Chatgpt created:

image of the pcb coding proces to test the button

Result

Here you can see the result of the button that turns on/off the LED!

files

modsproject + png traces, outline and holes

Own dev board

I made my own dev board, where i expose all of the pins of the microcontroller esp32-s3-wroom-1.

Kicad

image of the pcb kicad image of the pcb kicad

Pictures

image of the pcb kicad

This is the file

First boardmodsproject + png traces, outline and holes

Dev boardkicad files+modsproject + png traces, outline and holes