All Projects → kicad-spice-library → KiCad-Spice-Library

kicad-spice-library / KiCad-Spice-Library

Licence: GPL-3.0 license
Centralized repo to store KiCad/Spice modules for simulations

Programming Languages

Lex
420 projects
AMPL
153 projects
python
139335 projects - #7 most used programming language
IDL
102 projects
perl
6916 projects
C++
36643 projects - #6 most used programming language
Roff
2310 projects

Projects that are alternatives of or similar to KiCad-Spice-Library

svg2mod
Convert Inkscape SVG drawings to KiCad footprint modules
Stars: ✭ 72 (-38.46%)
Mutual labels:  kicad
omega-dock-new
A dock for Onion omega, omega2 and omega2+. It features: Microusb for power supply, USB host, Ethernet
Stars: ✭ 36 (-69.23%)
Mutual labels:  kicad
esp32bb
A KiCad project for esp-wroom-32 and breadboard.
Stars: ✭ 44 (-62.39%)
Mutual labels:  kicad
C64-Modulator-Replacement
A simple modulator replacement for Commodore 64s with "longboards", complements my Lumafix version as well adding an audio connector for second SID.
Stars: ✭ 31 (-73.5%)
Mutual labels:  kicad
Model-M-Type-C
A modern yet simple Model M replacement controller
Stars: ✭ 67 (-42.74%)
Mutual labels:  kicad
CrumpPrints.pretty
KiCad repo for footprints I've made.
Stars: ✭ 19 (-83.76%)
Mutual labels:  kicad
rf bridge
RF (433Mhz) to MQTT Bridge - with hardware
Stars: ✭ 38 (-67.52%)
Mutual labels:  kicad
0xCB-1337
Mechanical macropad with OLED running QMK
Stars: ✭ 33 (-71.79%)
Mutual labels:  kicad
kicad-website
This is the official website source for KiCad [moved to https://gitlab.com/kicad]
Stars: ✭ 60 (-48.72%)
Mutual labels:  kicad
sunraster
A SunPy-affiliated package which provides tools to analyze data from spectral data from any solar mission.
Stars: ✭ 19 (-83.76%)
Mutual labels:  spice
musicboy
A high-quality audio playback cartridge for Nintendo® Game Boy® and Game Boy Color®.
Stars: ✭ 25 (-78.63%)
Mutual labels:  kicad
kicad-3dmodels
Home made open source STEP and VRML 3D Models for Kicad
Stars: ✭ 42 (-64.1%)
Mutual labels:  kicad
rust-spice
WOW! The complete NASA/NAIF Spice toolkit is actually usable on Rust
Stars: ✭ 31 (-73.5%)
Mutual labels:  spice
pcad2kicad
Convert Altium Designer and PCAD library to KiCad
Stars: ✭ 94 (-19.66%)
Mutual labels:  kicad
kicad-jlcpcb-tools
Plugin to generate BOM + CPL files for JLCPCB, assigning LCSC part numbers directly from the plugin, query the JLCPCB parts database, lookup datasheets and much more.
Stars: ✭ 537 (+358.97%)
Mutual labels:  kicad
KiCad sharp
A C# library wrapping some of KiCad's functionallity, allowing for some features not in the software and programmatic circuit creation
Stars: ✭ 28 (-76.07%)
Mutual labels:  kicad
smd
Space Mission Design - A SPICE-enhanced continuous thrust interplanetary mission propagator and vizualizer
Stars: ✭ 22 (-81.2%)
Mutual labels:  spice
KC2PK
KiCad to PartKeepr BOM Tool with Octopart integration
Stars: ✭ 28 (-76.07%)
Mutual labels:  kicad
nodeLHC-ESP32
Hardware aberto e colaborativo nodeLHC
Stars: ✭ 28 (-76.07%)
Mutual labels:  kicad
EnvOpenPico
An open source RP2040 MCU Board Family
Stars: ✭ 87 (-25.64%)
Mutual labels:  kicad

KiCad Spice Library

This organization and repo is born from the need of having an easy way to find Spice models. It is not made by KiCad or Spice themself but it is user powered

There are a total of 50.093 models

Modules

In this folder there are all the modules and libraries, I tried to organize them with a minimum of logic but better approaches then mine are really welcome

Supported.txt

This is the list of supported parts in a human readable way, useful if you wish to do a quick search

Scripts

check_supported.py

This script check if a given part is between the supported modules. If yes it says us from which file it cames so we can easily add to our Spice simulation. It also contain a simple but working wrong-spell checks. See the examples at the end of the README

In the future it could be easily turned into a command line interface script or maybe a KiCad plugin

extractModels.pl

This script extracts the models for the requested components from the libraries. You can redirect it to a file like 'localSpice.lib' in your KiCAD project to have a local copy to reference. This avoids several side effects (libraries that are too big, libraries with invalid characters, duplicate models). You can add the models you need to 'spiceModel.lst' so that you can automate the extraction in a script.

Run the script without parameters for help.

generate_supported.py

This script generate the list of supported modules, it should be run only when new files are added to the repo

NOTE: Right now I am extracting the .model and .subckt from *.lib and *.mod files, the .subckt from *.fam files and the models from EESchema-LIBRARY Version 2.x so maybe there are some hidden modules around

downloader.py

This script downloaded all the 1803 files from http://espice.ugr.es/espice/src/modelos_subckt/ and saved them. It is not needed anymore and is here only for reference

Supported.pickle

This file is a python serialized dictionary where every key is a model and the items are path to libraries where that model is defined. It is not made to be read by humans, use Supported.txt instead

License

I do not own any license for the files inside the Modules folder, if you find any of them that breaks a license open an issue or send a message and it would be removed as soon as possible. All library, modules and other are released with their own license. The GPL3 is related only to the files in the Scripts folder

Contribuite

Do a pull request, add a library, module, whatever in the category that suit better in Modules or improve the python scripts

I would like to accept in the organization other KiCad or Spice fans to keep this page going on, if you would like to partecipate open an issue

Resources

Examples

Here there are a few possible usage scenarios with check_supported.py:

  • Searching bc337
Write here the part you are looking for: bc337
bc337 found in /Models/Manufacturer\Infineon Technologies\infineon.lib, /Models/Transistor\BJT\BJTN.LIB, /Models/uncategorized\spice_complete\siemens.lib

Also other 10 similar part has been found:

bc337/sie found in /Models/uncategorized\spice_complete\siemens.lib
bc337ap found in /Models/Manufacturer\Zetex Semiconductors\ZMODELS.LIB, /Models/Transistor\BJT\BJTN.LIB, /Models/uncategorized\spice_complete\zetex.lib, /Models/uncategorized\spice_complete\zmodels.lib
bc337ap_zx found in /Models/uncategorized\spice_complete\zetex.lib
bc337c_in found in /Models/Manufacturer\Infineon Technologies\infineon.lib
bc337s found in /Models/uncategorized\spice_complete\S_AFBJT.LIB
qbc337-16/plp found in /Models/uncategorized\spice_complete\phil_bjt.lib
qbc337-25/plp found in /Models/uncategorized\spice_complete\phil_bjt.lib
qbc337-40/plp found in /Models/uncategorized\spice_complete\phil_bjt.lib
qbc337/plp found in /Models/uncategorized\spice_complete\phil_bjt.lib
qbc337a/plp found in /Models/uncategorized\spice_complete\phil_bjt.lib
  • Searching 2n2222
Write here the part you are looking for: 2n2222
2n2222 found in /Models/uncategorized\IdealDiode.lib

Also other 5 similar part has been found:

2n2222a found in /Models/uncategorized\spice_complete\zetex.lib, /Models/uncategorized\spice_complete\zmodels.lib
2n2222a_zx found in /Models/uncategorized\spice_complete\zetex.lib
2n2222c found in /Models/uncategorized\spice_complete\ad.lib
q2n2222 found in /Models/uncategorized\spice_complete\cadlab.lib
q2n2222a found in /Models/Manufacturer\TRT-Electronics\2n2222a.lib, /Models/Manufacturer\Zetex Semiconductors\ZMODELS.LIB, /Models/uncategorized\spice_complete\cadlab.lib

NOTE: there are different models of these IC produced by different manufacturers, so we can pick the model more similar to our use case

  • If we don't know/remember perfectly the IC we are looking for
Write here the part you are looking for: 2n2
2n2 not found, maybe you meant one of these: 2n2102_on, 2n2222, 2n2222a, 2n2222a_zx, 2n2222c, mtd2n20, mtp12n20, mw32n20e, q2n2219, q2n2219a, q2n2222, q2n2222a, q2n2905, q2n2905a, q2n2907, q2n2907a, tn0102n2, tn0602n2, tp0102n2, tp0602n2
  • Searching less common part like the 2sa1940
Write here the part you are looking for: 2sa1940
2sa1940 not found, maybe you meant one of these: q2sa1940

Would you like to do another search? q2sa1940
q2sa1940 found in /Models/uncategorized\spice_complete\other_models\BJT_PNP\TOSH_PWR.LIB

Just for reference this is the output that I got from generate_supported.py the first time I run this project, now after better filtering the models are much more

5 txt found
375 lib found
290 mod found
699 spi found
71 fam found
356 cir found
9 other kind found

There are 8004 models
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].