hy, still here but just the matter, my mind has already gone too far and I'm barely ending this week but yeah.
Electronic design is the topic, this means literally designing those green card with a lot of micro things that turn on and make things.
There is a hole process to make one of those and there is a program that helps you designing them. This program is: kicad
yep this one.
Once you open kicad it will appear a window with many options
Don't go to fast, there is a little thing we have to do before starting, we have to add the fab library to our program. I guess you already
figured out that this has to have libraries to work with.
But first
Yeah, I have to write this down because even that is confusing.
Very easy, just click:
On that button, which, this will create 2 files a schematic editor and a PCB editor.
Be careful this two files are connected, don't delete anything or open anything directly from the finder folder, just open the kicad program and open those files
in the kicad program, don't move them, just edit them.
Perfect done creating a new project
Every editor edits whats the name says jijijijijijijijijjijijijijijijijijijijijijijijijijiji
besides the bad joke, what does that mean, well
The first one, literally the first option "schematic editor" I think it's in english, this one is to add and connect the components we will
need for our project, like the micro controller, resistors, LED's, push buttons, capacitors, and everything. And it looks like this
Here I have A LOT of things to explain.
starting with, here we will work with symbols for example the big rectangle in the middle with a lot of pins of the "schematic editor". This big rectangle is the symbol of a
xiao rp2040 micro processor, and so each symbol has a name which tells you what is it, "R" is for resistor, "C" is for capacitor and so on.
to add them to the circuit we have to follow the next tutorial:
On the right side menu the third option is to add a new symbol, click on it and the libraries will load, just for the first time because we added a new one. Then the
hole symbols menu will open, there is a search bar on the up left side of the window, just type the name of the component you want and it will show you all the symbols with the
name you typed divided in the different libraries you have, collapse them all until you find the "fab" library, select it and click ok.
the search window will close and the symbol will appear on the work space. you can select it ad move it around and with "R" you can rotate it.
Knowing this we can add some leds, resistors and and the micro controller and connect them with wires, just like in this video:
This is a way of literally connecting the components between them, but there is a second way of doing it and here I have to introduce the menu just under the symbols.
That thing is the second option to add a kind of symbols, and these are the power symbols. This ones are to connect the components with out wires, is like a bluetooth connection,
IMPORTANT to remember if we want it to work properly, both symbols have to have the same name, if you change the name, it will not work.
With this in mind you can separate the components on groups and not have a mess around the micro controller.
NOTE, the only ones I'm using are 5V and GND power symbols and those are just to power the components.
There is a third option to connect wireless in this program and it is:
Labels, you can create labels to connect the pins wireless, just make sure to give each pin a different name and duplicate the label to the component you want to connect so they
both have the same name.
I though I was done, but I was not, I finished the connections and adding my components and everything ut guess what, there is a electronic rules control I have to run to make sure
what I'm doing is ok, not good, not great, just ok. Let me introduce another video to show how to do this:
This will prevent me of doing an exploding circuit and lets explain the errors because this program doesn't think like we do.
Let me add a new diagnostic so I can explain something important.
Within this errors we can see
The PCB editor is creating the circuit as it will be physically. To access to this window, on the Schematic editor go up and click on the green button to directly open the pcb editor of the project. Just like in this image:
A hole new window will open and it will automatically add the components you added on the schematic editor. You have to place them and put them how ever you want. But first we have to set some default parameters/rules for the pcb connections like the minimum space between traces, the thickness of the traces and many other rules, but the important, and with what we will be working are those 2. Let me take a video that will explain you where and how, just follow the mouse:
For this first project the teacher told me to set the trace thickness at 0.8mm and the minimum space between traces at 0.4mm. Of course these parameters can be smaller but as is my first circuit and I will have to solder the components, it sounds like a great option.
Now let's meet the interface, this interface has tools on the upper side, the left side, the right side, and the very right side of the window.
On the upper menu we have some quite important tools like, rotate, mirror, upload form schematic, run the design rules, and open the schematic file.
br
On the Right side menu there will be most of the tools we will need, tracks, figures, and layers. I have to explain something on the layers, as you can see on the name, each layer refers to a different process
of the circuit, the first layer, F.Cu means, Front Cu (coper), this layer is for the coper tracks and it's color is red, so the front tracks will be shown in a red color.
The next layer is: B.Cu from Back Cu, and it is for the back side of the plate, but in our case we will not be using it. There are many other like, adhesive, paste, mask and so on.
But we will not be using them as well. But we need to for "Edge cuts" and "user", As the name says it, the edges will be in it's respective layer, and we will use the user to create the holes, in case we need them.
Now, as we already gave the program the rules for the tracks, we can start creating them. This tracks will be the coper lines that will connect the components.
for this we just have to follow the video:
This tracks will be according to the predefined rules and th given rules.
Make sure to change the layer and once done, we can select any figure tool and make the edges of our circuit.
KiCad has a calculator for this kind of projects to make your life easier, it has many programs but in our case we will be using just the "track With" calculator to know the minimum required with.
The rule design checker does exactly what you think it does, check that every rule is followed, and if not it will show you an error or a warning.
Let's analyze the warnings and errors I had.
The first thing to appear are the warnings, these ones are mainly a text over another one or a text that goes out of the edge or something related to the labels of the components,
In our case we can ignore them because we will not work with labels, but in case be had to work with them, then we have to look for this warnings. The second page/section are the errors
In this case are non connected pines like the buttons pins and some grounds. This might sound something to worry about, but in our case we can also ignore them, because we will not be using them.
They can be not connected to anything and it will be ok.
We are finally done (:)
This is my first tim doing something like this so, honestly I just copied what my teacher did and made some minimum changes.
This become easier as more as you use it, but this first time was quite confusing, but it might be because, once again, I left it until the last day JAJAJAJA. Other thing is that I thought it was going to be even more difficult, but this program has a lot of tools that make this process easier and saves you a lot of time doing calculus and stuff like I did in the University.
-.- nothing to say, Ahora no quiere funcionar esto, quiero llorar