Skip to content

Commit acc03b8

Browse files
docs: polish intro, readme, and changelog for v0.1.0
1 parent 3302ba0 commit acc03b8

6 files changed

Lines changed: 75 additions & 11 deletions

File tree

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Changelog
2+
3+
## v0.1.0
4+
5+
- Initial public release of the simulation library.
6+
- Docs site with per-simulation pages and schematic renders.
7+
- Download bundles for PDFs and a full kit (PDF + KiCad + README).

README.md

Lines changed: 17 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,24 @@
1-
# KiCad-Simulation-Example
1+
# KiCad Simulation Examples
22

3-
## Introduction
3+
## Overview
44

5-
This collection of schematic circuits are used as examples by me when teaching my students. They are all ready for easy simulation, with all necessary SPICE-models included. Some circuits are using built-in generic models. There is a PDF of the schematic for each of the circuits, in case you only want the schematic circuit.
5+
This repository contains a curated set of KiCad schematics used to teach and explore circuit
6+
simulation concepts. Each simulation includes a short explanation and is ready to run in
7+
KiCad with included SPICE models where needed.
68

7-
## Simulation
9+
Docs site: https://feastorg.github.io/KiCad-Simulation-Examples/
810

9-
To do a simulation, you access the "Simulate circuit in SPICE" button in the Schematic Editor. Then access "Run/Stop Simulation" button in the "Spice Simulator" window. To show other signals that is set up, you must access the "Add Signals" or "Probe" button. Commands for the simulator are placed just above the title field in the schematic.
11+
Download bundles:
1012

11-
## Engineering
13+
- PDFs only: https://feastorg.github.io/KiCad-Simulation-Examples/assets/downloads/schematics-pdf.zip
14+
- Full kit (PDF + KiCad schematic + README): https://feastorg.github.io/KiCad-Simulation-Examples/assets/downloads/schematics-kit.zip
15+
16+
## How To Run a Simulation
17+
18+
1. Open the `.kicad_sch` file for a simulation in KiCad.
19+
2. Click **Simulate** to open the simulator.
20+
3. Run the configured analysis and add probes/signals to plot results.
21+
22+
## Tools
1223

1324
The schematics are made with [KiCad](https://en.wikipedia.org/wiki/KiCad).

docs/README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
11
# Docs
22

3-
This is where the docs are kept!
3+
This folder contains the source for the GitHub Pages site.
4+
5+
- `index.md` is generated and lists all simulations.
6+
- `introduction-to-simulations.md` provides a short KiCad simulation primer.
7+
- `contributing.md` describes the minimal structure required for a new simulation.

docs/contributing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
layout: default
33
title: Contributing a Simulation
44
parent: KiCad Simulation Examples
5-
nav_order: 3
5+
nav_order: 4
66
---
77

88
Thanks for helping expand the KiCad Simulation Examples library. This site is built directly
Lines changed: 44 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,45 @@
1-
# Introduction to Simulation in KiCad
1+
---
2+
layout: default
3+
title: Introduction to Simulation in KiCad
4+
parent: KiCad Simulation Examples
5+
nav_order: 2
6+
---
27

3-
Placeholder...check back later!
8+
KiCad includes an embedded circuit simulator that uses ngspice as its simulation engine and
9+
exposes simulation through the schematic editor UI. You build a simulation schematic, assign
10+
models to symbols, and run analyses to plot results.
11+
12+
## What KiCad’s Simulator Is
13+
14+
- **A graphical front end to ngspice**: KiCad integrates the open‑source ngspice engine and
15+
provides simulation tools directly in the schematic editor.
16+
- **Schematic‑driven**: You can run simulations from standard KiCad schematics once models
17+
are assigned and simulation directives are configured.
18+
19+
## Core Analysis Types
20+
21+
KiCad’s simulator exposes the standard ngspice analysis modes most commonly used in
22+
teaching and design:
23+
24+
- **Operating Point (OP)**
25+
- **DC Sweep / DC Transfer**
26+
- **AC Sweep**
27+
- **Transient**
28+
29+
Custom analysis directives are also supported for advanced use cases.
30+
31+
## Practical Tips and Common Pitfalls
32+
33+
- **Assign models before running**: KiCad ships SPICE‑oriented symbols, but you still need
34+
to attach appropriate SPICE models for many devices.
35+
- **Use probes or save settings**: If you don’t save all voltages/currents, you must probe
36+
or explicitly save the signals you want to plot.
37+
- **Bring your own third‑party models**: KiCad doesn’t bundle commercial SPICE libraries,
38+
but you can use manufacturer‑supplied models.
39+
40+
## References
41+
42+
- KiCad Simulation (official overview):
43+
- https://www.kicad.org/discover/spice/
44+
- ngspice User’s Manual:
45+
- http://ngspice.sourceforge.net/docs/ngspice-manual.pdf

scripts/generate_sim_pages.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ def render_sim_index(items: list[tuple[str, str, str]]) -> str:
8383
f"title: {SIM_SECTION_TITLE}",
8484
f"parent: {SITE_TITLE}",
8585
"has_children: true",
86-
"nav_order: 2",
86+
"nav_order: 3",
8787
"---",
8888
"",
8989
"<!-- AUTO-GENERATED: DO NOT EDIT BY HAND -->",

0 commit comments

Comments
 (0)