Skip to content
Snippets Groups Projects
Commit 374940f0 authored by James Khan's avatar James Khan
Browse files

Update 19 files

- /docs/assignments/week08.md
- /docs/images/week08/week08-03.png
- /docs/images/week08/week08-06.png
- /docs/images/week08/week08-04.png
- /docs/images/week08/week08-05.png
- /docs/images/week08/week08-07.png
- /docs/images/week08/week08-08.png
- /docs/images/week08/week08-10.png
- /docs/images/week08/week08-09.png
- /docs/images/week08/week08-14.png
- /docs/images/week08/week08-11.png
- /docs/images/week08/week08-12.png
- /docs/images/week08/week08-13.png
- /docs/images/week08/week08-15.png
- /docs/images/week08/week08-16.png
- /docs/images/week08/week08-17.png
- /docs/images/week08/week08-18.png
- /docs/images/week08/week08-19.png
- /docs/images/week08/week08-20.png
parent 63556ba1
No related branches found
No related tags found
No related merge requests found
Pipeline #544576 passed
Showing
with 56 additions and 4 deletions
......@@ -64,8 +64,9 @@ My choice came down to a couple of factors:
### Making my design
#### Final files
My KiCAD design files can all be downloaded here :
- [complete KiCAD files](../files/week08/jamesk-elec-design-2024-10-03_112018.zip)
- [Complete KiCAD files (ZIP)](../files/week08/jamesk-elec-design-2024-10-03_112018.zip)
- [KiCAD schematic](../files/week08/jamesk-elec-design.kicad_sch)
![KiCAD schematic Final](../images/week08/week08-01-schematic-final.png)
......@@ -74,13 +75,64 @@ My KiCAD design files can all be downloaded here :
- [KiCAD copper traces DXF](../files/week08/jamesk-elec-design-F_Cu.dxf)
#### Designing process - schematic
- I began by opening KiCAD in the Schematic Editor.
![](../images/week08/week08-03.png)
- in the blank schematic I clicked the 3rd icon from the right hand menu to "add symbol"
![](../images/week08/week08-04.png)
- I then used the window that popped up to select the component I wanted to add (in this case my microcontroller) and clicked "OK"
![](../images/week08/week08-05.png)
![](../images/week08/week08-06.png)
### sub categories....
- I repeated this step for each component I wanted to add. (this one has every component escept the 6-pin connector that I added later)
![](../images/week08/week08-07.png)
- Then I used the "add global label" icon on the right panel to add labels for every trace I inteded to connect. I also used the "add power" for the ground and power labels. As I added them I used the "add wire" icon to draw connections between each label and the component it was suposed to be connected to.
![](../images/week08/week08-08.png)
- I then ran the "electrical rules checker" from the "inspect" tab on the top of the screen. This generated a number of errors. I reviewed each error that was reported. I missed some connections that I should have made, and corrected them. However most of my "errors" were just not connecting anything to tabs on the microcontroller that I didn't intend to use.
![](../images/week08/week08-09.png)
![](../images/week08/week08-10.png)
- After everything was added, by schematic looked like this.
![KiCAD schematic Final](../images/week08/week08-01-schematic-final.png)
#### Designing process - layout
- I went back to the main KiCAD window and clicked on "PCB editor".
![](../images/week08/week08-11.png)
- This opened the PCB editor window.
![](../images/week08/week08-12.png)
- I clicked on "tools" from the top menu and then "update PCB from schematic"
![](../images/week08/week08-13.png)
- This was the PCB layout generated (again this was before I added my 6pin ground later on)
![](../images/week08/week08-14.png)
- I dragged all the component around the board to where I vaguely thought I would like them in the completed design. I then moved them around to try to minimize the amount of crossed lines (traces) on the design.
![](../images/week08/week08-15.png)
- I then went to "file" from the top menu and selected "board rules". I changed some of the constraints to the settings below.
![](../images/week08/week08-16.png)
- Then I clicked on "route tracks" (4th icon on right hand symbols menu). And then began connecting all the traces to the points that were connected by the thin lines indicating what should be connected to one another. I spent a lot of time moving components around and rotating them to get a layout were everything was connected but no traces were crossing one another.
![](../images/week08/week08-17.png)
- I then ran the "design rules checker to see what I missed. There were a few traces that I missed, so I made the necessary changes to fix them.
![](../images/week08/week08-18.png)
- I went back and added my 6pin connector in the schematic, and then updated my PCB. After that I moved allot of my components closer together and added some text to my PCB layout.
![](../images/week08/week08-20.png)
![](../images/week08/week08-19.png)
## Lessons learned
- I assumed trace routing was automatic within KiCAD without any pl
- I forgot about the encasing of my final board. breakout board for buttons and LEDs. will still use vertical pins on side
- I assumed trace routing was automatic within KiCAD without any plug-ins, but it doesn't. I realised that doing the traces manually allowed me to better understand my layout, and to add features that made it more to my liking. ALthough I can see how doing manual traces can get difficult with complicated schematics.
- KiCAD seems to be incredibly powerful, and I will prbably never be able to understand many of it's more advanced features. It can feel intimidating at first, with how many options are available at every turn, but it is not too difficult to get started with a basic design.
docs/images/week08/week08-03.png

158 KiB

docs/images/week08/week08-04.png

166 KiB

docs/images/week08/week08-05.png

229 KiB

docs/images/week08/week08-06.png

204 KiB

docs/images/week08/week08-07.png

214 KiB

docs/images/week08/week08-08.png

231 KiB

docs/images/week08/week08-09.png

234 KiB

docs/images/week08/week08-10.png

275 KiB

docs/images/week08/week08-11.png

163 KiB

docs/images/week08/week08-12.png

219 KiB

docs/images/week08/week08-13.png

241 KiB

docs/images/week08/week08-14.png

318 KiB

docs/images/week08/week08-15.png

285 KiB

docs/images/week08/week08-16.png

275 KiB

docs/images/week08/week08-17.png

276 KiB

docs/images/week08/week08-18.png

289 KiB

docs/images/week08/week08-19.png

304 KiB

docs/images/week08/week08-20.png

233 KiB

0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment