Electronics Production

Week 8 - Documentation

For this week, we are going to work on electronics production. The idea is to use what we learned in the electronics design week to make an actual board, so we can start connecting our projects.

Software and Equipment:

Mini Router CNC 3018 PRO:

Descriptimage

Soldering Station:

Descriptimage

Digital Microscope:

Descriptimage

PCB Parametrization

For the PCB parametrization, we designed a PCB board where we change the route and gap from 0.001 to 0.02in.

Descriptimage

Now, we use Fabmodules to get the .nc file.

Descriptimage

We machine the PCB.

Descriptimage

This is the result:

Descriptimage

By analyzing the PCB, we can determine that the smallest gap can be 0.016in and that the routes can go as small as 0.001in.

Descriptimage

Redesingning my circuit

Instead of using a Xiao SAMD21 and a Bluetooth module HC-05 I'm going to use an ESP-WROOM-32 for my project.

Descriptimage

Image taken from: michianti.org

The following diagrams are for the electronics schematic:

Esp32-Wroom-32

Descriptimage
Descriptimage

Switch buttons

Descriptimage

Connectors

Descriptimage

Diagrams taken from Espressif-esp32_devkit

Input voltaje regulator

Descriptimage

Diagram taken from LD1117V33-TO-220


Design process

Using the diagrams shown before, I can start designing my own board. My goal is to have this board as a dev kit, so I will make all the connections necessary to have all the pins available. I won't explain the whole process of the designing because it's the same as what we have done in week 6, so if you are interested on reading more of it, go check the electronics design week.

Electronic Schematics:

Descriptimage

2D PCB Final Design:

Descriptimage

3D PCB Design:

Descriptimage

Part List:

Descriptimage

Setting up my electronic board

You will need to save the 2D PCB as an image to use it later, so follow the next steps:

1 / 5

Step 1: Go to the command line mode.

Getting the final PCB design

Previously, I showed you how the final PCB board would look like, but to get to that result there were many unsuccessful attempts. Figuring out if the design was going to work required a careful overview of the PCB simulation made in Mods.

So before going to the attempts, lets check out Mods.

Getting the final PCB design

Previously, I showed you how the final PCB board would look like, but to get to that result there were many unsuccessful attempts. Figuring out if the design was going to work required a careful overview of the PCB simulation made in Mods.

So before going to the attempts, lets check out Mods.

1 / 14

Step 1: Go to the next url:http://mods.cba.mit.edu/ in your favorite browser.

So, now that we can use mods, let check how well it went for my circuit. Spoiler alert: It took me a while to finally get it right. It's just a matter of keep going.

Attempts

The errors will be pointed with a purple box.

First Attempt:

Descriptimage
Descriptimage

Second Attempt:

Descriptimage
Descriptimage

Third Attempt:

Descriptimage
Descriptimage

Fourth Attempt:

Descriptimage
Descriptimage

Fifth Attempt:

Descriptimage
Descriptimage

The fifth attempt didn't have shortcut problems, so I'm staying with this one.

See the following gallery to compare the changes the electronic design went over each attempt!

1 / 5

PCB 1
1 / 5

PCB 1

Cutting the circuit

Now that we have our file ready, let's go to Candle. *If you haven't download Candle, search in the web, it was easier for me to find it searching for “candle cnc”. Go to the github page and download the GBRL zip file.*

Descriptimage

Now, execute Candle and open your .nc file.

Descriptimage

This is a preview of the circuit in candle.

Descriptimage
Descriptimage

So now, we are ready to cut. I'm using a V-Groove mill to trace the routes and a 1/32" ball nose end mill for the contour.

Descriptimage

Machining process:

Descriptimage

Descriptimage

And here we finally have our circuit PCB:

Descriptimage

Soldering time!

After many attempts to get the PCB, it's time to solder the components. This was not easy, the components were so small and the PCB I designed was to compact, because I wanted it to look “pro”…

It took many attempts again. I even ruined one esp32.

Descriptimage

But this is me, making it look like if I knew what I was doing…

Descriptimage

I repeat, after many attempts, I finally got it, my circuit.

Descriptimage

Soldering time!

Searching for the correct temperature to solder our circuit I asked different electronic blogs like Techspray and buil-electronic-circuits. The suggested temperature range goes from 320-370°C, so I decided to use 350°C as my soldering temperature.


After this, I deserve a break, right? Wrong! That doesn't exist in Fab Academy. (Sad Face☹)

The time of the truth

Ok, so now that we have our PCB, let's program it! I didn't designed the PCB with a port to download a program, instead, I will use serial communication to do so. I'm the module YP-05 FTDI FT232L USB to TTL UART.

Descriptimage

Then we connected the module, the circuit, and my computer.

Descriptimage

I'm going to download the blinking led program, and here you have it. My circuit is alive! Feeling like Frankenstein jaja…


After this, I deserve a break, right? Wrong! That doesn't exist in Fab Academy. (Sad Face☹)

Descriptimage

Here, you can download the board files:

my_circuit