Skip to content

Commit 9524ec0

Browse files
authored
Merge pull request #225 from sparkfun/pcUpdates
Update README - add installation and usage instructions
2 parents 84b3109 + c4b3157 commit 9524ec0

8 files changed

+35
-3
lines changed

README.md

Lines changed: 35 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,19 @@ SparkFun Electronics KiCad Libraries
33

44
This repository contains the SparkFun KiCad Library of commonly used parts. It is a cultivated combination of KiCad stock parts, SparkFun-unique footprints, and open-source 3D models. The main branch is generally proven out but we apologize in advance if this library has errors. Please report any issues! We'll fix them quickly.
55

6-
![alt text](SparkFun_GNSS_LG290P_Breakout_3D.png)
6+
![SparkFun LG290P Breakout 3D](./img/SparkFun_GNSS_LG290P_Breakout_3D.png)
77

88
**Note:** The SparkFun KiCad components contain internal part numbers (**PROD_ID-\***) for ease of manufacture for the SparkFun SMD lines.
99

10-
### Theory
10+
## Theory
1111

1212
KiCad is very good and has a large number of industry specified symbols and footprints. SparkFun has a large number of unique parts and components created since 2002. Rather than converting all previous [SparkFun Eagle libraries](https://github.com/sparkfun/SparkFun-Eagle-Libraries) to KiCad, we are adding new parts to this library as we need them for new projects. This gives us the opportunity to clear out old badness, but opens the door to new badness (ie, incorrect footprints) so reader beware!
1313

1414
The SparkFun approach: when a new part needs to be added we decide whether to use a KiCad stock symbol, edit it for use, or create it from scratch. We give preference to the stock KiCad symbol. We give heavy preference to using the original SparkFun footprint, but look at the stock KiCad footprint for inspiration as well. We'll try to follow the [KiCad Library Conventions](https://klc.kicad.org/) where it makes sense.
1515

1616
Additionally, SparkFun needs to assign various unique manufacturing data (ie, internal part numbers) to parts. To alleviate this, there is a large number of components with an identical symbol each with their own production ID information. For example, capacitors:
1717

18-
![List of SparkFun capacitors in KiCad](Capacitor-List.png)
18+
![List of SparkFun capacitors in KiCad](./img/Capacitor-List.png)
1919

2020
We use the following naming conventions to create our 'bubble gum' parts:
2121

@@ -24,6 +24,36 @@ We use the following naming conventions to create our 'bubble gum' parts:
2424
* [inductance]\_[size]\_[max current]
2525
* [led color]\_[size]\_[wavelength optional]
2626

27+
## Installing and using these libraries
28+
29+
The structure of these libraries is close to, but does not conform to the [KiCad Content libraries structure](https://dev-docs.kicad.org/en/addons/#_content_libraries). For that reason, you won't currently find these libraries in the KiCad Plugin and Content Manager.
30+
31+
### Download ZIP
32+
33+
You can download a copy of the library by clicking on the big green `<> Code` button above and selecting the `Download ZIP` option. Unzip the file somewhere convenient, usually in `Documents`. Open the KiCad **Symbol Editor** and select `Preferences \ Configure Paths`. Add a new Environmental Variable called `SPARKFUN_KICAD_LIBRARY` and set the Path to the `SparkFun-KiCad-Libraries` folder :
34+
35+
![SPARKFUN_KICAD_LIBRARY Environment Variable](./img/Environment_Variable.png)
36+
37+
Then select `Preferences \ Manage Symbol Libraries`. Click the folder button to "Add existing library to table". Navigate to the `SparkFun-KiCad-Libraries \ Symbols` folder, select all the `SparkFun-.kicad_sym` symbol files and click `Open` :
38+
39+
![Adding the symbols](./img/Add_Symbols.png)
40+
41+
![Added symbols](./img/Added_Symbols.png)
42+
43+
Then likewise in the **Footprint Editor**, select `Preferences \ Manage Footprint Libraries`. Click the folder button to "Add existing (KiCad folder)". Navigate to the `SparkFun-KiCad-Libraries \ Footprints` folder, select everything except the `3D-Models` folder (Strictly, that one is in the wrong place. Sorry about that) and click `Select Folder` :
44+
45+
![Adding the footprints](./img/Add_Footprints.png)
46+
47+
![Added footprints](./img/Added_Footprints.png)
48+
49+
### Using Git
50+
51+
If you're familiar with GitHub and Git / [GitHub Desktop](https://desktop.github.com/download/), you can stay completely up to date by cloning this repo.
52+
53+
Again, add the Symbols and Footprints Paths as described in the previous section.
54+
55+
If you use the "Watch All Activity" option above, you will be notified each time we Push changes in the libraries. You can then Pull the changes to stay completely up to date. (It's what we do!)
56+
2757
Contents
2858
-------------------
2959

@@ -40,3 +70,5 @@ We want bragging rights that we helped (in a very small part) to create your 8th
4070
We would like the opportunity to feature your device on our homepage.
4171

4272
Please consider contributing back to this library or others to help the open-source hardware community continue to thrive and grow!
73+
74+
- Your friends at SparkFun

img/Add_Footprints.png

91.8 KB
Loading

img/Add_Symbols.png

98.8 KB
Loading

img/Added_Footprints.png

73.8 KB
Loading

img/Added_Symbols.png

75.5 KB
Loading
File renamed without changes.

img/Environment_Variable.png

20 KB
Loading
File renamed without changes.

0 commit comments

Comments
 (0)