6. Electronics design

Group Assignement

This week I learned how to design circuits on my own. Taking what we learned in Week 4. Embeded programming, I analized the components and connections to transfer them into a Schematic and then a PCB.
In the beginning I wanted to copy the simulation identically (with an ESP32 WiFi), but I realized this microcontroler was too much for the simple circuit I actually had. So I decided to downgrade to a generic XIAO module. (Also to simplify my work a little while I learn)
I had to look at the datasheets of different XIAO controlers and all my components to make sure I made the right connections.
KiCAD is the software I used for this week's assignement. It is an amazing open source suite with embedded systems that allow you to design from the schematic, to the PCB, simulations and even 3D designs of the circuit.

Walk through my process:

Selecting and placing my components from the FabLib Library.


Connecting all components between them and adding Power lines: voltage (5V and 3V) and Ground.


Adding some pins for an OLED display.


Doing Electrical Rules Checking and finding out all power inputs had to be better defined.


I tried two different ways and found the right one.


Finally got my schematic right.


Imported components from the schematic.


Started placing the components where I saw best for the connections.


Started drawing paths manually, while thinking there should be an automated way to do this. So I looked for a "freerouting" pluginn and installed it.


Checked my first 3D model to see how the would look.


A bunch of errors showed up from that automated "freerouting". I freaked out and aborted this option. (Erasing al tracks that where created)


Manually drawing tracks and placing components to avoid crossing paths.


Identifying and correcting design errors.


Identifying and correcting design errors... again. I had to go back to the schematic and make some adjustments. Luckily it is pretty easy to do on KiCad and syncronization is great.


Sketching the Edge Cuts.


A 3D view of what the final circuit would look like.


Fianlly, got the Design Rules Checker to 0.


Some of of my learnings: